author | wenzelm |
Tue, 27 Apr 1999 15:39:43 +0200 | |
changeset 6534 | 5a838c1d9d2f |
parent 2118 | 7c12923a50c6 |
permissions | -rwxr-xr-x |
0 | 1 |
#! /bin/sh |
2 |
# xlisten -- start a program in one window and create a listener window |
|
3 |
# environment variable $LISTEN specifies the file name |
|
4 |
||
5 |
#create the file! |
|
2100 | 6 |
set -e #fail immediately upon errors |
7 |
date > ${LISTEN?'Set this variable to the desired filename'} |
|
0 | 8 |
|
9 |
xterm -geo 80x10+0+0 -T Listener -n Listener -e tail -f $LISTEN & |
|
10 |
sleep 2 |
|
2118 | 11 |
xterm -geo 80x60+0-0 -e teeinput $* & |