src/Tools/xlisten
author paulson
Mon Dec 07 18:26:25 1998 +0100 (1998-12-07)
changeset 6019 0e55c2fb2ebb
parent 2118 7c12923a50c6
permissions -rwxr-xr-x
tidying
clasohm@0
     1
#! /bin/sh
clasohm@0
     2
#  xlisten -- start a program in one window and create a listener window
clasohm@0
     3
#     environment variable $LISTEN specifies the file name
clasohm@0
     4
clasohm@0
     5
#create the file!
paulson@2100
     6
set -e			#fail immediately upon errors
paulson@2100
     7
date > ${LISTEN?'Set this variable to the desired filename'}
clasohm@0
     8
clasohm@0
     9
xterm -geo 80x10+0+0 -T Listener -n Listener -e tail -f $LISTEN &
clasohm@0
    10
sleep 2
paulson@2118
    11
xterm -geo 80x60+0-0 -e teeinput $* &