From: aq <aquynh@gmail.com>
To: Jeremy Katz <katzj@redhat.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] xen-booloader: pygrub improvement & bug fix
Date: Sat, 30 Apr 2005 00:52:00 +0900 [thread overview]
Message-ID: <9cde8bff050429085230d2a4f4@mail.gmail.com> (raw)
In-Reply-To: <1114787869.3574.9.camel@bree.local.net>
On 4/30/05, Jeremy Katz <katzj@redhat.com> wrote:
> On Fri, 2005-04-29 at 12:56 +0900, aq wrote:
> > here is a patch to improve and fix few bugs in pygrub of xen-booloader.
>
> Cool, thanks. Comments below
>
> > List of changes:
> > - temporarily remove usage of use_default_colors(), since python 2.3
> > doesnt support this method.
>
> It would be better to actually check for the method and call it if
> available.. something like
> if hasattr(curses, 'use_default_colors') curses.use_default_colors()
fine. but anyway i am implementing color feature, so perhaps we dont
need those default color.
>
> > - allow user to press 'q' to quit pygrub
>
> I had this at one point and then removed it -- the question is if you
> quit, then what are you wanting to boot? I guess it would be aborting
> the domain boot (which is the result you get), but thinking further down
> the road, what does that mean on a reboot? So I just decided the best
> thing to do was not to allow this.
for me, it is nice to allow pepole to cancel the tool. without this
option, how can you allow people to quit once they dont want to run
anymore? so i think it is fine to keep it that way.
>
> > - deinitialize curses before quitting.
>
> curses should get de-initialized when you leave curses.wrapper -- are
> you not seeing this?
right, thanks for pointing out this.
by the way, pygrub is an ugly name. the fact that this tool is written
in python is what users care least. how about renamming it to a more
make-sense name? like xengrub, or (even better) xenloader?
regards,
aq
prev parent reply other threads:[~2005-04-29 15:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 3:56 [PATCH] xen-booloader: pygrub improvement & bug fix aq
2005-04-29 15:17 ` Jeremy Katz
2005-04-29 15:52 ` aq [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9cde8bff050429085230d2a4f4@mail.gmail.com \
--to=aquynh@gmail.com \
--cc=katzj@redhat.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.