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
Original issue reported on code.google.com by
piot...@gmail.com
on 24 Mar 2013 at 7:06