Cannot get ^Z to suspend a program

Samir Gupta samir.gupta@Barra.COM
Mon Feb 10 19:13:00 GMT 2003


thanks for the reply:

I was trying to use CTRL-Z after opening up a windows program (such as emacs
-- the windows version or excel)

Suspend will work if I perform it on the sleep command.
1> sleep 20

Suspended
2>

Why won't it suspend If I type the following:

1> emacs &
[1] 1668
2> emacs

The first command opens up my emacs (for windows) program and runs it in the
background (so I can still use the prompt).
So, I assume if this capability is there, then it should also be able to put
it in the background after I have already opened it.
However, when I type the second command, I can't use CTRL-Z to put it in the
background.
Do you know why this is?


>Can't duplicate it here.  If I set CYGWIN=tty prior to starting bash and
>then type:
>
>c:\>bash
>bash$ sleep 20
>bash$ CTRL-Z
>
>it suspends the sleep.
>
>cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list