Message-Id: <200912262358.nBQNwhD1002113@delorie.com>
X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=4.4 required=5.0 	tests=AWL,BAYES_50,MISSING_MID,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP
X-Spam-Check-By: sourceware.org
From: "Jan Alphenaar" <jan.alphenaar@dotcolour.com>
To: <cygwin@cygwin.com>
Subject: Question on nodosfilewarning
Date: Sun, 27 Dec 2009 00:58:33 +0100
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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@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@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
==== END SCREENDUMP ====


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

