[comp.unix.questions] tty watcher for BSD

ted@braggvax.arpa (09/21/87)

I missed the start of this discussion, so I'm not sure if the original
intent was to watch someone without his knowing, or with his consent.
If the later, I have two programs (based on "script" and the 4.3 IPC
tutorial) that provide two people with a shared terminal session under
Sun 2.x and 3.x and 4.3 BSD.  Here's the man pages, if anyone's
interested, I can send them the code (or post it).  It's useful to see
what someone is REALLY doing, as opposed to what he says over the phone
he is doing.

If anyone cares, I also have a dm3025 emulator program that runs on a
sun, which makes it nice when the person you are advising has a dm3025
and you have a sun (probably nowhere in the world but here...)

				Ted Nolan 
				ted@braggvax.arpa





ADVISE(1)                 USER COMMANDS                 ADVISE(1)



NAME
     advise - shared terminal session server

SYNOPSIS
     advise

DESCRIPTION
     Advise, is a network shared terminal session  server.   When
     combined with the consent(l) command, two users (possibly on
     different machines) can have their terminal screens  display
     exactly the same thing, and treat input from either terminal
     as equivalent.  Effectively a virtual terminal with  2  key-
     boards and one display is created.

     When advise is started, it prints out a port number that can
     be  used  by  the client consent process to connect with it.
     Once the connection is made, there is  no  more  concept  of
     server and client processes.

     Advise is expected to be used as a help facility so that  an
     expert  may  listen  in  on  a  novice's  session  and offer
     onscreen correction and aid, but other uses are possible.

BUGS
     Advise works much better when the  both  physical  terminals
     are  the  same type so that screen control can be duplicated
     on each.

SEE ALSO
     consent(l)





CONSENT(1)                USER COMMANDS                CONSENT(1)



NAME
     consent - connect with a shared terminal server

SYNOPSIS
     consent hostname port#

DESCRIPTION
     Consent is designed to work  with  advise(l)  to  set  up  a
     shared terminal session.

     The user running consent must have  already  been  in  touch
     with  a  user  running  advise  in order to get a valid port
     number.  Consent opens a connection to the named host on the
     given   port  to  initiate  a  shared  terminal  session  as
     described in advise(l). If the consent and advise  processes
     are  running  on  the same machine, the hostname 'localhost'
     may be used.

BUGS
     Consent works much better when the both  physical  terminals
     are  the  same type so that screen control can be duplicated
     on each.  The need for a port number is a crock.

SEE ALSO
     advise(l)