home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.bash.bug
- Path: sparky!uunet!cis.ohio-state.edu!hrp.NO!eyvind.ness
- From: eyvind.ness@hrp.NO (Eyvind Ness)
- Subject: rsh, rcp with bash
- Message-ID: <9207300630.AA06975@dole.hrp.no>
- Sender: gnulists@ai.mit.edu
- Reply-To: Eyvind.Ness@hrp.no
- Organization: GNUs Not Usenet
- References: <2A7691FE.7354@tct.com>
- Distribution: gnu
- Date: Thu, 30 Jul 1992 06:30:00 GMT
- Approved: bug-bash@prep.ai.mit.edu
- Lines: 21
-
- | Date: Wed, 29 July 1992, 12:41 GMT
- | From: Chip Salzenberg
- |
- | According to chet@po.cwru.edu:
- | >Bash attempts to source the .bashrc for non-interactive shells running
- | >rsh and rcp so things like $PATH get set.
- |
- | ... which is, in my opinion, a BIG mistake.
-
- I agree. But why don't you just put:
-
- if tty -s
- then
- ....
-
- at the head of your .bashrc? This should block any Bash attempts to read
- the rest of ~/.bashrc when there is no terminal associated with your
- Bash-process.
-
- Eyvind.
-
-