Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!pyramid!voder!jeff From: jeff@voder.UUCP (Jeff Gilliam) Newsgroups: comp.bugs.4bsd Subject: csh script dies on SIGTTIN Message-ID: <2818@voder.UUCP> Date: Thu, 4-Dec-86 21:22:20 EST Article-I.D.: voder.2818 Posted: Thu Dec 4 21:22:20 1986 Date-Received: Fri, 5-Dec-86 05:31:05 EST Organization: National Semiconductor, Santa Clara Lines: 15 Keywords: csh signals Index: bin/csh/??? 4.3BSD Description: csh doesn't always handle SIGTTIN properly. Repeat-By: Run the following script. Type a ^Z to stop it, then 'bg' to place it in the background. It immediately stops because of a SIGTTIN (as it should). Now try to foreground it. The csh running the script dies with the message "Stopped (tty input)". #! /bin/csh -f cat -- Jeff Gilliam {ucbvax,pyramid,nsc}!voder!jeff