Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!world!bzs From: bzs@world.std.com (Barry Shein) Newsgroups: comp.unix.wizards Subject: Re: a .plan question.. Message-ID: Date: 29 Jan 91 01:55:36 GMT References: <1991Jan28.233821.24491@bronze.ucs.indiana.edu> Sender: bzs@world.std.com (Barry Shein) Organization: The World Lines: 18 In-Reply-To: jkonrath@silver.ucs.indiana.edu's message of 28 Jan 91 23:38:21 GMT >anyone know a way to run a program from a .plan? it needs to be run at the >time of the finger, and run by the fingeree. >the program is to see who is doing the fingering, then put their name in >a log. any way to do this in this method? i saw it done a while back, but >it couldve been some method of running a background program to constantly >look at who's fingering around... Unless there's some magic I don't know about within that particular version of finger (like checking for exec bits) the obvious answer is to make .plan a FIFO and have a program which waits for an open and then does its stuff (right? it's been a while since I've programmed FIFOs, but it seems like that would work, a pty might work also.) -- -Barry Shein Software Tool & Die | bzs@world.std.com | uunet!world!bzs Purveyors to the Trade | Voice: 617-739-0202 | Login: 617-739-WRLD