Re: [SLE] export PATH problem in SuSE 9.1 Professional
On Wednesday 01 September 2004 17:25, you wrote:
Yes, you should and that is what you will do by adding the $PATH as described below, but the way I describe is automatic and for *all* consoles and term windows.
The reason that you did not maintain the added $PATH was that you only added it for the console or term window you initiated it inside. Once you close that window, you loose any environment changes (they are LOCAL - no other session can see them).
What entries do I need to make?
as root make a file /etc/profile.local with the content:
export PATH=$PATH:/usr/gnat/bin
Then each console or term window you open with any user with an account on that computer will have /usr/gnat/bin as an element of his path (unless you add more later, the last element).
If you feel it important to access that element of the path earlier, move $PATH to the end, but that will cause a search of the $PATH to look in /usr/gnat/bin *every* time it consults the PATH to satisfy only one program.
note: as this discussion began on the list, it should be continued on the list as others may be interested. I have posted to the list in addition to a personal copy to you.
Many thanks Patrick, that works a treat. Sorry about not posting to the list, but I just joined it today and didn't realise that the reply address was direct to yourself.
* Stephen Black <steve@sblack.org> [09-01-04 12:01]:
Many thanks Patrick, that works a treat. Sorry about not posting to the list, but I just joined it today and didn't realise that the reply address was direct to yourself.
Not a problem that cannot be solved. I see that your mail client is kmail. If you will look thru the docs for kmail, I believe that you will find a key for "list response" or something near that that will address to the list rather than the poster. I do not know much about kmail, but have seen it discussed here previously. :^) -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Wednesday 01 September 2004 13:32, Patrick Shanahan wrote:
* Stephen Black <steve@sblack.org> [09-01-04 12:01]:
Many thanks Patrick, that works a treat. Sorry about not posting to the list, but I just joined it today and didn't realise that the reply address was direct to yourself.
Not a problem that cannot be solved. I see that your mail client is kmail. If you will look thru the docs for kmail, I believe that you will find a key for "list response" or something near that that will address to the list rather than the poster. I do not know much about kmail, but have seen it discussed here previously.
:^)
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos Responding to the 'L'ist is done w/the letter 'l' (L, only lowercase)in kmail. ;-) -- ..."Yogi" CH Namasté Yoga Studio "If music be the food of love, why can't rabbits sing?"
On Wednesday 01 September 2004 19:32, Patrick Shanahan wrote:
* Stephen Black <steve@sblack.org> [09-01-04 12:01]:
Many thanks Patrick, that works a treat. Sorry about not posting to the list, but I just joined it today and didn't realise that the reply address was direct to yourself.
Not a problem that cannot be solved. I see that your mail client is kmail. If you will look thru the docs for kmail, I believe that you will find a key for "list response" or something near that that will address to the list rather than the poster. I do not know much about kmail, but have seen it discussed here previously.
Thanks, I've just tried that. Right click on the message and select 'Reply to Mailing List'
participants (3)
-
C Hamel
-
Patrick Shanahan
-
Stephen Black