Path: utzoo!utgpu!water!watmath!clyde!bellcore!decvax!tektronix!uunet!mcvax!philmds!leo From: leo@philmds.UUCP (Leo de Wit) Newsgroups: comp.unix.questions Subject: Re: Using exit in a Bourne shell script Summary: Read the subject line Message-ID: <568@philmds.UUCP> Date: 24 Jul 88 09:46:32 GMT References: <16540@brl-adm.ARPA> <4664@csli.STANFORD.EDU> Reply-To: leo@philmds.UUCP (Leo de Wit) Organization: Philips I&E DTS Eindhoven Lines: 20 In article <3733@okstate.UUCP> goog@okstate.UUCP (GOOG ??) writes: [stuff deleted]... |I had this problem also, and to combat it I put a line in my .login (not |.logout...) that states: | |set ignoreeof | |and that does it. It will allow you to use Ctrl-D from anywhere to quit things In article <4664@csli.STANFORD.EDU> gandalf@csli.stanford.edu (Juergen Wagner) writes: |How about | set ignoreeof |in your .cshrc. This will prevent you from doing what you're fearing, namely [stuff deleted]... Boys, read the subject line. It says: ... in a Bourne shell script. set ignoreeof is csh stuff. Leo.