[26149] in Athena Bugs
Re: $initdir scripts
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Fri Oct 22 14:58:30 2004
Date: Fri, 22 Oct 2004 14:57:13 -0400 (EDT)
From: Jacob Morzinski <jmorzins@mit.edu>
To: Greg Hudson <ghudson@mit.edu>
In-Reply-To: <1098469722.13060.174.camel@egyptian-gods.mit.edu>
Message-ID: <Pine.GSO.4.58L.0410221438310.22705@bart-savagewood.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
On Fri, 22 Oct 2004, Greg Hudson wrote:
> > The cshrc's alias for "term" sets noglob but does not unset it.
> > Fixed by appending an "unset noglob" to the alias.
>
> tset takes care of this, although why we set noglob in the first place,
> I'm not sure.
Oh, interesting, tset does spit out set/unset noglob lines.
Historically, I don't think tset used to do that, which is why
instructions for using tset always specified setting noglob.
(c.f. "man tset"). The reason for setting noglob was that
the TERMCAP strings generated by tset could contain * or ?
characters, that csh would choke on when attempting the eval.
> I think using our bash_login without using our bashrc deserves an error
> message, actually. I imagine it doesn't work very well.
Even if you don't change the code for sourcing the bashrc, will
you consider adding a comment explaining that purpose of the
line is to imitate C shell behavior? Something like...
# Imitate C shell behavior of sourcing the rc file:
-Jacob