www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sat, 26 Dec 2009 19:06:56 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Question on nodosfilewarning |
Message-ID: | <20091227000656.GA21638@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20091226235845 DOT DC3FA3B0003 AT cgf DOT cx> |
MIME-Version: | 1.0 |
In-Reply-To: | <20091226235845.DC3FA3B0003@cgf.cx> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On Sun, Dec 27, 2009 at 12:58:33AM +0100, Jan Alphenaar wrote: >Hi, > >Apparently it is not my week regarding environment variables. Here is >another more simpler question. > >I have set the cygwin environment variable to "nodosfilewarning" as can be >seen on the screendump below, just to make sure, it is done in both upper >and lower case. > >If I execute the command "rsync -rlt -v -e "ssh -F 'C:\Test\Ssh.conf'" . >user AT machine:/Test" I get the warning I know all too well lately. It is >probably because ssh is piped to rsync, but I am not sure about that. > >Does anyone know how to get rid of the message ? > >Any help is appreciated. > >Warm regards, > >Jan > >==== BEGIN SCREENDUMP ==== >C:\Test>echo %cygwin% >nodosfilewarning > >C:\Test>echo %CYGWIN% >nodosfilewarning > >C:\Test>rsync -rlt -v -e "ssh -F 'C:\Test\Ssh.conf'" . user AT machine:/Test >cygwin warning: > MS-DOS style path detected: C:\Test\Ssh.conf > Preferred POSIX equivalent is: /cygdrive/c/Test/Ssh.conf > > CYGWIN environment variable option "nodosfilewarning" turns off this >warning. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames >sending incremental file list > >sent 540 bytes received 15 bytes 1110.00 bytes/sec >total size is 6814258 speedup is 12277.94 Apparently rsync is resetting some environment variables. You need to somehow make sure that CYGWIN is set in the environment in which ssh is being run. Either that or just use /cygdrive/c . cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |