home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!navarra
- From: navarra@casbah.acns.nwu.edu (John Navarra)
- Newsgroups: comp.unix.questions
- Subject: Re: Writing to multiple terminals
- Message-ID: <1992Jul27.000308.18388@news.acns.nwu.edu>
- Date: 27 Jul 92 00:03:08 GMT
- References: <1992Jul26.233024.5849@mnemosyne.cs.du.edu>
- Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
- Organization: Northwestern University, Evanston Illinois.
- Lines: 34
-
- In article <1992Jul26.233024.5849@mnemosyne.cs.du.edu> sshrivas@mnemosyne.cs.du.edu (Sumeet Shrivastava) writes:
- >
- >
- >Hi,
- > Is there someway that one can write to multiple terminals ?
- >
- > i.e. I want to give a demo, so how can a person on another terminal
- > see whatever is the output on my terminal ? ... assuming that the
- > other person is logged on to the same machine but with a different login.
- >
-
- Yes, here are two which come to mind:
-
- 1) Get the expect script called 'kibitz'. This not only lets other users
- see what you are doing on your machine but also lets them participate.
- As a teaching tool, it has it merits but all users will be granted full
- permissions of the person who initiates the kibitz, so if that is not
- what you want, try #2
-
- 2) Use the command:
-
- script /dev/null | tee /dev/ttyp1 | tee /dev/ttyp2 | ... | tee /dev/ttypN
-
-
- This is more of a pain in the ass because you need to know everyone's tty
- number. It is simple enough to write a script to find them though I suppose.
-
- Good luck
- -tms
-
- --
- From the Lab of the MaD ScIenTiST:
-
- navarra@casbah.acns.nwu.edu
-