Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site watmath.UUCP
Path: utzoo!watmath!idallen
From: idallen@watmath.UUCP
Newsgroups: net.unix-wizards
Subject: Re: Suppressing messages from CSH shell; bug in 4.2 sub-shells
Message-ID: <6950@watmath.UUCP>
Date: Sun, 19-Feb-84 18:51:32 EST
Article-I.D.: watmath.6950
Posted: Sun Feb 19 18:51:32 1984
Date-Received: Mon, 20-Feb-84 07:21:26 EST
References: <137@pwa-b.UUCP>
Organization: U of Waterloo, Ontario
Lines: 13

Under 4.1bsd, one could say to the CSH shell:
    % (process &)
Since sub-shells have no job control, you got no "[1] 12345" message.

This almost works under 4.2bsd, unless the process produces output to
the terminal and you have "stty tostop" set.  The TOSTOP will cause
a TTOU signal to be sent to the offending process, causing it to die
silently and witout a trace.  Try "stty tostop;(date &)" in the 4.2
/bin/csh.  A fix for this, which allows processes in sub-shells to
produce output, is to ignore the TTOU signal in processes spawned from
sub-shells.
-- 
        -IAN!  (Ian! D. Allen)      University of Waterloo