(I think I accidently send a reply some minutes ago, please ignore
it.  I suck in using keybindings when sleepy :))
Daniele Bellucci <[EMAIL PROTECTED]> writes:

> Hi Chaac, and tnx for your review
> 
> On Mon, Sep 29, 2003 at 11:29:20PM +0300, chaac wrote:
> |29.9.2003 23:17:14, Marco Gerards <[EMAIL PROTECTED]> wrote:
> |
> |>Daniele Bellucci <[EMAIL PROTECTED]> writes:
> |>
> |>> Hi All,
> |>> 
> |>> this is a little patch for grub-0.93 to add te following
> |>> cmdline features:
> |>> - C-g: move backward a word 
> |>> - C-l: move forward  a word
> |>
> |>I really like these features, but why don't you use Emacs like key
> |>bindings?  Read "info readline" if you want to know the key binding,
> |>if you don't know this already.
> 
> i'm going to read info readline, but i still haven't found a way
> to read "ALT-<x>" from grub shell

There is a BIOS function that can read the keyboard.  I think you can
use this.

You have to use softint 0x16, sub function 2.  You can check if Alt is
pressed by checking bit 4 of the AL register.

Please look for Ralph Browns interrupt list for more information about
software interrupts.

I didn't look at the GRUB code so I don't know if this is usable.
Perhaps GRUB uses another way to read the keyboard, if it doesn't work
just ask me and I will have a look at the code. :)

Thanks,
Marco



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to