From owner-freebsd-arch@FreeBSD.ORG Tue Oct 9 16:07:28 2012 Return-Path: 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 D1316277; Tue, 9 Oct 2012 16:07:28 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7B88FC18; Tue, 9 Oct 2012 16:07:28 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q99G7R3A096682; Tue, 9 Oct 2012 10:07:27 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q99G7PUg080561; Tue, 9 Oct 2012 10:07:25 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: New Boot Loader Menu From: Ian Lepore To: Warner Losh In-Reply-To: References: <0655B56F-AD43-402B-872C-568378E650F9@fisglobal.com> <5071D6B5.1010609@FreeBSD.org> <50726C73.10506@FreeBSD.org> <50732CB1.9080900@gmx.de> <71571815-CBF3-4B16-BA77-2828B8BA613C@fisglobal.com> <515694A9-3D0F-4150-8865-F518072C5EC6@fisglobal.com> Content-Type: text/plain; charset="windows-1251" Date: Tue, 09 Oct 2012 10:07:25 -0600 Message-ID: <1349798845.1123.10.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Garrett Cooper , Devin Teske , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2012 16:07:29 -0000 On Tue, 2012-10-09 at 09:53 -0600, Warner Losh wrote: > On Oct 9, 2012, at 9:25 AM, Devin Teske wrote: > > > …Re-adding the list… (good point) > > > > On Oct 9, 2012, at 8:15 AM, Garrett Cooper wrote: > > > >> On Tue, Oct 9, 2012 at 8: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). > >> > >> It was used once upon a time to pause the bootloader countdown… > > > > Well… that hasn't *really* been true since r222417 (16+ months ago). > > > > Ever since r222417, *any/all* keys will kill the countdown-to-boot. > > > > Since you mention it, I think it's worth mentioning that SPACE is still looking like a good choice… > > > > At the main-menu, space is not hooked into anything so it retains its legacy of "press SPACE to stop the countdown" meanwhile, submenus are free to use SPACE because by the time they've reached *any* submenu, the countdown has already been killed. > > This will be too confusing for users. Space usually means 'select the current menu item' along with Return. It doesn't mean in any system I've ever used 'go back' (with the exception of space selecting a drawn button that says back). I agree, using space for "go back" would be a POLA violation. How about Escape, that often means go-back in a UI (common in BIOS config screens), and I didn't see it on the list of forbidden keys. (Not that I'm emotionally invested in this stuff at all. The only boot-menu feature that I would fight hard for is the one that I've used for years: beastie_disable=YES.) -- Ian