On 2012-07-02 12:59 +0200, Thomas Dickey wrote: > On Mon, Jul 02, 2012 at 12:08:05PM +0200, Hilko Bengen wrote: >> 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): > > shrug: reassign it to both.
For top, it has already been reported in http://bugs.debian.org/666694. In the wine source, dlls/kernel32/term.c has the relevant code: TERM_Init() sets up application mode, and TERM_Exit() is supposed to return to cursor key mode. Apparently the latter does not work for the submitter. Cheers, Sven -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org