http://bugs.winehq.org/show_bug.cgi?id=34153
Bug #: 34153 Summary: wine does not restore mode of direction keys properly Product: Wine Version: 1.6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: unsuspicious.fakename+wine@gmail.com Classification: Unclassified
Wine seems to change the up key from ^[[A to ^[OA but not always back (reliably reproducible on unclean exits / crashes and such, but randomly happens after clean exits too).
1) open terminal (tested in bash / zsh; with xfce4-terminal and lxterminal) 2) ctrl+v [up key] should give you: ^[[A 3) winecfg 4) ctrl+c in terminal to end winecfg 5) ctrl+v [up key] now gives you: ^[OA
This can - depending on shell configuration - temporarily break features like p.e. bash history search bound to up/down ^[[A (but not explicitly ^[OA) and leave end-users clueless due to the subtle / weird nature of the unexpected behaviour.
That being said: Not sure if (wine) bug or (for some reason I can't grasp) normal / intended behaviour. All I know is it took me quite a while and also help to figure out what's happening and how to work around it.