[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/51556: less(1) generates SIGTTOU if lacking a controlling terminal
The following reply was made to PR bin/51556; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
Subject: Re: bin/51556: less(1) generates SIGTTOU if lacking a controlling terminal
Date: Fri, 14 Oct 2016 06:17:47 +0000 (UTC)
jschauma%netmeister.org@localhost (Jan Schaumann) writes:
>Yes, I understand that. My concern is that less(1) should not attempt
>to manipulate the terminal if it doesn't have a controlling terminal.
What do you expect from 'less foo.txt &' ? Making it stop is actually a
useful feature. The same is true for 'cat foo.txt &' _if_ you decide to
enable the tostop feature for the terminal.
In any case, the distinction is not between having or not having a
controlling terminal but between running in a foreground or background
process group and timeout can be improved to handle this situation
Michael van Elst
"A potential Snark may lurk in every tree."
Main Index |
Thread Index |