From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QRzEM-0007aS-KC for mharc-grub-devel@gnu.org; Thu, 02 Jun 2011 00:09:58 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRzEI-0007Zg-Ii for grub-devel@gnu.org; Thu, 02 Jun 2011 00:09:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRzEG-0005aY-3c for grub-devel@gnu.org; Thu, 02 Jun 2011 00:09:54 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:53151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRzEF-0005aJ-G1 for grub-devel@gnu.org; Thu, 02 Jun 2011 00:09:51 -0400 Received: by vxk20 with SMTP id 20so464170vxk.0 for ; Wed, 01 Jun 2011 21:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type; bh=b+TnvsBHIQECJmyUHyQvxMV3Jdn4JOShv9ARGZaRQR8=; b=wLxVyOBk65TmQGLxYPbpie5mzOwGJJMFBdL4gRZEEwDT1eK3QU3KTibm5BvJjURyO3 nHlVfEmjsauOuiaDZtdoBcB7WumoTC1FF9DtNcjjS54EbhxJF2ivnoqzSkkuZ1e31iZN SuBb+gjKRShOCgABWKszp3OcoSAne5I0oe8OQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=Pb6ySgTqTs8FfizW22E1Q5rlswnDOwgPNscBDdEl8zRE5SUY9X92inMZF/OSeShjhU hiA32k4fDKsQEqterJ+RTwDrVydLt+mh1/tCvVxblKfAdUsRXj358dTRv8K14Ei+cP+O YLX4LaByxCMM/Akd/azYzALbtAQqxtYS0kCDo= Received: by 10.52.76.131 with SMTP id k3mr371203vdw.80.1306987790227; Wed, 01 Jun 2011 21:09:50 -0700 (PDT) Received: from debian.x201.phnet (c-68-50-4-42.hsd1.dc.comcast.net [68.50.4.42]) by mx.google.com with ESMTPS id bh17sm84389vdc.3.2011.06.01.21.09.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 21:09:49 -0700 (PDT) Message-ID: <4DE70D0B.7040002@gmail.com> Date: Thu, 02 Jun 2011 00:09:47 -0400 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110402 Iceowl/1.0b2 Icedove/3.1.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Horizontal boot menu References: <4DA2006E.1060209@e7p.de> <4DE58028.6030406@gmail.com> <4DE665B7.7050007@e7p.de> In-Reply-To: <4DE665B7.7050007@e7p.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDA044C722A46BEA87AE071C9" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2011 04:09:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDA044C722A46BEA87AE071C9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01.06.2011 12:15, Endres Puschner wrote: > On 01.06.2011 01:56, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >> On 10.04.2011 15:09, Endres Puschner wrote: >>> Hi, grub-developers, >>> >>> I implemented a complete horizontal extension to the boot menu and >>> some other little features and fixes for extending the gfxmenu boot >>> menu. >>> >> Haven't looked through whole of it but it has 2 serious problems: > > Yes, both problems exist, because I coded it mainly for myself. > > Even I was not very happy with this part, but I didn't know how to > make it better. Maybe it should be reconsidered after the decision of > the vi-like-keys topic is made, as there was only the predefined user > interaction in the past, for example, up- and down-keys were a very > default method for navigating in every interface. vi-like proposal is likely to be rejected. It's just that I didn't have time to think about it > > I think it would be pointless to fix these bugs now while some other > things may change meanwhile. > >> 1) Environment variable is used where it's not to be used by scripts. = In >> such cases a C variable is more appropriate. >> 2) It doesn't handle the multiterminal case correctly. Even if the men= u >> on local console is vertical, the menu on e.g. serial will remain >> vertical and with your code the remote operator will have very confusi= ng >> key settings. It would be nicer if one could have the same key binding= s >> for both vertical and horizontal menu. The operation of left/right key= s >> can be an alias to up/down. In case it's justifiably impractical you >> would need a new terminal flag which marks a local console. It should = be >> set on *_keyboard and console (all platform variants). This could then= >> also be used for some things Colin proposed some time ago. >>> I would just describe my added theme parameters for the boot_menu >>> control: >>> >>> - item_width: Optionally specifying a width for each item in >>> horizontal lists, but could also be implemented to work with vertical= >>> lists. >>> - item_icon_padding: Padding between icon and box or between icon >>> and other item if there is no item_box. >>> - horizontal: boolean, defining this boot_list as horizontal. >>> - item_pixmap_style: like selected_item_pixmap_style but for non >>> selected entries. >>> - item_pixmap_icon_only: boolean, selected and unselected pixmaps >>> are only shown around the icons and not around the whole item. >>> >>> The scrollbars must be manually turned around to be in horizontal >>> mode, I have uploaded a demo theme as an example: >>> >>> http://data.e7p.de/grub-horizontal-theme.png >>> http://data.e7p.de/grub-horizontal-theme.zip >>> >>> I fixed a bug in the icon-section. The first group in any menuentry >>> was skipped while looking for icons before, so only icons for the >>> second class would be searched. >>> >>> The normal menu is also modified as I wanted to allow to use >>> right/left keys while navigating through the menu while it is >>> horizontal. At menu_init, a new environment variable (orientation) ca= n >>> be set by the used menu module to horizontal for obvious reasons. >>> >>> Best regards, >>> Endres >>> >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigDA044C722A46BEA87AE071C9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk3nDQsACgkQNak7dOguQglYBwD+IA70KMArDwErcNwaKBjfNgX2 r848Fyc19Bq3dYn3N7MA/0egs153X32yOmM1mJ6AdPQMT5huCS5NgtIvEKc4uvuB =0IEc -----END PGP SIGNATURE----- --------------enigDA044C722A46BEA87AE071C9--