This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Fw: X and startx
- To: "Dave Cook" <duck at caveduck dot com>
- Subject: Re: Fw: X and startx
- From: Andrew Markebo <flognat at flognat dot myip dot org>
- Date: 23 May 2001 13:04:14 +0200
- Cc: <cygwin-xfree at cygwin dot com>
- References: <002201c0e375$3db84860$6800a8c0@dbca950>
/ "Dave Cook" <duck@caveduck.com> wrote:
| Regarding getting /usr/X11R6/bin on the path, I'd prefer to be as *nix-like as possible,
| while making things easy for J. Random User if we can.
|
| This means getting /usr/X11R6/bin onto $PATH in /etc/profile. I am right now
| looking at a running RH7.1 system that contains at the top of /etc/profile:
|
| if ! echo $PATH | /bin/grep -q "/usr/X11R6/bin" ; then
| PATH="$PATH:/usr/X11R6/bin"
| fi
|
| Now the stock Cygwin /etc/profile (unlike the Linux one) actually sets a default PATH on
| the first line via
Is /etc/profile _always_ read?? If you just run bash from a
command-prompt (not login), isn't it supposed to inherit the
environment from where it started.
/Andy