Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 09:38:28 -0700
From:      Devin Teske <devin.teske@fisglobal.com>
To:        Devin Teske <dteske@freebsd.org>
Cc:        olli hauer <ohauer@gmx.de>, freebsd-arch@freebsd.org
Subject:   Re: New Boot Loader Menu
Message-ID:  <F1B442D0-4260-4AC9-AF39-15A06DAB045A@fisglobal.com>
In-Reply-To: <4EA5C2FF-ABFA-4BA6-95CA-8E722F91999E@fisglobal.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> <4EA5C2FF-ABFA-4BA6-95CA-8E722F91999E@fisglobal.com>

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

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

>=20
> On Oct 9, 2012, at 8:51 AM, Warner Losh wrote:
>=20
>>=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-scre=
en is not only to-be-avoided for the opposing situation (that some keyboard=
s may not have a "Delete" but instead "Backspace") but indeed "Delete" is w=
orse because the implied connotation associated with the "Delete" key (_som=
eone_ might be confused into thinking "Delete" will purge the menu from mem=
ory).
>>>>>=20
>>>>> I will play with keycodes.
>>>>>=20
>>>>> Just be aware that currently left arrow CANNOT work. That is a bad su=
ggestion (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-arro=
w", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", and "F10" (note: =
it 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 i=
nstead 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/a=
ppel/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 fo=
rward or select, so this is a poor match to what other systems do and there=
fore to what one might expect joe-random-person to expect.
>>=20
>=20
> Ok, space is out.
>=20
> *thinks*
>=20
> Ok, "b for back" is out because "b" on the main menu is boot (even if not=
 highlighted -- see menu.rc keycode[1] and corresponding ascii(7), decimal =
'b' is 98).
>=20
> Ok, space, any F# keys, any arrow keys, and backspace are also out.
>=20
> Hmmm=85
>=20
> I'm looking at my keyboard and nothing really sticks out.
>=20
> 'M' perhaps for "Back to [M]ain Menu"
>=20

There is of course the obvious alternative=85 we have no keycode and the us=
er just has to press "1" (that's always been an option).
--=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?F1B442D0-4260-4AC9-AF39-15A06DAB045A>