[1744] in RedHat Linux List
Re: Path Problem
daemon@ATHENA.MIT.EDU (Mike Sangrey)
Wed Oct 30 01:25:47 1996
To: redhat-list@redhat.com
In-reply-to: Your message of "Tue, 29 Oct 1996 21:14:04 EST."
<Pine.OSF.3.95.961029210809.23912A-100000@ece.WPI.EDU>
Date: Tue, 29 Oct 1996 23:03:08 -0500
From: Mike Sangrey <mike@sojurn.lns.pa.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>
> Ok.. since I didnt get a response from redhat support (i'm
> a registered "official" user of 3.0.3), I will ask here:
>
> Is it impossible to add the current directory to the path?
> I have tried editing /etc/profile and also the user's individual
> .cshrc to add "." to the path, but with no luck. What's more: if I
> do:
> setenv PATH $PATH:.
> or setenv PATH $PATH:./.
> or setenv PATH $PATH:./
>
> and then I do "echo $PATH", the output does not include the dot (.).
>
> Also... where should I add environment variables that I want to set for
> the whole system? For example, MINICOM is a long set of things with which
> minicom doesnt work. I need to do "setenv MINICOM -m" everytime
> (or put it in my own .login or .cshrc), but if I put the same thing
> in /etc/profile, it just doesnt work. After I reboot, I check the MINICOM
> env. variable and it is not "-m"
>
> Any one knows why? Thanks a lot....
Try /etc/csh.cshrc.
Not /etc/profile
The later is for "sh" style shells like sh, bash, etc.
The former is for "csh" style shells like csh, tcsh, etc.
--
Mike Sangrey <mike@sojurn.lns.pa.us> (Home)
<Mike.Sangrey@specmarkmet.com>(Work)
"I've trademarked `William Della Croce, Jr.(tm)'.
Anyone using this name owes me $1,000,000."
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null