[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] pygrub improvements

  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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:

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


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.