Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!mentor.cc.purdue.edu!pur-ee!pur-phy!sawmill!rjk From: rjk@sawmill.uucp (Richard Kuhns) Newsgroups: comp.unix.questions Subject: Re: Problem with scripts in ksh Message-ID: Date: 10 Jan 90 15:06:25 GMT References: <13632@s.ms.uky.edu> Sender: news@sawmill.UUCP Distribution: na Organization: Grauel Enterprises, Inc. Lines: 26 In article <13632@s.ms.uky.edu> acp@ms.uky.edu (ACP Network) writes: [...] ksh on two of our machines seems to have trouble executing scripts. [...] executes fine as long as the statements are internal to ksh (eg, echo, if/then/fi, etc) but hangs after executing the first external command (I've tested it with ps, cat, grep, and sed). [...] Is this some obscure feature I don't know about? :-) Kenneth Herron -- acp@ms.uky.edu University of Kentucky ACP Network Consultant ukma!acp Dept. of Mathematics, room 715 POT (606) 257-2975 Lexington, KY 40506 This sounds familiar. No promises, but is it possible you're doing a `set -o monitor' in your .kshrc/.profile? As I recall, setting `monitor' in a non-interactive shell caused ksh to hang after executing an external command in a script. I'm afraid I don't remember which version of ksh we found this problem in. Hope this helps. Rich Kuhns newton.physics.purdue.edu!sawmill!rjk