delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/03/16:30:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Rene <rene AT dispostable DOT com>
Subject: C$ share and filename completion
Date: Sun, 3 Jul 2011 20:16:22 +0000 (UTC)
Lines: 38
Message-ID: <loom.20110703T221427-215@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

I have the two files "myfile1.txt" and "myfile2.txt" on
drive C of the server "myserver". I am using bash and
want to edit one of the files via the C$ share.

First I type
$ vi //myserver/c$/myf<TAB>

This gets expanded to
$ vi //myserver/c\$/myfile

After I add the "1" for file one like this
$ vi //myserver/c\$/myfile1<TAB>
I receive the following warning:

cygwin warning:
  MS-DOS style path detected: //myserver/c\$/
  Preferred POSIX equivalent is: //myserver/c/$/
  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

So cygwin thinks that I am using a non-POSIX path. The
suggested path //myserver/c/$/ is definitely wrong.

I am using the following versions:

$ cygcheck -c cygwin bash bash-completion
Cygwin Package Information
Package              Version        Status
bash                 4.1.10-4       OK
bash-completion      1.3-1          OK
cygwin               1.7.9-1        OK

Many thanks,
Rene



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019