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 Date: Thu, 22 Nov 2001 01:06:43 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: /cygdrive improvements Message-ID: <20011122060643.GA12017@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23.1i 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