[net.unix-wizards] Suppressing certain system messages

ocoin@pwa-b.UUCP (Terry O'Coin) (02/14/84)

	I am looking for a way to suppress the system messages
printed to the terminal when a job is started up in the background.

        I mean, for example, when this command is issued :

		<program> <arg list> &

	a message such as  "[1] 1244" is sent to the terminal
        notifying the user of the job number and process id.

	When the process finishes, an exit message such as
		
		[1] Done ....     
	
	is printed on the terminal.


	I would appreciate any suggestion anyone has on how
      to suppress these start and finish process messages.

	If you feel others would not be interested, please
      reply to me directly.  Thank you in advance.

       
	
				Terence P. O'Coin
				P & W A
				E. Hartford, Connecticut

		path : ... {philabs,utah-gr}!pwa-b!ocoin

gwyn%brl-vld@sri-unix.UUCP (02/22/84)

From:      Doug Gwyn (VLD/VMB) <gwyn@brl-vld>

If you were using the Bourne shell, simply redirecting the error output
via 2>&- would shut up the process ID printout when running a background
process, and there would be no "Done" message..  Maybe you can shunt out
stderr in the Cshell in a similar fashion?

dave@infopro.UUCP (David Fiedler) (03/03/84)

To make all background messages in csh go away, invoke the program like this:

% snargle >& /dev/null &

"That's the biz, sweetheart..."
          Dave Fiedler
{harpo,zeppo,astrovax,philabs}!infopro!dave