public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Qwer Zxcv <partner4progress@yahoo.com>
To: Max Bowsher <maxb@ukf.net>
Cc: cygwin@cygwin.com
Subject: Re: what determines cygwin path?
Date: Fri, 25 Apr 2003 23:59:00 -0000	[thread overview]
Message-ID: <20030425223820.89543.qmail@web14811.mail.yahoo.com> (raw)
In-Reply-To: <004701c30b78$9019b210$78d96f83@pomello>

Qwer Zxcv wrote:
>>> So what I'd like to know is, how is cygwin's path determined?
>>> (Apparently not entirely by the windows path, at least not by
>>> default.) And how do I fix it?

Max Bowsher wrote:
>> Windows + /etc/profile + any user customisation.

Can you be more specific about "any user customisation"?
I know how to fix the windows path. I know how to fix /etc/profile,
which is currently

> qwerzxcv@qwerzxcv /d/bin/cygwin/1.3.13-1/bin
> $ less ../etc/profile
> PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

> USER="`id -un`"

> # Set up USER's home directory
> if [ -z "$HOME" ]; then
>   HOME="/home/$USER"
> fi

> if [ ! -d "$HOME" ]; then
>   mkdir -p "$HOME"
> fi

> export HOME USER

> for i in /etc/profile.d/*.sh ; do
>   if [ -f $i ]; then
>     . $i
>   fi
> done

> export MAKE_MODE=unix
> export PS1='\[\033]0;\w\007
> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> $ '

> cd "$HOME"

thus seems not to be problematic. What I don't know is, in

> PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

* Where are

  /usr/local/bin:/usr/bin:/bin

  set?

* Is $PATH (at the end) coming only from the windows path, or from
  somewhere else?

* What other user customizations are relevant?


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

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

  reply	other threads:[~2003-04-25 22:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-25 21:38 [newbie] how to install cygwin by version? and fix breakage? Qwer Zxcv
2003-04-25 22:05 ` Max Bowsher
2003-04-25 22:34   ` Qwer Zxcv
2003-04-25 22:38     ` Igor Pechtchanski
2003-04-25 23:52       ` Qwer Zxcv
2003-04-25 23:06   ` what determines cygwin path? Qwer Zxcv
2003-04-25 23:41     ` Max Bowsher
2003-04-25 23:59       ` Qwer Zxcv [this message]
2003-04-26  0:00         ` Igor Pechtchanski
2003-04-26  0:29           ` rollback procedure, was: " Qwer Zxcv
2003-04-26  0:38             ` Igor Pechtchanski
2003-04-26  0:10         ` Max Bowsher
2003-04-26  2:04           ` rollback procedure, was: " Qwer Zxcv
2003-04-26  2:48             ` Max Bowsher
2003-04-26  3:09               ` rollback procedure Qwer Zxcv
2003-04-26  4:53                 ` Igor Pechtchanski
2003-04-26 15:18                   ` setup re-install, or rollforward procedure? Qwer Zxcv
2003-04-26 15:48                     ` Elfyn McBratney
2003-04-26  3:03             ` rollback procedure, was: what determines cygwin path? Igor Pechtchanski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030425223820.89543.qmail@web14811.mail.yahoo.com \
    --to=partner4progress@yahoo.com \
    --cc=cygwin@cygwin.com \
    --cc=maxb@ukf.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).