delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Tue, 16 Sep 2003 17:56:39 -0400 |
From: | Christopher Faylor <cgf-rcm AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Displaying shares |
Message-ID: | <20030916215639.GQ23057@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <bk7r6a$dl$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <bk7r6a$dl$1@sea.gmane.org> |
User-Agent: | Mutt/1.4.1i |
On Tue, Sep 16, 2003 at 01:19:44PM -0700, Andrew DeFaria wrote: >This is an enhancement request.... PTC, that is if I knew how to patch >this... Anyways I thought I'd mention it. Haven't seen it mentioned before. > >If you type "\\<server>" in the address bar of the Explorer it will show >you the shares that are "exported". With XP file/path completion happens >in the addressbar and in the File Open dialog boxes. > >However, if you type "ls //<server>" in bash you get No such file or >directory. Also if you type "ls //<server>/sh" and hit tab for file name >completion it does not complete. AFter you pass the <share> portion >filename completion again works (e.g. ls //<server>/<share>/[tab]). > >I've always thought this odd. Any thoughts? Try typing "dir \\server" at the command line. It doesn't work. That's because the windows functions FindFirstFile/FindNextFile don't understand shares. Neither does cygwin. I'm sure that cygwin could be extended to do the right thing in this case using mechanisms similar to what happens with /cygdrive. PGA. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |