On Saturday 25 August 2001 07:21, Dave Sherohman wrote: > On Sat, Aug 25, 2001 at 07:49:34AM +0530, shyamk@eth.net wrote: > > BTW what is /dev/null all about ? > > > > if tty > /dev/null 2>&1 ; then > > case $(basename `tty`) in > > I added that in because, under certain circumstances (although I > don't recall _which_ circumstances), <snip> Processes lose their controlling tty when they detach themselves from it. Cliff