🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #679

Init files in bash 1.03 on suns (very serious)

#679
From: piggy
Date: Wed, 25 Oct 1989 16:01
44 lines
1775 bytes
I get this result both on Sun 3's running SunOS 3.5 and Sun 4's
running SunOS 4.0.1.

When executed via an rsh command, bash runs .profile as well as
.bashrc.  I am not even able to generate a script of this because the
rsh does not then terminate correctly.  I cut the following out of an
xterm window:  (phoenix and tartarus are both Sun 4's.) 

phoenix >> rsh tartarus cat /dev/null
starting .profile
stty: Operation not supported on socket
starting .bashrc
stty: Operation not supported on socket
default
[: too many arguments
not a tty
Wed Oct 25 10:56:15 CDT 1989
starting .bashrc
starting .bashrc
Expunging files deleted two days ago or more.
<19358>
nitie nite!
<19359>
^Z
[1]+  Stopped             rsh tartarus cat /dev/null
phoenix >> kill %1

[1]+  Stopped (tty input) rsh tartarus cat /dev/null
phoenix >> fg
rsh tartarus cat /dev/null
phoenix >>


The "starting .foo" commands I inserted in the respective files for
illustration purposes.  My .profile sets up a .logout file to be
executed on termination of the shell.  Everything after the date is
the normal behaviour of that script.

I backed out the change I sent earlier (on handling binary files) and
I still get the same results.  This does NOT happen with bash 1.02 on
any of our machines.

				     -- La Monte H. Yarroll
			Preferred:	piggy@gargoyle.uchicago.edu
Technical Details
Message-ID: <8910251601.AA08688@gargoyle.uchicago.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!GARGOYLE.UCHICAGO.EDU!piggy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!GARGOYLE.UCHICAGO.EDU!piggy
From: piggy@GARGOYLE.UCHICAGO.EDU
Newsgroups: gnu.bash.bug
Subject: Init files in bash 1.03 on suns (very serious)
Message-ID: <8910251601.AA08688@gargoyle.uchicago.edu>
Date: 25 Oct 89 16:01:40 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 44