[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?

Thanks a lot,
 Andy.

-- 
 E-Mail: Andy@spiegl.de     URL: http://andy.spiegl.de
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 "Some people say that cats are sneaky, evil, and cruel.   True, and they
  have many other fine qualities as well."  --Missy Dizick


Reply to: