Help with setting Function key values in console

plug-discuss@lists.plug.phoenix.az.us plug-discuss@lists.plug.phoenix.az.us
Thu, 18 Apr 2002 18:07:45 -0700


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
mondoshawan@tank.dyndns.org
http://tank.webhop.org