From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: Support for different hotkey action than execute
Date: Sun, 04 Mar 2012 22:26:17 +0100 [thread overview]
Message-ID: <4F53DDF9.2060103@gmail.com> (raw)
In-Reply-To: <4F53DB0B.1070500@googlemail.com>
On 04.03.2012 22:13, Andreas Born wrote:
> Any problem with this patch? Or why is there no comment? I know, it's
> really long. ;)
>
> In fact, if possible, I'd be very happy if we can still get this into
> 2.00.
>
It can't it arrived too late in release cycle.
> Am 27.02.2012 00:08, schrieb Andreas Born:
>> Attached patch introduces a new environment variable hotkey_action.
>> It can be set to select or execute, whereas the latter is the
>> default. So the default behaviour doesn't change. With select set
>> instead a menu entry is just selected and not executed/booted on
>> hotkey press.
>>
>> This is for example useful for long menus to directly jump to some
>> initial and afterwards select the desired entry without going through
>> the whole menu. One still has to explicitly mark the menu entry to
>> jump to with the hotkey attribute. This patch only allows to change
>> the action to take on hotkey press.
>>
>> Not much code and most is inspired from grub_menu_get_timeout.
>> Applies and works with r3991.
>>
>> Add support to the menu for changing the action on hotkey press:
>> execute (default), select
>>
>> * grub-core/normal/menu.c (DEFAULT_HOTKEY_ACTION): New define.
>> (run_menu): Handle hotkey_action.
>> (grub_menu_get_hotkey_action): New function.
>> * include/grub/menu.h (grub_menu_get_hotkey_action): New prototype.
>> (grub_hotkey_action_type_t): New enum.
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
next prev parent reply other threads:[~2012-03-04 21:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-26 23:08 Support for different hotkey action than execute Andreas Born
2012-03-04 21:13 ` Andreas Born
2012-03-04 21:26 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-03-05 1:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
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=4F53DDF9.2060103@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.