[pkg-wine-party] Bug#679850: xterm: arrow keys produce wrong keycodes after running top or wine

Hilko Bengen bengen at debian.org
Mon Jul 2 10:08:05 UTC 2012

reassign 679850 xterm
thank you

>> Normally arrow keys generate the following codes: ^[[A, ^[[B, ^[[C, ^[[D (Up,
>> Down, Right, Left respectively). After running top(1) or any wine program in
>> XTerm these codes change to ^[OA, ^[OB, ^[OC, ^[OD. The only way I know to turn
>> them back is to reset the terminal. Bug is reproducible in any terminal
>> emulator and TTY if $TERM is set to "xterm" or "xterm-256color", so I'm not
>> sure if it's related to xterm itself.
> given that information, you're describing a bug in wine,
> and this should be reassigned accordingly.

The submitter also mentioned top. I have just reproduced the behavior
with xterm 276-2 (but not with urxvt, running top (and not wine):

$ cat

$ top
$ cat

I don't even claim to know how terminal interaction works, but it is
clear that wine is not at fault here, so I am giving the bug to xterm.


More information about the pkg-wine-party mailing list