New Boot Loader Menu

Warner Losh imp at bsdimp.com
Tue Oct 9 15:51:34 UTC 2012


On Oct 9, 2012, at 9:05 AM, Devin Teske wrote:

> …Re-adding the list…
> 
> On Oct 8, 2012, at 12:42 PM, olli hauer wrote:
> 
>> ...
>> 
>>> You'll also get zero argument out of me that putting "Delete" on-screen is not only to-be-avoided for the opposing situation (that some keyboards may not have a "Delete" but instead "Backspace") but indeed "Delete" is worse because the implied connotation associated with the "Delete" key (_someone_ might be confused into thinking "Delete" will purge the menu from memory).
>>> 
>>> I will play with keycodes.
>>> 
>>> Just be aware that currently left arrow CANNOT work. That is a bad suggestion (read why below).
>>> 
>>> In Forth, I'm using the "key" primitive which -- rather unfortunately -- produces a zero for "left-arrow", "right-arrow", "up-arrow", "down-arrow", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", and "F10" (note: it doesn't catch "F11", "F12", "F13", "F14", "F15", or "F16").
>>> 
>>> So all those key options are right-out when it comes to "using them instead of Backspace" (I simply can't identify in the loader when those keys are pressed).
>>> 
>> 
>> ...
>> 
>> will the space key work for a general back to or up one entry?
>> I suspect the space bar has the same keycode on all platforms (intel/appel/ppc/sparc ...)
>> 
>> Anyway nice work :)
>> 
> 
> By golly, I think olli is on to something here!
> 
> What does everybody think about space?
> 
> I like it because it's a NICE BIG TARGET (and it's not used by anything else).

space usually doesn't mean backup to most users.  It usually means go forward or select, so this is a poor match to what other systems do and therefore to what one might expect joe-random-person to expect.

Warner



More information about the freebsd-arch mailing list