Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!mcvax!aeb From: aeb@cwi.nl (Andries Brouwer) Newsgroups: comp.unix.questions Subject: Re: Using exit in a Bourne shell script Message-ID: <7587@boring.cwi.nl> Date: 21 Jul 88 21:22:15 GMT References: <16540@brl-adm.ARPA> Organization: CWI, Amsterdam Lines: 10 In article <16540@brl-adm.ARPA> iunix1@almsa-1.arpa (Will Martin) writes: > I often hit a CTRL-D at my top-level shell and get logged > off when I really did not want to log off. If you are using ksh or csh: set ignoreeof . For the Bourne shell: you might try to use another prompt on the outermost level (set PS1="@@@ " in your .profile, and do not export it). -- Andries Brouwer -- CWI, Amsterdam -- uunet!mcvax!aeb -- aeb@cwi.nl