Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!decvax!harpo!ihnp4!zehntel!hplabs!sri-unix!cak@Purdue.ARPA From: cak@Purdue.ARPA Newsgroups: net.unix-wizards Subject: Re: vi and "set prompt" question Message-ID: <12445@sri-arpa.UUCP> Date: Tue, 17-Apr-84 23:56:00 EST Article-I.D.: sri-arpa.12445 Posted: Tue Apr 17 23:56:00 1984 Date-Received: Mon, 23-Apr-84 01:44:39 EST Lines: 14 From: Christopher A Kent Be sure to only "set prompt" if you're in an interactive shell; this solves the problem. Check for being in an interactive shell: if ( $?prompt ) then interactive stuff endif Cheers, chris ----------