From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ip4JS-0000zr-D3 for mharc-grub-devel@gnu.org; Mon, 05 Nov 2007 10:56:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ip4JP-0000yn-Jh for grub-devel@gnu.org; Mon, 05 Nov 2007 10:56:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ip4JN-0000xZ-9i for grub-devel@gnu.org; Mon, 05 Nov 2007 10:56:26 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip4JN-0000xT-5p for grub-devel@gnu.org; Mon, 05 Nov 2007 10:56:25 -0500 Received: from pne-smtpout4-sn2.hy.skanova.net ([81.228.8.154]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ip4JM-0001wg-OM for grub-devel@gnu.org; Mon, 05 Nov 2007 10:56:24 -0500 Received: from [127.0.0.1] (88.193.32.97) by pne-smtpout4-sn2.hy.skanova.net (7.3.129) id 471A7B0C000D6DA6 for grub-devel@gnu.org; Mon, 5 Nov 2007 16:56:06 +0100 Message-ID: <472F3D31.3010204@nic.fi> Date: Mon, 05 Nov 2007 17:56:33 +0200 From: =?ISO-8859-15?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: The development of GRUB 2 References: In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Outline menu X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 15:56:28 -0000 Markus Elfring wrote: > I suggest to add the capability to present the menu as an outline. > http://en.wikipedia.org/wiki/Outline#Sample_alphanumeric_outline > > Example boot menu: > A) Windows: > - XP > - Vista > > B) Linux: > - Knoppix > - Debian > * Etch > - Red Hat > * Fedora > - openSUSE > * 10.2 release > * 10.3 debug > - Ubuntu > * Gutsy Gibbon > - Xen > - Real-time > > How do you think about such a hierarchical view for the selection of a great > variety of bootable systems? I don't think it is a big issue, there just needs to be indentation settings for different levels and some logic to handle it. In "GRUB CSS" this could be something like: menuitem { left: 0px; } menuitem indent1 { left: 10px; } meunitem indent2 { left: 20px; } And then add something like: set menumode=outline set menumode=hierarchical (or normal, default) So end result would be something like this: Windows (menuitem indent0 odd) -- XP (menuitem indent1 even) Linux (menuitem indent0 odd) -- openSUSE (menuitem indent1 even) ---- 10.2 release (menuitem indent2 odd)