Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nbires!hao!gatech!sbmsg1!scbhq!uahcs1!madhat!alvitar From: alvitar@madhat.UUCP (Phil Harbison) Newsgroups: comp.unix.xenix,comp.sources.wanted,comp.unix.questions Subject: Re: tty watcher Message-ID: <245@madhat.UUCP> Date: Fri, 11-Sep-87 20:16:00 EDT Article-I.D.: madhat.245 Posted: Fri Sep 11 20:16:00 1987 Date-Received: Sun, 13-Sep-87 21:38:14 EDT References: <4263@ozdaltx.UUCP> <249@spdcc.COM> Organization: DataVision, Huntsville AL Lines: 20 Xref: mnetor comp.unix.xenix:730 comp.sources.wanted:2236 comp.unix.questions:4049 In article <249@spdcc.COM>, dyer@spdcc.COM (Steve Dyer) writes: > It seems to me that you might be able to hack something up with a > new line discipline which paralleled the normal tty line discipline > with the exception that it replaced the l_input routine with one which, > before calling the standard l_input routine, enqueued its characters > on a private clist of a special device... This is similar to my implementation of a journal feature on a piece of UNIX-based test equipment at Boeing. The Air Force wanted a journal of every keystroke (before input processing) so they could study human factors and write better user interfaces. Each character was put in the raw queue and a copy was also placed in a clist owned by the journal driver if /dev/journal was open. This would be a trivial hack to almost any tty driver. -- Live: Phil Harbison USPS: 3409 Grassfort Drive, Huntsville, AL 35805-5421 Uucp: {clyde,uunet}!madhat!alvitar Bell: 205-881-4317, 205-837-7610x546