[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Xterm and function keys



>Hi!
>
>I discovered a strange thing:
>In an xterm the function keys produce the following:
> F1 -> ^[OP
> F2 -> ^[OQ
> F3 -> ^[OR
> F4 -> ^[OS
> F5 -> ^[[15~
> F6 -> ^[[16~
>...
>
>On a different system (I tried SuSE) they produce:
> F1 -> ^[[11~
> F2 -> ^[[12~
> F3 -> ^[[13~
> F4 -> ^[[14~
> F5 -> ^[[15~
> F6 -> ^[[16~
>...
>which seems more correct.  I also get this behaviour
>on my Debian
>(potato)
>box when I use rxvt or konsole.
>
>I don't think I misconfigured anything, because I
>confirmed this
>behavior
>with a fresh added user, too.  Do you have any idea
>where the problem
>is?

You also get different return key codes for the
function keys between a vconsole and an Xterm.  Also
look at the <ctl>, <alt>, and <ctl><alt> shifted
function keys, they are ALSO different between a
vconsole and an Xterm.

=====
Amateur Radio, when all else fails!

http://www.qsl.net/wa2mze

Debian Gnu Linux, Live Free or .....


__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com


Reply to: