#!/bin/rc tf=/tmp/stdinleaf.$pid fn sigint sighup sigterm{ rm -f $tf exit 1 } cat >$tf window '0 0 1024 1024' rc -c 'leaf '$tf';rm -f '$tf