Closed GoogleCodeExporter closed 9 years ago
Unlike with Unix shells like bash that implement the command line history
themselves, cmd.exe relies on the console window to do it. Mintty, being a Unix
terminal, does not implement it, and I don't think there'd be a way to decide
when to process arrow keys itself and when to send it to the pty driver and
application. What there is in terms of command line editing (mostly just
backspace) is implemented by Cygwin's pty driver, so theoretically more could
be done there, but I don't think there's any precedence for that. You can get
cmd.exe to work reasonably well in mintty by running it through conin.exe from
the issue 56 thread, or through rlwrap. Bottom line is though: cmd.exe is
happiest in a console window.
Original comment by andy.koppe
on 16 Nov 2010 at 6:18
ps: A quick way to invoke cmd.exe in a console from bash is "cygstart `which
cmd`". Obviously that can be shortened further with an alias or shell function.
Original comment by andy.koppe
on 16 Nov 2010 at 7:42
Original issue reported on code.google.com by
patchest...@gmail.com
on 15 Nov 2010 at 9:46