Re: A background ssh can take over the tty from bash?
From:
Chet Ramey
Subject:
Re: A background ssh can take over the tty from bash?
Date:
Mon, 12 Jun 2017 13:19:16 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
On 6/12/17 12:16 PM, Clark Wang wrote:
> Since ssh has a handle on its controlling terminal, it must do something
> that allows it to read from it even if it's not in the foreground process
> group. In any event, -n is the way to deal with that.
>
>
> Thanks Chet.
>
> I reposted the question to stackoverflow this morning and just managed to
> figure out the problem (see https://stackoverflow.com/questions/44492312/ ).
That's really nice work figuring it out.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/