delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/06/18:24:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4820DA8B.7030701@veritech.com>
Date: Tue, 06 May 2008 18:24:11 -0400
From: "Lee D. Rothstein" <lee AT veritech DOT com>
Reply-To: lee AT veritech DOT com
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: how to change dir & POSIX
References: <17070344 DOT post AT talk DOT nabble DOT com> <f60fe000805051343p7f7f1585hd556dba71f93d408 AT mail DOT gmail DOT com> <000a01c8aef3$0e5708d0$c704d98d AT cit DOT wayne DOT edu> <481FA2A7 DOT 1000809 AT veritech DOT com> <20080506125808 DOT GB25285 AT ednor DOT casa DOT cgf DOT cx> <4820963F DOT 9080708 AT veritech DOT com> <20080506192332 DOT GA26246 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20080506192332.GA26246@ednor.casa.cgf.cx>
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Christopher Faylor wrote:

 >>> Note that this will give you a warning in Cygwin 1.7 since you are
 >>> using non-POSIX path names.

 >> I do hope there will be an option with an alternative environment
 >> variable setting that will direct the warning to /dev/null ?

 > You could try it and see:

 > http://cygwin.com/snapshots/

I appreciate the offer. However, I've had so much trouble with Vista
(especially with Cygwin) that I'll wait till I don't need two configs.

 >> The credo of Cygwin, it seems to me, has always been:

 >> Give Windoze users a shot at the richness and wisdom of GNU/UNIX
 >> without making their lives any more miserable than MBRH (Mr.  Bill and
 >> the Redmond Hordes) has already done.

 > Cygwin's goals are more-or-less summarized in the first few sentences on
 > the web site.

 > While it may be possible now to use Cygwin without understanding what
 > POSIX paths are or what Linux is, it is not a primary goal of the
 > project to make MS-DOS path names work transparently.  The fact that
 > they do work in most cases is fortunate but it is not a primary goal.
 > And, in many cases people get into trouble using MS-DOS paths because
 > they don't understand that the tools prefer POSIX.

I fully understand POSIX paths, 'mount's, 'ln' links, 'cygpath',
'chere', etc. (And BTB, IMHO, the GNU folks have been right more
often than the IEEE folks [POSIX] about how UNIX/GNU/Linux should
work. So, any attempts to enforce POSIX would fall on deaf ears
in my case [and I'm an ex-officer of IEEE]. Can't we turn on and
off POSIX correctness with a 'bash' switch?)

And too, I understand and agree with your point about Cygwin
users needing to understand the differences between Windoze and
GNUish paths of any "sect".

My point was:

  Cygwin rocks.
 
  At times, on Windoze, my work requires me to go between the
  native Win GUI apps and Cygwin terminal/console windows,
  intermittantly, as might also be the case with the other users
  (including a newbie) to which my response was directed.

  In such case, it's handy to be able to:

  cd 'x:\any windows\path will also\work'

  having copied "x:\any windows\path will also\work" from the path
  box of Explorer, or another WinGUI app.

  In the other direction:

  I wrote a script that "Windozes" the clipboard path:
  --
  #!/usr/bin/bash

  # wp: convert GNUish Path on Clipboard to Windows format

  cygpath --windows "$(getclip)"|putclip
  -- 
  Of course, after I do the copy to the clipboard, I must enter
  'wp' at a Cygwin prompt, before I paste the path into a Win GUI
  app "box".

  Actually, I've rethought my initial request--that you responded
  to--and realize that I could always handle the problem with a
  script/function of my own. So, as the esteemed Emily Letella
  used to say, "Never Mind!" [We miss you, Gilda.]
 
  However, even that approach requires that Windows paths are
  understood in perpetuity (of the Cygwin development).

  If that is not the case, it will make the usefulness of Cygwin
  to me, quite a lot less than it has been.
 
  Cygwin Rocks (if you have to live with Windoze)! (If you have a
  Mac, /for example/, you don't need Cygwin because the base
  platform is BSD!)


--
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/

- Raw text -


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