Subject: Re: CSh/TCSh path setup
To: NetBSD \(Mac68k\) <port-mac68k@netbsd.org>
From: Ryan La Riviere <larz@cbis.ece.drexel.edu>
List: port-mac68k
Date: 12/24/2001 11:31:08
On 12/24/01 8:13 AM, "Mark Benson" <mdb299@soton.ac.uk> wrote:

> 
> On Monday, December 24, 2001, at 10:57 AM, Ryan La Riviere wrote:
> 
>> This is what I had copied from my OS X box and it has worked well
>> so far:
>> 
>>         # Set up prompt
>>         set promptchars = "%#"
>>         if ("$version" =~ tcsh*) then
>>           set prompt = "[%m:%c3] %n%# "
>>         else
>>           if ($uid) then
>>             set prompt = "[$host] $user% "
>>           else
>>             set prompt = "[$host] $user# "
>>           endif
>>         endif
>> 
>> Which is inside a:
>> 
>> if ($?prompt) then
>> 
>> statement.
>> 
>> That's my story and I'm sticking to it.
> 
> Yeh - looks about right. Which file was that in in OS X?

It's one of the files in the folder /usr/share/init/tcsh/.

-Ryan

-- 
Mr. Ryan La Riviere
System Administrator
Drexel University; College of Engineering
The Drexel Engineering Curriculum
Philadelphia, PA 19104

hp: <http://staff.tdec.drexel.edu/~edljedi/>
w: 215.895.6010