delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/19/15:09:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BA8EDF8.D2D7F8AD@inti.gov.ar>
Date: Wed, 19 Sep 2001 16:11:52 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Reply-To: salvador AT inti DOT gov DOT ar
Organization: INTI
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cygdrive stuff

Hi All:

  I'm porting Turbo Vision to Cygwin, some users wants RHIDE working for
Cygwin and they are helping.
  So I installed it to test patches they sent me (quite messy ones). As TV
already supports MinGW and BC++ 5.5 there is no need to add new code, just
select the right one.
  One thing the patches messed was the drive letters stuff. I see a lot of
things changed since the last Cygwin I tried (B20 that failed to link TV
applications due to internal errors in Cygwin). One is that things like "cd
c:; pwd" gives /cygdrive/c (or something similar).
  I think that's ok if the idea is to offer a POSIX style environment. But
what I find unconfortable is the following two details:

1) "ls -la /" doesn't show any cygdrive directory. Note it could be solved
in the same way UNIX solves the /proc stuff, just mounting over an existent
directory a fake one.
2) "ls -la /cygdrive" doesn't work.

I didn't try to use stat by it will obviously fail.
IMHO they should work, at least 2. I could be in a huge mistake but I think
any POSIX program will think that /cygdrive/c/file could be decomposed to
cygwin c file and also try to access the intermediate points.
I also think supporting (2) could make things really easy, example: you want
to know what drive letters exist in a "POSIX" way, ok, just consult
/cygdrives.
What's the Cygwin people thinks about this topic?

Greetings, SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set AT computer DOT org set AT ieee DOT org
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019