ctrl-c not working during bash command line editing
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Mar 2 10:19:00 GMT 2012
On Mar 1 19:22, Kitchens wrote:
> I've noticed this as well, and it seems to be a difference between
> /dev/consX and /dev/ptyX ttys. Mintty seems to work fine, whereas
> cmd.exe or Console2 (basically a cmd wrapper) cannot CTRL+C on the
> command line to abort it. Ctrl+C does, however, issue a SIGINT for a
> running process.
Confirmed. If you start an interactive subshell, Ctrl-C starts working
again in there, so this only affects the parent process in a console.
I think I see where this is coming from. I applied a patch to CVS which
fixes this issue, at least for applications calling tcsetattr, like
interactive processes usually do. AFAICS, there's another patch required
for non-interactive processes.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list