Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <03cd01c1732b$08b28630$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <20011122060643 DOT GA12017 AT redhat DOT com> Subject: Re: /cygdrive improvements Date: Thu, 22 Nov 2001 18:55:20 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 22 Nov 2001 07:55:13.0703 (UTC) FILETIME=[045C4B70:01C1732B] When do you think you'll have time to tell me how you want the files laid out for the daemon, so we can do that post-1.3.4 merge? Rob === ----- Original Message ----- From: "Christopher Faylor" To: Sent: Thursday, November 22, 2001 5:06 PM Subject: /cygdrive improvements > I've just made some changes to cygwin. > > I've added opendir, readdir, telldir, etc. methods to the fhandler > class. > > I also implemented /cygdrive as a special "device" in cygwin. Cygdrive > inherits most of its methods from fhandler_disk_file except for the opendir > ones. > > I've implemented the directory handling methods for cygdrive so that you > can now do this: > > % ls /cygdrive > a c d e > > This allows completion in shells like zsh. > > The only thing wrong with this currently is that zsh times out trying to > read the floppy drive the first time. > > This is probably not the most elegant way of doing things. We maybe > should have another directory handling layer and yada, yada. If you've > been reading this mailing list for any length of time, you know all of > the arguments. > > I just thought it would be fun to implement things this way and it was. > It wasn't even that ugly. > > Anyway, I'll probably let this percolate for a while and then release > 1.3.6. I'm sure that I have screwed up something that needs some > attention but, for now, I'm going to bed to dream of turkey. > > cgf >