[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A background ssh can take over the tty from bash?
From: |
L A Walsh |
Subject: |
Re: A background ssh can take over the tty from bash? |
Date: |
Mon, 12 Jun 2017 11:48:34 -0700 |
User-agent: |
Thunderbird |
Clark Wang wrote:
I've checked the ssh process and it does not catch SIGTTIN and that's why
I'm confused.
----
From what I understand, a background process will automatically
block when it tries to read from STDIN. By definition, processes
become bg-processes by using '&'. I haven't looked at the
code, but I'm guessing that the first 'ssh' that you launched
(*without* the '&') is the process swallowing your input as
it was declared to be a some sort of master-multiplexer for
subsequent slave processes, but that's just a guess. Maybe
putting the master in background @ launch (using '&') will
cause it to auto-block(suspend) as you expect?
- A background ssh can take over the tty from bash?, Clark Wang, 2017/06/10
- Re: A background ssh can take over the tty from bash?, John McKown, 2017/06/10
- Re: A background ssh can take over the tty from bash?, Chet Ramey, 2017/06/11
- Re: A background ssh can take over the tty from bash?,
L A Walsh <=
- Re: A background ssh can take over the tty from bash?, Clark Wang, 2017/06/12
- Re: A background ssh can take over the tty from bash?, L A Walsh, 2017/06/12
- Re: A background ssh can take over the tty from bash?, Clark Wang, 2017/06/13