This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fw: X and startx


/ "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]