src/Tools/xlisten
author wenzelm
Tue, 24 Nov 1998 12:03:09 +0100
changeset 5953 d6017ce6b93e
parent 2118 7c12923a50c6
permissions -rwxr-xr-x
setup Blast.setup; setup Clasimp.setup;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     1
#! /bin/sh
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
#  xlisten -- start a program in one window and create a listener window
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     3
#     environment variable $LISTEN specifies the file name
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
#create the file!
2100
4a299f5408b7 Now checks that $LISTEN is set
paulson
parents: 0
diff changeset
     6
set -e			#fail immediately upon errors
4a299f5408b7 Now checks that $LISTEN is set
paulson
parents: 0
diff changeset
     7
date > ${LISTEN?'Set this variable to the desired filename'}
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
xterm -geo 80x10+0+0 -T Listener -n Listener -e tail -f $LISTEN &
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
sleep 2
2118
7c12923a50c6 Creates a bigger main window
paulson
parents: 2100
diff changeset
    11
xterm -geo 80x60+0-0 -e teeinput $* &