RE: SIGINT not passed to process on cygwin

Dave Korn
2005-09-12T10:06:47Z

----Original Message----
>From: Himanshu Chandola
>Sent: 12 September 2005 08:44

> thanks that helped.
> Although in cygwin ^C is set to intr, the problem continued to be the
> same.
> The ^C on gdb didn't stop it.
>
> Himanshu

Do you have CYGWIN=tty set in your environment?

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

"(no)tty - if set, Cygwin enables extra support (i.e., termios) for
UNIX-like ttys in the Windows console. It is not compatible with some
Windows programs. Defaults to not set, in which case the tty is opened in
text mode. Note that this has been changed such that ^D works as expected
instead of ^Z, and is settable via stty. This option must be specified
before starting a Cygwin shell and it cannot be changed in the shell. It
should not be set when using other terminals (i.e., rxvt or xterm)."

cheers,
DaveK
--
Can't think of a witty .sigline today....