semantics of /dev/tty?

Bill.Stewart.[ho95c] wcs at skep2.ATT.COM
Mon Feb 20 13:08:12 AEST 1989


In article <5655 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
> It is almost certainly a feature, not a bug, except in one situation.
> That situation occurs when a site logs out idle users based on the
> access time of each user's /dev/ttyxx device, and a user happens to be
> using C-Kermit, which opens /dev/tty leaves /dev/ttyxx inactive during
> file transfers.

Idle-daemons are EVIL!

Suppose you have an intelligent terminal, (blit, pc, 3270 :-), whatever)
and are working in local mode - you may not touch either /dev/tty or
/dev/ttyxx for a long time, because you're trying to get your graphics
to look perfect, and the idle daemon decides you've walked away without
logging off.  Bad news!

Also, the general rule about idle-daemons is that any idle-daemon
that makes an intelligent decision about whether you're really there or
not can be fooled by users, and any one that doesn't will trash people
who are working.
-- 
#				Thanks;
# Bill Stewart, AT&T Bell Labs 2G218 Holmdel NJ 201-949-0705 ho95c.att.com!wcs
#
#	News.  Don't talk to me about News.



More information about the Comp.unix.questions mailing list