Article View: gnu.bash.bug
Article #1162Interrupting .bash_profile
From: Brian Fox
Date: Mon, 12 Feb 1990 08:37
Date: Mon, 12 Feb 1990 08:37
40 lines
1715 bytes
1715 bytes
Date: 11 Feb 90 22:36:02 GMT
From: leo!gnb@melba.bby.oz.au (Gregory N. Bond)
Organization: Burdett, Buckeridge and Young Ltd.
Sender: bug-bash-request@prep.ai.mit.edu
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
This is fixed in 1.05.
Brian
Technical Details
Message-ID:
<9002120837.AA00475@sbphy.Ucsb.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!sbphy.mit.edu!bfoxReferences:
<GNB.90Feb12093602@baby.bby.oz.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!sbphy.mit.edu!bfox From: bfox@sbphy.mit.edu (Brian Fox) Newsgroups: gnu.bash.bug Subject: Interrupting .bash_profile Message-ID: <9002120837.AA00475@sbphy.Ucsb.EDU> Date: 12 Feb 90 08:37:12 GMT References: <GNB.90Feb12093602@baby.bby.oz.au> Sender: daemon@tut.cis.ohio-state.edu Reply-To: bfox@AI.MIT.EDU Distribution: gnu Organization: GNUs Not Usenet Lines: 40