pseudo-terminal masters
Ben Scott
dragonhawk at gmail.com
Tue Jan 13 22:36:13 EST 2009
On Tue, Jan 13, 2009 at 5:02 PM, mark <prgrmr at gmail.com> wrote:
> Isn't this what the TMOUT shell variable is doing?
Pure speculation, but I would guess that the TMOUT variable is
implemented just by having the shell call alarm(2) and then catching
SIGALRM. Otherwise the shell would have to poll its own input channel
constantly to see if it was idle, which would be kinda inefficient.
:)
-- Ben
More information about the gnhlug-discuss
mailing list