http://bugs.winehq.org/show_bug.cgi?id=31210
Bug #: 31210 Summary: Any Wine application run from Linux shell in GnomeTerminal -- corrupts keyboard escape sequence mapping Product: Wine Version: 1.4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: M8R-f22t2a@mailinator.com Classification: Unclassified
Under Wine-1.4, running any application from the command line in GnomeTerminal changes the escape sequences generated by the unshifted cursor movement keys; these are NOT restored correctly when application terminates. For example, default sequence from Cursor-Up is \e[A (where \e represents ESC). Wine changes it to \eOA, and leaves it there; a terminal reset is required to correct. Similarly, Cursor-Down changes from \e[B to \eOB.
This is on LinuxMint-10, after upgrade from Wine-1.2 to Wine-1.4, via synaptic, from your ubuntu-wine maverick PPA. The problem was not previously apparent in Wine-1.2, (which originated from, and appears to remain the current offering from, the LinuxMint-10 repository).