1.5.25-7: problem about bash completion

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sun Dec 23 12:14:00 GMT 2007


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/



More information about the Cygwin mailing list