summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Starks-Browning <starksb@ebi.ac.uk>2001-05-29 15:19:25 +0000
committerDavid Starks-Browning <starksb@ebi.ac.uk>2001-05-29 15:19:25 +0000
commit5b71b48d0c6039a86bb5f177d3bb555c2acea567 (patch)
treee4325dfa3f98975119117890253154e0888c42b4
parent1d99023da5be23f25be762863b8f5ffbd75f012f (diff)
downloadcygnal-5b71b48d0c6039a86bb5f177d3bb555c2acea567.tar.gz
cygnal-5b71b48d0c6039a86bb5f177d3bb555c2acea567.tar.bz2
cygnal-5b71b48d0c6039a86bb5f177d3bb555c2acea567.zip
Update entry about PATH, now done in /etc/profile not cygwin.bat.
Remove entry "Where can I find 'which'" since it's included now.
-rw-r--r--winsup/doc/how-using.texinfo36
1 files changed, 10 insertions, 26 deletions
diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo
index 08e238f4e..5b815595d 100644
--- a/winsup/doc/how-using.texinfo
+++ b/winsup/doc/how-using.texinfo
@@ -2,32 +2,21 @@
@subsection How should I set my PATH?
-If you look at the "Cygwin 1.1.0" (or similar) shortcut created in the
-"Cygnus Solutions" programs folder, you'll see that it runs
-@code{C:\cygwin\bin\cygwin.bat} (assuming your root is
-@code{C:\cygwin}). The contents should look something like this:
+This is done for you in the file /etc/profile, which is sourced by bash
+when you start it from the Desktop or Start Menu shortcut, created by
+@code{setup.exe}. The line is
@example
- @@echo off
- SET MAKE_MODE=unix
- SET PATH=C:\cygwin\bin;C:\cygwin\usr\local\bin;%PATH%
- bash
+ PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
@end example
-Effectively, this @strong{prepends} /usr/bin and /usr/local/bin to your
+Effectively, this @strong{prepends} /usr/local/bin and /usr/bin to your
Windows system path. If you choose to reset your PATH, say in
-$HOME/.bashrc, then you should follow this rule. You @strong{must} have
-@code{/usr/bin} in your PATH @strong{before} any Windows system
-directories. (And you must not omit the Windows system directories!)
-Otherwise you will likely encounter all sorts of problems
-running Cygwin applications.
-
-If you haven't messed up the default mounts, then @code{/bin} and
-@code{/usr/bin} are the same location, so you only need one of them in
-your PATH. You should use @code{/usr/local/bin} for installing
-additional Cygwin applications that are not part of the core net
-release. (That is, anything not found in an ftp mirror of @code{latest}
-and installed by @code{setup.exe}.)
+$HOME/.bashrc, or by editing etc/profile directly, then you should
+follow this rule. You @strong{must} have @code{/usr/bin} in your PATH
+@strong{before} any Windows system directories. (And you must not omit
+the Windows system directories!) Otherwise you will likely encounter
+all sorts of problems running Cygwin applications.
@subsection Bash says "command not found", but it's right there!
@@ -265,11 +254,6 @@ cygwin-mounted filesystems (as Cygwin 'find' would do).
If you are looking for the "more" pager, you should use the "less" pager
instead.
-@subsection Where can I find "which"?
-
-There is no "which" command with Cygwin. However, you can use the bash
-shell builtin "type" which does something similar.
-
@subsection Why isn't package XXXX available in Cygwin? (Or, why is your package so out of date?)
Probably because there is nobody willing or able to maintain it. It