src/Tools/xlisten
author clasohm
Thu, 16 Sep 1993 12:20:38 +0200
changeset 0 a5a9c433f639
child 2100 4a299f5408b7
permissions -rwxr-xr-x
Initial revision
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!
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     6
date > $LISTEN
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     7
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
xterm -geo 80x10+0+0 -T Listener -n Listener -e tail -f $LISTEN &
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
sleep 2
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
xterm -geo 80x45+0-0 -e teeinput $* &