[comp.unix.admin] root monitor tty...

ag@amix.commodore.com (Keith Gabryelski) (06/29/91)

Followups to c.u.admin.

scarroll@cup.portal.com (Scott A Carroll) writes:
> I need to monitor a tty, a group of ttys (including [pt]tty).

Generally, you can't do this on a unix system.  It has been done, with varing
results using kernel (clist) hacking routines (for machines that use clists for
tty processing).

Streams ttys offer an easier interface.  A module could be pushed on a stream
tty which would tee off the output to another device which could be read by
another process.

I have written such a streams module a posted it to alt.sources a
while back.  It is called advise and allows a use to place his
terminal in another user's terminal stream.  The advising user can
send and receive i/o as if they were the advisse user.  It only works
on System V Release 4 machines, though so it may not be of much help
to you.

Pax, Keith
-- 
Keith Gabryelski                                 Advanced Products Group
ag@amix.commodore.com                                 ...!cbmvax!amix!ag