Subject: port-i386/9237: i386 bootblock ignores left-shift key as "attention"
To: None <gnats-bugs@gnats.netbsd.org>
From: Jonathan Stone <jonathan@Cuisinart.DSG.Stanford.EDU>
List: netbsd-bugs
Date: 01/19/2000 01:09:37
>Number:         9237
>Category:       port-i386
>Synopsis:       i386 bootblock ignores left-shift key as "attention"
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 19 01:09:00 2000
>Last-Modified:
>Originator:     Jonathan Stone
>Organization:
	Stanford DSG
>Release:        NetBSD-current as of 2000-01-18
>Environment:
	
System: NetBSD Cuisinart.DSG.Stanford.EDU 1.4P NetBSD 1.4P (CARDBUS) #28: Sun Dec 12 15:54:19 PST 1999 jonathan@Cuisinart.DSG.Stanford.EDU:/cuisinart/src/NetBSD/src/sys/arch/i386/compile/CARDBUS i386


>Description:

Many i386 users and potential users are trained (by LILO) to use the
left-shift key to interrupt autoboot. The NetBSD bootblocks ignore the
shift keys when counting down to autoboot.

Why not be more friendly to recovering Lilo users, and stop the
autoboot when left-shift (or even right-shift) is pressed?
If we can do that, with little pain, I think we should.


>How-To-Repeat:

Use Lilo enough to find yourself pressing left-shift to interrupt
autoboot of /netbsd, out of habit...

>Fix:

Charles Hannum points out that LILO uses the BIOS to detect
left-shift: theres a BIOS call which returns the state of hte shift
keys.  So it should be a very simple change to conio.S, to detect
left-shift as well as the existing keys. (Thats what I recall Charles
saying on port-i386 before Christmas 1999).

I havent hacked BIOS code in decades, so its beyond my ken.
>Audit-Trail:
>Unformatted: