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

Andy Koppe andy.koppe@gmail.com
Mon Mar 2 19:32:00 GMT 2009


2009/3/2 Daniel S. <dsb@smart.net>:
> 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.

You have to make sure that the CYGWIN variable is set before any
Cygwin programs are run, because it is read when the Cygwin DLL is
first loaded. Exiting all Cygwin processes before invoking cygwin.bat
again should do the trick.

Andy

--
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