From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 21 Apr 2005 12:42:01 -1000 From: Tim Newsham To: 9fans@cse.psu.edu Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [9fans] tip'o'day -- hack Topicbox-Message-UUID: 3f7432c8-ead0-11e9-9d60-3106f5b1d025 This one's from Mike Haertel as described in: http://tinyurl.com/arnnd Thanks for Andrey for pointing this out. You can establish a two way pipe to a command in /srv: $ cmd <[0=1] | echo 0 > /srv/name and then access /srv/name to communicate with the command. As an example: $ mail <[0=1] | echo 0 > /srv/mailcons $ con -l /srv/mailcons ... connected to mail until ^\ quit ... $ con -l /srv/mailcons ... connected again ... will let you detach and re-attach to the pipe to a long-lived mail command. Tim Newsham http://www.lava.net/~newsham/