Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!melba.bby.oz.au!leo!gnb From: gnb@bby.oz.au (Gregory N. Bond) Newsgroups: gnu.bash.bug Subject: Interrupting .bash_profile Message-ID: Date: 11 Feb 90 22:36:02 GMT Sender: news@melba.bby.oz.au Organization: Burdett, Buckeridge and Young Ltd. Lines: 30 A sample of my .login file (for csh): if ( "$tty" == "/dev/console" && "$TERM" == "sun" ) then echo starting suntools.... sleep 2 if ( "$host" == "leo" ) then setenv mono=true exec suntools else exec suntools -f 255 250 120 -b 0 0 120 endif endif which automatically starts up suntools, after telling me. Under csh, I can interrupt the csh when it shows the starting message, and it aborts the .login and I have a login shell. Bash, however, when executing the .bash_profile, terminates the login shell, so there is no way to do a (start suntools unless I interrupt) type thing. This is the only problem stopping me using bash as a login shell. Is this a bug? Is there some other way to get this functionality? Greg. -- Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia Internet: gnb@melba.bby.oz.au non-MX: gnb%melba.bby.oz@uunet.uu.net Uucp: {uunet,pyramid,ubc-cs,ukc,mcvax,prlb2,nttlab...}!munnari!melba.bby.oz!gnb