This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
login xterm session - /etc/profile script adds duplicates to some *PATH vars
- From: Peter Farley <pjfarley3 at yahoo dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 11 Oct 2005 08:02:39 -0700 (PDT)
- Subject: login xterm session - /etc/profile script adds duplicates to some *PATH vars
- Reply-to: cygwin-xfree at cygwin dot com
Hi all,
I noticed a slight problem with three of the *PATH
variables that are set in a login xterm window, such
as the one started by the startxwin.sh script. It
seems to be caused by the /etc/profile script blindly
adding directories to PATH, MANPATH and INFOPATH.
In startxwin.sh, the xterm is started with this:
xterm -e /usr/bin/bash -l &
When you run the following command in that xterm
window, notice the duplicate directories at the start
of the INFOPATH, MANPATH and PATH variables:
set | grep PATH
Is this a Cygwin-X problem, or is this a base Cygwin
problem? I'll gladly report it over on the regular
Cygwin list if needed.
Regards,
Peter
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--
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/