author paulson
Fri, 18 Oct 1996 11:31:33 +0200
changeset 2100 4a299f5408b7
parent 0 a5a9c433f639
child 2118 7c12923a50c6
permissions -rwxr-xr-x
Now checks that $LISTEN is set

#! /bin/sh
#  xlisten -- start a program in one window and create a listener window
#     environment variable $LISTEN specifies the file name

#create the file!
set -e			#fail immediately upon errors
date > ${LISTEN?'Set this variable to the desired filename'}

xterm -geo 80x10+0+0 -T Listener -n Listener -e tail -f $LISTEN &
sleep 2
xterm -geo 80x45+0-0 -e teeinput $* &