src/Tools/xlisten
author berghofe
Sat, 26 Sep 1998 16:13:05 +0200
changeset 5578 7de426cf179c
parent 2118 7c12923a50c6
permissions -rwxr-xr-x
Package now chooses type variable names more carefully to avoid clashes with user-supplied type variable names.

#! /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 80x60+0-0 -e teeinput $* &