Xref: utzoo comp.unix.wizards:25451 comp.unix.questions:31091 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!linac!att!att!cbnewsl!urban From: urban@cbnewsl.att.com (john.urban) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: How do I catch all output Message-ID: <1991May7.143641.10066@cbnewsl.att.com> Date: 7 May 91 14:36:41 GMT References: Distribution: usa Organization: AT&T Bell Laboratories Lines: 24 In article cho@sol4.cs.psu.edu (Sehyeong Cho) writes: >Hi, wizards. >I know I can use ioctl to simulate keyboard input. >But I don't know how to catch all output to my terminal (similar to >script, but not using a pty. For instance, I must catch someone writing >to my terminal by "write" or "talk"). >Have an idea? > >Thanks. I've held off answering this question for some time. Too see if any good answers appear. I really haven't seen any. I've tried script(1) on UNIX System V/386 Release 4.0 and then had user's wall(1) and write(1) me. After I exited script, my typescript file did not have the wall messages or the other user's half of the write(1) session. Any ideas? Sincerely, John Urban