Bug#679850: xterm: arrow keys produce wrong keycodes after running top or wine
Package: xterm
Version: 278-1
Severity: normal
Dear Maintainer,
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.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xterm depends on:
ii libc6 2.13-33
ii libfontconfig1 2.9.0-6
ii libice6 2:1.0.8-2
ii libtinfo5 5.9-9
ii libutempter0 1.1.5-4
ii libx11-6 2:1.5.0-1
ii libxaw7 2:1.0.10-2
ii libxft2 2.3.1-1
ii libxmu6 2:1.1.1-1
ii libxt6 1:1.1.3-1
ii xbitmaps 1.1.1-1
Versions of packages xterm recommends:
ii x11-utils 7.7~1
Versions of packages xterm suggests:
pn xfonts-cyrillic <none>
-- no debconf information
Reply to: