[1472] in athena10

home help back first fref pref prev next nref lref last post

Re: bashrc should set PS1 or cshrc should not set prompt

daemon@ATHENA.MIT.EDU (Tim Abbott)
Tue Mar 10 12:32:56 2009

Date: Tue, 10 Mar 2009 12:31:58 -0400 (EDT)
From: Tim Abbott <tabbott@MIT.EDU>
To: Jonathan Reed <jdreed@mit.edu>
cc: debathena@mit.edu
In-Reply-To: <F1128B74-3EC8-4B89-8BEE-7759C4A01034@mit.edu>
Message-ID: <alpine.DEB.1.10.0903101229480.6733@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 10 Mar 2009, Jonathan Reed wrote:

> On Mar 10, 2009, at 10:59 AM, Tim Abbott wrote:
> 
> > > b) Unset $prompt in cshrc.  The current default prompt on tcsh seems to be
> > > "%U%m%u:%B%~%b%#"  (the hostname underlined, a colon, pwd in bold, and ">"
> > > unless it's a root shell).
> > > 
> > > I prefer (a).
> > 
> > If we're going to go this route, I think (b) is the better choice (and we
> > should do it on Athena 9 as well at the same time).  Prompt appearance
> > depending on shell is much less confusing than depending on something
> > obscure like when their account was created.
> 
> Actually, I was kind of thinking we shouldn't do it in Athena 9.  I agree that
> prompt appearance depending on shell is less confusing, but the downside is
> that the vast majority of users do not know or care what shell they're
> running.  I think "Your prompt changed because you're using a newfangled
> Debathena machine" is a bit easier to sell.

Yeah, OK, I'm fine with that model as well.

	-Tim Abbott

home help back first fref pref prev next nref lref last post