Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 09:30:12 -0700
From:      Devin Teske <devin.teske@fisglobal.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        olli hauer <ohauer@gmx.de>, Devin Teske <dteske@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: New Boot Loader Menu
Message-ID:  <4EA5C2FF-ABFA-4BA6-95CA-8E722F91999E@fisglobal.com>
In-Reply-To: <564537F0-8BB5-4036-8A81-0A3D0B179489@bsdimp.com>
References:  <0655B56F-AD43-402B-872C-568378E650F9@fisglobal.com> <5071D6B5.1010609@FreeBSD.org> <B4A82131-4B11-4FE8-839B-FCC45C1D4445@fisglobal.com> <50726C73.10506@FreeBSD.org> <D776ABE7-6C46-4C66-8C6E-159BCD61761F@fisglobal.com> <50732CB1.9080900@gmx.de> <71571815-CBF3-4B16-BA77-2828B8BA613C@fisglobal.com> <564537F0-8BB5-4036-8A81-0A3D0B179489@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Oct 9, 2012, at 8:51 AM, Warner Losh wrote:

>=20
> On Oct 9, 2012, at 9:05 AM, Devin Teske wrote:
>=20
>> =85Re-adding the list=85
>>=20
>> On Oct 8, 2012, at 12:42 PM, olli hauer wrote:
>>=20
>>> ...
>>>=20
>>>> You'll also get zero argument out of me that putting "Delete" on-scree=
n 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 wo=
rse because the implied connotation associated with the "Delete" key (_some=
one_ might be confused into thinking "Delete" will purge the menu from memo=
ry).
>>>>=20
>>>> I will play with keycodes.
>>>>=20
>>>> Just be aware that currently left arrow CANNOT work. That is a bad sug=
gestion (read why below).
>>>>=20
>>>> 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: i=
t doesn't catch "F11", "F12", "F13", "F14", "F15", or "F16").
>>>>=20
>>>> So all those key options are right-out when it comes to "using them in=
stead of Backspace" (I simply can't identify in the loader when those keys =
are pressed).
>>>>=20
>>>=20
>>> ...
>>>=20
>>> 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/ap=
pel/ppc/sparc ...)
>>>=20
>>> Anyway nice work :)
>>>=20
>>=20
>> By golly, I think olli is on to something here!
>>=20
>> What does everybody think about space?
>>=20
>> I like it because it's a NICE BIG TARGET (and it's not used by anything =
else).
>=20
> space usually doesn't mean backup to most users.  It usually means go for=
ward or select, so this is a poor match to what other systems do and theref=
ore to what one might expect joe-random-person to expect.
>=20

Ok, space is out.

*thinks*

Ok, "b for back" is out because "b" on the main menu is boot (even if not h=
ighlighted -- see menu.rc keycode[1] and corresponding ascii(7), decimal 'b=
' is 98).

Ok, space, any F# keys, any arrow keys, and backspace are also out.

Hmmm=85

I'm looking at my keyboard and nothing really sticks out.

'M' perhaps for "Back to [M]ain Menu"

--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA5C2FF-ABFA-4BA6-95CA-8E722F91999E>