From owner-freebsd-arch@FreeBSD.ORG  Tue Oct  9 16:38:35 2012
Return-Path: <owner-freebsd-arch@FreeBSD.ORG>
Delivered-To: freebsd-arch@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id A7F34FCF;
 Tue,  9 Oct 2012 16:38:35 +0000 (UTC)
 (envelope-from Devin.Teske@fisglobal.com)
Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190])
 by mx1.freebsd.org (Postfix) with ESMTP id 6582A8FC0A;
 Tue,  9 Oct 2012 16:38:35 +0000 (UTC)
Received: from smtp.fisglobal.com ([10.132.206.16])
 by ltcfislmsgpa01.fnfis.com (8.14.4/8.14.4) with ESMTP id q99GcVTx032192
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT);
 Tue, 9 Oct 2012 11:38:31 -0500
Received: from [10.0.0.103] (10.14.152.61) by smtp.fisglobal.com
 (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 9 Oct
 2012 11:38:31 -0500
Subject: Re: New Boot Loader Menu
MIME-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="windows-1252"
From: Devin Teske <devin.teske@fisglobal.com>
In-Reply-To: <4EA5C2FF-ABFA-4BA6-95CA-8E722F91999E@fisglobal.com>
Date: Tue, 9 Oct 2012 09:38:28 -0700
Content-Transfer-Encoding: quoted-printable
Message-ID: <F1B442D0-4260-4AC9-AF39-15A06DAB045A@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>
To: Devin Teske <dteske@freebsd.org>
X-Mailer: Apple Mail (2.1283)
X-Originating-IP: [10.14.152.61]
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.431,
 0.0.0000
 definitions=2012-10-09_05:2012-10-09,2012-10-09,1970-01-01 signatures=0
Cc: olli hauer <ohauer@gmx.de>, freebsd-arch@freebsd.org
X-BeenThere: freebsd-arch@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Devin Teske <dteske@freebsd.org>
List-Id: Discussion related to FreeBSD architecture <freebsd-arch.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-arch>,
 <mailto:freebsd-arch-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arch>
List-Post: <mailto:freebsd-arch@freebsd.org>
List-Help: <mailto:freebsd-arch-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arch>,
 <mailto:freebsd-arch-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Oct 2012 16:38:35 -0000


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.