Ctrl-c in bash causes background processes to exit
Mon May 31 21:10:00 GMT 1999
At 01:32 AM 5/21/99 -0400, Kevin Low wrote:
> I am using bash from cygwin b20. How do I prevent all background
> jobs from exiting whenever I press ctrl-c in bash? For example, if
> I run telnet in the background, pressing ctrl-c will kill telnet.
You need to set "tty" in your CYGWIN environment variable. E.g.,
export CYGWIN="tty" (or set it in the "system"--> environment control-panel.)
Somebody told me this a while ago, but pointed out that this screws up
lots of programs that use the console IO. And, indeed, it made all sorts
of things go wrong for me, although I can't actually recall *what* at
Actually, can somebody explain what it is that TTY does? And why it
causes problems both to have it and to not have it? And is there a list
of all the CYGWIN options somewhere, with a description of what each one does?
Daniel Herron Universitaet Hamburg / Fachbereich Informatik
phone: (49) 40 / 428 83 2519 AB Natuerlichsprachliche Systeme
fax: (49) 40 / 428 83 2515 Vogt-Koelln-Strasse 30
email@example.com D-22527 Hamburg
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org
More information about the Cygwin