[2983] in Athena Bugs

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

[Dave Whitney A junior (well, a senior) in Computer Science at MIT: global cshrc file]

daemon@ATHENA.MIT.EDU (probe@ATHENA.MIT.EDU)
Thu Aug 24 17:47:33 1989

From: <probe@ATHENA.MIT.EDU>
Date: Thu, 24 Aug 89 17:47:14 -0400
To: bugs@ATHENA.MIT.EDU
Reply-To: Richard Basch   <probe@ATHENA.MIT.EDU>



------- Forwarded Message

To: probe@ATHENA.MIT.EDU
Subject: global cshrc file
Date: Thu, 24 Aug 89 16:54:09 EDT
From: Dave Whitney	A junior (well, a senior) in Computer Science at MIT <dcw@ATHENA.MIT.EDU>


Shouldn't the lines in /usr/athena/lib/init/cshrc that currently read:

if ($?prompt) then              # For interactive shells only (i.e., NOT rsh):
    stty dec                    #   Use DEC-style control characters
    set prompt = "athena% "     #   Set prompt
    set history = 20            #   Number of commands saved as history
    set cdpath = (~)            #   Path to search for directory changes
    set interactive             #   Provide shell variable for compatability
endif

be instead:

if (! $?prompt) then            # For interactive shells only (i.e., NOT rsh):
    stty dec                    #   Use DEC-style control characters
    set prompt = "athena% "     #   Set prompt
    set history = 20            #   Number of commands saved as history
    set cdpath = (~)            #   Path to search for directory changes
    set interactive             #   Provide shell variable for compatability
endif

I find that if I set my prompt in ~/.environment, the global cshrc clobbers
it back to 'athena% '.

	Dave

------- End Forwarded Message

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