xlisten
author lcp
Mon, 27 Feb 1995 17:47:44 +0100
changeset 910 822e57491612
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Added the exception handler handle _ => exit 1. This will catch all errors and force an exit with error code, causing Make to fail.

#! /bin/sh
#  xlisten -- start a program in one window and create a listener window
#     environment variable $LISTEN specifies the file name

#create the file!
date > $LISTEN

xterm -geo 80x10+0+0 -T Listener -n Listener -e tail -f $LISTEN &
sleep 2
xterm -geo 80x45+0-0 -e teeinput $* &