author | wenzelm |
Mon, 09 Mar 1998 16:11:28 +0100 | |
changeset 4700 | 20ade76722d6 |
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 $* & |