Re: setup PATH variable by PATH=%PATH:/usr/X11R6/bin

2005-09-05 Thread Igor Pechtchanski
Ugh, top-posting.  Reformatted...

On Thu, 1 Sep 2005, Mark Paulus wrote:

 On Thu, 01 Sep 2005 12:33:23 -0400 (EDT), PoWah Wong wrote:

 I want to setup my PATH variable by following the
 instructions of Chapter 4. Using Cygwin/X, section
 startx at http://x.cygwin.com/docs/ug/using.html.
 
 After doing
 PATH=%PATH:/usr/X11R6/bin
 my original path is lost.
 
 I use windows XP SP2.
 [snip]

 The statement should read:
 PATH=%PATH%:/usr/X11R6/bin

 Note the trailing % on PATH.  That is a Windowism.

No, actually, since the example is in a shell, the statement should read

PATH=$PATH:/usr/X11R6/bin

(note the quotes and the '$').
I'd update the HTML in CVS, but it looks like a generated file, and I
couldn't find the source.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: setup PATH variable by PATH=%PATH:/usr/X11R6/bin

2005-09-01 Thread Mark Paulus
The statement should read:
PATH=%PATH%:/usr/X11R6/bin

Note the trailing % on PATH.  That is a Windowism.

On Thu, 01 Sep 2005 12:33:23 -0400 (EDT), PoWah Wong wrote:

I want to setup my PATH variable by following the
instructions of Chapter 4. Using Cygwin/X, section
startx at http://x.cygwin.com/docs/ug/using.html.

After doing
PATH=%PATH:/usr/X11R6/bin
my original path is lost.

I use windows XP SP2.

Log is:

[EMAIL PROTECTED] ~
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri
ve/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.2_07/bin:/cy
gdrive/c/apache-ant-1.6.2/bin:/cygdrive/c/Program
Files/cvsnt:/cygdrive/c/Progra
m Files/Microsoft Visual
Studio/Common/Tools/WinNT:/cygdrive/c/Program
Files/Mic
rosoft Visual
Studio/Common/MSDev98/Bin:/cygdrive/c/Program
Files/Microsoft Visu
al Studio/Common/Tools:/cygdrive/c/Program
Files/Microsoft Visual Studio/VC98/bi
n

[EMAIL PROTECTED] ~
$ PATH=%PATH:/usr/X11R6/bin

[EMAIL PROTECTED] ~
$ echo $PATH
%PATH:/usr/X11R6/bin

[EMAIL PROTECTED] ~
$


   

   
   
__ 
Find your next car at http://autos.yahoo.ca

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: setup PATH variable by PATH=%PATH:/usr/X11R6/bin

2005-09-01 Thread Reid Thompson
Mark Paulus wrote:
 The statement should read:
 PATH=%PATH%:/usr/X11R6/bin
 
 Note the trailing % on PATH.  That is a Windowism.
 
 On Thu, 01 Sep 2005 12:33:23 -0400 (EDT), PoWah Wong wrote:
 
 I want to setup my PATH variable by following the
 instructions of Chapter 4. Using Cygwin/X, section
 startx at http://x.cygwin.com/docs/ug/using.html.
 
 After doing
 PATH=%PATH:/usr/X11R6/bin
 my original path is lost.
 

Actually, i think that if you're in a cygwin bash terminal you have to
use $PATH rather than %PATH%.

reid

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: setup PATH variable by PATH=%PATH:/usr/X11R6/bin

2005-09-01 Thread Reid Thompson
Mark Paulus wrote:
 The statement should read:
 PATH=%PATH%:/usr/X11R6/bin
 
 Note the trailing % on PATH.  That is a Windowism.

yep -- that's a typo -- 
  $ PATH=%PATH:/usr/X11R6/bin 
should be 
  $ PATH=$PATH:/usr/X11R6/bin

reid

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/