This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot get ^Z to suspend a program


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]