Help with setting Function key values in console

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: plug-discuss@lists.plug.phoenix.az.us
Date:  
Subject: Help with setting Function key values in console
On Thu, Apr 18, 2002 at 05:38:38PM -0700, Matt Alexander wrote:
>
> OK... If I use loadkeys on the command line, then it works to do this:
>
> # loadkeys
> keycode 63 = F55
> string F55 = "\033[6~"
>
> However, when I put these same lines in my us.kmap file, it doesn't work.
> It generates 6~ as the output. Any suggestions on how to get the escape
> sequence to work properly from within the keymap file?
> Thanks again,
> ~M


Well, according to the default keymaps in the
/usr/src/linux/drivers/char/defkeymap.map file, you're doing it right. It
should be interpreting that \033 as an escape char. Anybody have any ideas
as to why the above happens?

--
Thomas "Mondoshawan" Tate

http://tank.webhop.org