All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] User definable terminfo support
Date: Sat, 31 Dec 2005 18:02:15 +0100	[thread overview]
Message-ID: <87y8219p48.fsf@xs4all.nl> (raw)
In-Reply-To: <43B1DD7E.5090905@omniflux.com> (omniflux+lists@omniflux.com's message of "Tue, 27 Dec 2005 17:34:06 -0700")

Omniflux <omniflux+lists@omniflux.com> writes:

Hi,

Thanks a lot for your patch!

> terminfo-definition-support.diff
>   * term/terminfo.c: Replaced static vt100 definition with user
> definable definition support.
>   * include/grub/terminfo.h (grub_terminfo_get_current): Removed.
>   (grub_terminfo_set_current): Likewise

Is it possible to do this in a GRUB env. variable, like:

set TERM=vt100

And perhaps one variable or function to set the possible terminal
descriptions.  I think that would be easier for the user to do it this
way.

> As with the previous serial patch, some code here is based on the
> terminfo support from GRUB Legacy. Any mistakes, however, are mine. :)
>
> I would appreciate comments and suggestions, especially for the short
> parameter selection for the reverse video and cursor options.
>
> I tried not using a short parameter, but state[x].set does not get set
> in that case, or I tried incorrectly.

Sure, I'll look at this code after the weekend.  The feedback I will
give will be more useful than the feedback above...  Can you provide a
ChangeLog entry so the patch can be reviewed and applied?  See the GNU
Coding Standards (GCS) for information about how to write a changelog
entry.  If you have questions about this, feel free to contact me.

> Also can someone point me to instructions for creating a menu so that
> I may test other then the command line?

At the moment I am working on the menu code, so the syntax will be
changed really soon.  But at the moment you can do something like:

title foo
linux /vmlinux ...

title bar
...

Thanks,
Marco




  reply	other threads:[~2005-12-31 17:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-28  0:34 [PATCH] User definable terminfo support Omniflux
2005-12-31 17:02 ` Marco Gerards [this message]
2006-01-02 19:53   ` Omniflux
2006-01-02 20:37     ` Marco Gerards
2006-01-02 21:33       ` Omniflux
2006-01-02 21:43         ` Marco Gerards
2006-01-02 19:44 ` Marco Gerards
2006-01-02 20:21   ` Omniflux
2006-01-02 20:43     ` Marco Gerards

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=87y8219p48.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --cc=grub-devel@gnu.org \
    /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.