[austechwriter] Re: Mac OSIX command-line prompt [was 'OT: Mac OS X mailing list']
- From: hedley_finger@xxxxxxxxxxx
- To: "Austechwriter Post" <austechwriter@xxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2003 14:14:03 +1000
Mike:
> > I am playing around with a G4 Macintosh with Mac OS X 10.2.5
(pronounced
> > 'Mac oh ess 10 10 . 2 . 5', which sure makes those Mac fanatics look
stupid, so
> > let's just call it Mac OSIX and be done with it).
>
> > The immediate problem is that I logged in as root, fired up the
Terminal
> > window, and tried to change the prompt string from [something-or-other
to something-else.]
>
> http://hpcf.nersc.gov/software/os/shells/tcsh.html
> Shows the sequence of initialisation files for tcsh.
Thanks for that tip. Of course, I could have done something really
intelligent in the first place, by typing:
% man tcsh
which would have listed the files read and interpreted on invocation of
tcsh. For those still awake at this point, they are:
/etc/csh.cshrc
/etc/csh.login
~/.tcshrc
~/.cshrc
~/.history
~/.login
At logout, these files are read:
/etc/csh.logout
~/.logout
Sure enough, the prompt string is changed by a script in /etc/csh.cshrc .
If anybody can direct me to an active mailing list for Mac OS X I would be
very grateful. I still have not been able to find a good one.
Long boring UNIX digression over,
Hedley
--
Hedley Finger
Adobe Certified Expert, FrameMaker 5.5.x
Technical Communications/Best Practice Mentor
MYOB Australia Pty Ltd <http://www.myob.com.au>
P.O. box 371 Blackburn VIC 3130 Australia
12 Wesley Court Tally Ho Business Park East Burwood 3151 Australia
Tel. +61 3 9222 9992 x 7421 Fax. +61 3 9222 9880 Mob. +61 412 461 558
<mailto:hedley_finger@xxxxxxxxxxx>
**************************************************
To subscribe to austechwriter, send a message to
austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.
To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with
"unsubscribe" in the Subject field.
To search the austechwriter archives, go to
www.freelist.org/archives/austechwriter
To contact the list administrator, send a message to
austechwriter-admins@xxxxxxxxxxxxx
**************************************************
Other related posts:
- » [austechwriter] Re: Mac OSIX command-line prompt [was 'OT: Mac OS X mailing list']