From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4463 invoked from network); 28 Jan 1997 17:06:57 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 28 Jan 1997 17:06:57 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id LAA25405; Tue, 28 Jan 1997 11:54:43 -0500 (EST) Resent-Date: Tue, 28 Jan 1997 11:54:43 -0500 (EST) Message-Id: <19970128085622.NH31021@@> Date: Tue, 28 Jan 1997 08:56:22 -0800 From: olsenc@ichips.intel.com (Clint Olsen) To: zsh-workers@math.gatech.edu Subject: Re: Zsh reporting bad return status of commands References: <19970127141513.VX31036@@> <11269.199701281458@stone.dcs.warwick.ac.uk> X-Mailer: Mutt 0.59.1 Mime-Version: 1.0 Organization: Intel Corporation, Hillsboro, OR X-Disclaimer: Mutt Bites! In-Reply-To: <11269.199701281458@stone.dcs.warwick.ac.uk>; from Zefram on Jan 28, 1997 14:58:56 +0000 Resent-Message-ID: <"-Pn8K1.0.uC6.IzYxo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2831 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jan 28, Zefram wrote: > Clint Olsen wrote: > >On HP-UX for some reason, 3.0 started doing this: > > > >/foo not found > >zsh: exit 2 ls -AF /foo > > > >It doesn't exhibit this behavior on SunOS. It's not that big of a deal, > >but it's rather irritating to see the extra output. > > This output is controlled by a zsh option, PRINT_EXIT_VALUE. Use > "setopt noprintexitvalue" to disable it. Or, since it's off by > default, remove the "setopt printexitvalue" from your > .z(profile|login|sh(rc|env)). Interesting. Then it must be broken on SunOS since it is also set there but it doesn't print out the bad exit status. pdxgp1 ~# uname -a SunOS pdxgp1 4.1.3 10 sun4m pdxgp1 ~# setopt allexport autolist automenu interactive login monitor printexitvalue rcexpandparam shinstdin zle pdxgp1 ~# ls /foo /foo not found -Clint -- Clint Olsen . __ olsenc@ichips.intel.com /o \/ o . \__/\