somian / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

gdb from MSYS doesn't work properly with mintty #380

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run MSYS using mintty shell.
2. Run gdb and try to use readline shortcuts, e.g. navigate the history with 
arrow keys or Ctrl+R search.

What is the expected output? What do you see instead?
Arrow keys don't change the prompt to commands from history but move the cursor 
around the screen. Gdb interprets the input wrongly and it "hangs": pressing 
enter will not cancel the input and will repeatedly give error: Undefined 
command: "".
Ctrl+R moves cursor to next line, but is otherwise ignored - entering text will 
be interpreted as command.
Other readline shortcuts like Ctrl+W or Ctrl+K don't work either.

What versions of mintty, Cygwin/MSYS, and Windows are you using?
mintty 1.1.2 for MSYS, MSYS - latest packages retrieved on 2013-03-24 (gdb 
version is 7.5) , Windows XP SP3

Please provide any additional information below.
Everything works as expected under MSYS's default shell.

Original issue reported on code.google.com by piot...@gmail.com on 24 Mar 2013 at 7:06

GoogleCodeExporter commented 9 years ago
I just hit this same issue as well :s

Original comment by bruno.do.medeiros on 25 Sep 2013 at 12:42