http://bugs.winehq.org/show_bug.cgi?id=25843
Summary: Wine causes terminal to lose some inputrc settings Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: aeikum@codeweavers.com CC: eric.pouech@orange.fr
A recent commit causes my terminal to lose my inputrc settings after running wine.
commit a392e9a10262e5f9cfbb284d38e6174cb6f4809a Author: Eric Pouech eric.pouech@orange.fr Date: Tue Jan 18 22:02:37 2011 +0100
kernel32: Correctly parse the input strings for advanced keys.
My inputrc looks like: "\e[A": history-search-backward "\e[B": history-search-forward
http://bugs.winehq.org/show_bug.cgi?id=25843
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com 2011-02-08 10:30:18 CST --- Running 'vim' and closing it restores the inputrc settings. No idea if that's relevant to fixing this bug.
http://bugs.winehq.org/show_bug.cgi?id=25843
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |a392e9a10262e5f9cfbb284d38e | |6174cb6f4809a
http://bugs.winehq.org/show_bug.cgi?id=25843
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com 2011-10-07 13:36:49 CDT --- Occurs on Ubuntu 10.04 (Gnome) and Mac OSX 10.5. Does not seem to occur on Arch Linux with XFCE4.
http://bugs.winehq.org/show_bug.cgi?id=25843
--- Comment #3 from Eric Pouech eric.pouech@orange.fr 2011-10-09 03:09:54 CDT --- this caused by wine always entering the keypad mode, and reversing it at exit (back to application mode) this is wrong if the system default is keypad mode on the systems that fail, can you check the /etc/inputrc file, and tell me whether the "set enable-keypad on" command in enabled/present or not
TIA
http://bugs.winehq.org/show_bug.cgi?id=25843
--- Comment #4 from Eric Pouech eric.pouech@orange.fr 2011-10-09 09:17:14 CDT --- another question: did the wine session terminate properly, or had you to kill it ?
http://bugs.winehq.org/show_bug.cgi?id=25843
--- Comment #5 from Andrew Eikum aeikum@codeweavers.com 2011-10-19 14:18:50 CDT --- I don't have the Ubuntu system handy anymore. On the mac, I have only the ~/.inputrc that I listed in the original report, and there is no /etc/inputrc. After a quick Google, I wasn't able to find a way to just list the current inputrc settings, so I don't know if that mac is doing something behind the scenes.
http://bugs.winehq.org/show_bug.cgi?id=25843
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com 2011-10-19 14:20:30 CDT --- (In reply to comment #4)
another question: did the wine session terminate properly, or had you to kill it ?
Forgot to reply to this. It seems to happen even if Wine terminates properly, yes. I open winecfg, hit Cancel, and the settings are busted. Rerunning winecfg doesn't change anything. They are restored after opening & closing vim.
http://bugs.winehq.org/show_bug.cgi?id=25843
Bryan Murawski xerox1101@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox1101@gmail.com
--- Comment #7 from Bryan Murawski xerox1101@gmail.com 2012-06-09 12:23:29 CDT --- I'm experiencing this same issue on Max OSX 10.7.4 with wine 1.5.5 from macports. As the previous poster mentioned, there is no global /etc/inputrc on the Mac and my ~/.inputrc does not set the enable-keypad option. Also, wine is not crashing and I'm using the command 'wine notepad' for testing.
Using the 'read' command to get the escape sequences for the arrow keys I found that before running wine the up/down arrows produce "\e[A", "\e[B", but after running wine they produce "\eOA", "\eOB". So adding these to my ~/.inputrc works around this problem without having to launch vim, but it would be nice if wine did not change these in the first place.
http://bugs.winehq.org/show_bug.cgi?id=25843
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |M8R-f22t2a@mailinator.com
--- Comment #8 from Hans Leidekker hans@meelstraat.net 2013-06-20 06:36:54 CDT --- *** Bug 31210 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=25843
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=25843
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |df718b8ab8f0451d026c33d81c1 | |c3cddbed04925 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Andrew Eikum aeikum@codeweavers.com --- Fixed!
commit df718b8ab8f0451d026c33d81c1c3cddbed04925 Author: Andrew Eikum aeikum@codeweavers.com Date: Tue Nov 17 09:41:43 2015 -0600
kernel32: Always uninitialize the terminal for the console shell process.
https://bugs.winehq.org/show_bug.cgi?id=25843
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.8-rc1.