Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!matt From: matt@oddjob.UChicago.EDU (Keeper of the Sacred Tablets) Newsgroups: comp.unix.wizards Subject: Re: Separating input (tty) streams. Message-ID: <14065@oddjob.UChicago.EDU> Date: Tue, 10-Nov-87 15:41:43 EST Article-I.D.: oddjob.14065 Posted: Tue Nov 10 15:41:43 1987 Date-Received: Thu, 12-Nov-87 23:12:53 EST References: <15973@topaz.rutgers.edu> <1987Oct29.152901.2784@utfyzx.uucp> <1757@geac.UUCP> <9270@mimsy.UUCP> Organization: Big Bang Burger Bar Lines: 17 Keywords: tty input streams sockets I have a package I got from UCI eons ago that does most of what's been asked for. It's called "ttyd" and is available by anonymous ftp from oddjob.uchicago.edu as pub/ttyd.tar.Z. I suggest the those interested look around in UCI's anonymous ftp area (wherever that is) first because they may have a newer version. In the copy I have, the wall command tends to glitch a lot due to a design error. With ttyd users should set "mesg n" and then run a suid program to declare the action they want taken upon connection requests. The action can be to pass messages on to the tty, to refuse messages, to mail them to a given address, send them to a file, pipe them to a program, or connect them to a specified socket. There is no filtering based on the originator, although a wall or write from root will still go through. ________________________________________________________ Matt University matt@oddjob.uchicago.edu Crawford of Chicago {astrovax,ihnp4}!oddjob!matt