1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Accept 'Q' or 'ESC' in intro screen as a "Jane, stop this crazy thing!"

request.
This commit is contained in:
Jordan K. Hubbard 1996-10-09 18:31:20 +00:00
parent cf232f113f
commit b4a346809a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18838

View File

@ -46,7 +46,7 @@
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
** **
** $Id: userconfig.c,v 1.55 1996/10/06 15:27:36 davidg Exp $ ** $Id: userconfig.c,v 1.56 1996/10/06 16:30:15 bde Exp $
**/ **/
/** /**
@ -2212,7 +2212,7 @@ visuserconfig(void)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: userconfig.c,v 1.55 1996/10/06 15:27:36 davidg Exp $ * $Id: userconfig.c,v 1.56 1996/10/06 16:30:15 bde Exp $
*/ */
#include "scbus.h" #include "scbus.h"
@ -2591,7 +2591,11 @@ introfunc(CmdParm *parms)
putxy(2, y++, "proceed with the booting process."); putxy(2, y++, "proceed with the booting process.");
++y; ++y;
center(y, "!iPress a key to continue!n"); center(y, "!iPress a key to continue!n");
cngetc(); y = cngetc();
/* detect special "I want outta here!" characters */
if (y == '\033' || y == 'Q')
return 1;
else
return 0; return 0;
} }
#endif #endif