prestoo at me.com
2009-Feb-26 10:10 UTC
ssh -t host sleep 100 + Ctrl-Z (SIGSTOP) does not suspend process?
Currently executing "ssh -t host sleep 100" and then pressing Ctrl-Z (to send SIGSTOP) does not seem to suspend the SSH process. Would it make sense to have Ctrl-Z suspend the SSH process, or is there some rationale for not doing that? I'm not intimately familiar with how SSH interacts with terminals on pseudo-TTY allocation, which is why I'm asking.
Gert Doering
2009-Mar-13 10:24 UTC
ssh -t host sleep 100 + Ctrl-Z (SIGSTOP) does not suspend process?
Hi, On Thu, Feb 26, 2009 at 12:10:43PM +0200, prestoo at me.com wrote:> Currently executing "ssh -t host sleep 100" and then pressing Ctrl-Z (to send SIGSTOP) does not seem to suspend the SSH process. Would it make sense to have Ctrl-Z suspend the SSH process, or is there some rationale for not doing that? I'm not intimately familiar with how SSH interacts with terminals on pseudo-TTY allocation, which is why I'm asking.If you force PTY allocation ("-t"), all that stuff needs to go to the other end. How can ssh know that you want to suspend the local SSH process, instead of "whatever you are running in the PTY on the other end"? gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert at greenie.muc.de fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de