🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Gregory N. Bond Sun, 11 Feb 1990 22:36
Interrupting .bash_profile
#1161
Author: Gregory N. Bond
Date: Sun, 11 Feb 1990 22:36
30 lines
1397 bytes
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
Interrupting .bash_profile
#1162
Author: Brian Fox
Date: Mon, 12 Feb 1990 08:37
40 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads