delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Authentication-Warning: | hamble.wc.cray.com: bradc owned process doing -bs |
Date: | Thu, 29 May 2003 12:38:57 -0700 (PDT) |
From: | Brad Chamberlain <bradc AT cray DOT com> |
X-X-Sender: | bradc AT hamble DOT wc DOT cray DOT com |
To: | cygwin AT cygwin DOT com |
Subject: | cygwin tcsh 6.12.00 problem and fix |
Message-ID: | <Pine.GSO.4.44.0305291229460.25414-100000@hamble.wc.cray.com> |
MIME-Version: | 1.0 |
X-Cray-VirusStatus: | clean |
Though a long-time cygwin user, I've just installed it on a new laptop and ran into a tcsh problem whose solution I thought might benefit others. Note that I am not subscribed to this mailing list, so any responses should be mailed to me directly. Problems in /etc/profile.d/complete.tcsh. ----------------------------------------- When getting my new laptop (for work), the HOME variable was set by default to point to my C:\Documents and Settings folder. While I realize this isn't cygwin's favorite location, I didn't want to bother changing it if I could, in case my work had other reasons for setting it in such a manner. The spaces in this variable seemed to cause problems in the complete.tcsh startup script, due to inadequate quoting of the pathname. I'm not sure if this is something the cygwin community cares about supporting or not, but here are the changes I made to make it work: brad-xp-lap% diff complete.tcsh complete.tcsh~ 30c30 < if ( -r "$HOME/.netrc" ) then --- > if ( -r $HOME/.netrc ) then 236c236 < if ( -f "$HOME/.mh_profile" && -x "`which folders`" ) then --- > if ( -f $HOME/.mh_profile && -x "`which folders`" ) then 643c643 < if (-r "$HOME/.mailrc") then --- > if (-r $HOME/.mailrc) then Thanks for developing and maintaining such a fine product, -Brad -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |