job control: "set CYGWIN=tty" but ^Z doesn't work

Daniel S. dsb@smart.net
Mon Mar 2 17:13:00 GMT 2009


What setup is need to get ^Z to suspend the current process?

The CygWin manual Environment Variables section at
http://cygwin.com/cygwin-ug-net/setup-env.html says:

   The CYGWIN variable is used ... [Y]ou can ... set it to tty (e.g. to support
   job control with ^Z etc...) using a syntax like this in the DOS shell, before
   launching bash.

     C:\> set CYGWIN=tty notitle glob


I've added:

   set CYGWIN=tty

to my Cygwin.bat file, but ^Z doesn't suspend a process.

(E.g., running "for (( i = 1 ; i '<' 100000 ; i = i + 1 )) ; do : ; done "
and pressing control-Z doesn't suspend the process running the loop.

Thanks,

Daniel




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list