X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Sun, 23 Dec 2007 00:26:02 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.5.25-7: problem about bash completion
Message-ID: <20071223052601.GA23767@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <ee03a2470712220143t782852a3w60fd8b9d8e51e4bc@mail.gmail.com> <20071222095758.GC29568@calimero.vinschen.de> <ee03a2470712222102pc7b85e9m9c4f308c0568bceb@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ee03a2470712222102pc7b85e9m9c4f308c0568bceb@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Sun, Dec 23, 2007 at 01:02:23PM +0800, kou yu wrote:
>o, maybe you are right.

It's a good bet that she is.

>But I am a little confused. "//server/share" is the POSIX syntax for
>SMB share paths, but on windows the syntax is "\\server\share".

POSIX *allows* '//something' to have a special meaning.  It doesn't
state that it is necessarily the syntax for SMB share paths.

>And why on linux I input "cd //usr/<tab>", the completion would not
>become slow, i.e. why on linux, the syntax "//xxx/xxx" would not be
>considered as remote SMB share. (except "smbclient //server/share")

Because a '//' has no special meaning on linux.  Both '//server/share'
and '\\server\share' are valid syntax for Windows.

You can believe this or not but Cygwin's behavior is not going to
change.

cgf

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

