WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] pygrub improvements

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] pygrub improvements
From: aq <aquynh@xxxxxxxxx>
Date: Mon, 23 May 2005 10:25:38 +0900
Delivery-date: Mon, 23 May 2005 01:25:01 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IALcCvq6QS9/uODMeVRiLrpBwvrk3S810Tjor4CKKWRpr6xkhQa0b4vfrBvmlzH/P48vE0TL/sQtfsnzcUIbXos6vAOsTiTvIHpCha2zs8FocTlSwBdzIyihQNdq7yy22R1PbjpDBU7+St7SvPdqrAzBHOOHDJD6Dg27JUQz1II=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
here is a patch for pygrub (tools/pygrub/src/pygrub), which provides:

- generalize grub menu display (by using constants for menu position and size)
- support basic grub menu color
- correctly handle choosing menu item, even if menu size is less then
number of grub menu items
- allow user to quit pygrub by pressing 'q'
- few cleanups

Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>

for those interested, here is a screenshot of the patched pygrub:
http://133.27.240.160/xen/pygrub2.png

$ diffstat pygrub3.patch 
 pygrub |  166 ++++++++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 93 insertions(+), 73 deletions(-)

-- 
regards,
aq

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>