From: phcoder <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] add clear screen command
Date: Thu, 09 Apr 2009 00:45:12 +0200 [thread overview]
Message-ID: <49DD28F8.6020507@gmail.com> (raw)
In-Reply-To: <49DD268A.6030108@linux.vnet.ibm.com>
Carlos Roberto do Nascimento Costa wrote:
>> + (void)mod; /* To stop warning. */
>> + cmd = grub_register_command ("clear", grub_cmd_clear,
>> + 0, "Clear the terminal screen.");
>>
>> I think there shouldn't be a `0' but `GRUB_COMMAND_FLAG_CMDLINE'.
>
> Yes, you are right. grub_register_command isn't the correct function to register
> a command and grub_register_extcmd is the new way. However, there are still
> modules need to be fixed, right?! I'll write another e-mail about it soon.
>
Your declaration is correct
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
--
Regards
Vladimir 'phcoder' Serbinenko
prev parent reply other threads:[~2009-04-08 22:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 19:04 [PATCH] add clear screen command Carlos Roberto do Nascimento Costa
2009-04-08 19:21 ` Felix Zielcke
2009-04-08 19:32 ` phcoder
2009-04-08 22:51 ` Carlos Roberto do Nascimento Costa
2009-04-09 13:44 ` phcoder
2009-04-09 22:16 ` Manoel Rebelo Abranches
2009-04-08 22:34 ` Carlos Roberto do Nascimento Costa
2009-04-08 22:45 ` phcoder [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=49DD28F8.6020507@gmail.com \
--to=phcoder@gmail.com \
--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.