All of lore.kernel.org
 help / color / mirror / Atom feed
* Key remapping changed between 1.98 and trunk ?
@ 2010-11-12 17:26 Metatech
  0 siblings, 0 replies; 4+ messages in thread
From: Metatech @ 2010-11-12 17:26 UTC (permalink / raw)
  To: grub-devel

Hello,

I use grub-efi on x86_64 to boot Ubuntu on my MacBook Pro.
Because the Ctrl-X key combination does not work in EFI, I use the tip
to define a mapping to the F1 key.
With grub 1.98, this works fine, but with grub trunk, this does not work.

I looked in the source code of grub 1.98, but I do not find where this
feature is implemented, ie where the grub environment variable is
retrieved to map the keyboard keys.  I also did not find the usage of
the command.
I found a new grub-mklayout but it does not seem to be a replacement
for this feature.

In my grub.cfg :
set F1=ctrl-x
set F2=ctrl-a
set F3=ctrl-e

Has it changed in trunk since 1.98 ? If yes, what is the new syntax ?

Thanks,

metatech


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Key remapping changed between 1.98 and trunk ?
@ 2010-11-19 21:13 Metatech
  2010-11-19 21:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-11-19 21:48 ` Metatech
  0 siblings, 2 replies; 4+ messages in thread
From: Metatech @ 2010-11-19 21:13 UTC (permalink / raw)
  To: grub-devel

On Fri, 12 Nov 2010 18:26:15, metatech wrote :

> set F1=ctrl-x
> With grub 1.98, this works fine, but with grub trunk, this does not work.

I narrowed down the revision where the problem was introduced :
revision 2784 works fine, but revision 2794 does not work (revisions
in between have compilation errors).
I computed the diff between both revisions but it's so big that I
could not figure out why it changed.

Hope this helps.

metatech


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Key remapping changed between 1.98 and trunk ?
  2010-11-19 21:13 Key remapping changed between 1.98 and trunk ? Metatech
@ 2010-11-19 21:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-11-19 21:48 ` Metatech
  1 sibling, 0 replies; 4+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-11-19 21:25 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 808 bytes --]

On 11/19/2010 10:13 PM, Metatech wrote:
> On Fri, 12 Nov 2010 18:26:15, metatech wrote :
>
>   
>> set F1=ctrl-x
>> With grub 1.98, this works fine, but with grub trunk, this does not work.
>>     
> I narrowed down the revision where the problem was introduced :
> revision 2784 works fine, but revision 2794 does not work (revisions
> in between have compilation errors).
> I computed the diff between both revisions but it's so big that I
> could not figure out why it changed.
>   
Just read the bottom of the screen in question
> Hope this helps.
>
> metatech
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Key remapping changed between 1.98 and trunk ?
  2010-11-19 21:13 Key remapping changed between 1.98 and trunk ? Metatech
  2010-11-19 21:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-11-19 21:48 ` Metatech
  1 sibling, 0 replies; 4+ messages in thread
From: Metatech @ 2010-11-19 21:48 UTC (permalink / raw)
  To: grub-devel

On 19 November 2010 22:13, Metatech <metatechbe@gmail.com> wrote:
> On Fri, 12 Nov 2010 18:26:15, metatech wrote :
>
>> set F1=ctrl-x
>> With grub 1.98, this works fine, but with grub trunk, this does not work.
>

Hello,

I noticed afterwards that grub 1.99(beta) conveniently already defines
some alternate keys :
F2 for Ctrl-C
F10 for Ctrl-X
It is even documented on the screen !  It was so visible that I did
not see it :-(
I'm glad that what I needed is actually already available...

Regards,

metatech


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-19 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19 21:13 Key remapping changed between 1.98 and trunk ? Metatech
2010-11-19 21:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-11-19 21:48 ` Metatech
  -- strict thread matches above, loose matches on Subject: below --
2010-11-12 17:26 Metatech

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.