#!/bin/sh
# Bruce Krulwich <krulwich@ils.nwu.edu> 30.12.1991
# Bruno Haible <haible@ma2s2.mathematik.uni-karlsruhe.de> 4.1.1994
#
# Usage:
#   xterm_idle filename

# This is meant to be executed from an xterm. The xterm process allocates
# the window and the pseudo tty. This script then passes the name of the
# tty to the caller, via filename.

tty > $1

# While this script places the xterm idle, anyone can write to the xterm
# window or read from it - wonderful!

while true
  do
    sleep 1000000
  done

