www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/16/04:15:31

From: hawkeye AT tcp DOT com (Hawkeye)
Subject: Re: Absolute file-path under bash (cygwin32)
16 Apr 1997 04:15:31 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199704160854.BAA13479.cygnus.gnu-win32@tcp.com>
Original-To: papresco AT calum DOT csclub DOT uwaterloo DOT ca (Paul Prescod)
Original-Cc: jeffdb AT netzone DOT com, gnu-win32 AT cygnus DOT com
In-Reply-To: <33541630.B6463D08@calum.csclub.uwaterloo.ca> from "Paul Prescod" at Apr 15, 97 07:58:40 pm
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> 
> Mikey wrote:
> > 
> > Not from bash.
> > 
> > vim(){
> > vim.exe `dospwd.sh $*`
> > }
> > 
> > try that,it's a little slow ;^), but I think it will work, and you only
> > have to set it up once, in .bashrc.
> 
> Once per non-cygwin executable that you want to use from within bash!
> What if "ld" marked cygwin executables with some sort of magic code?
> Then bash could fix up arguments to non-cygwin executables.

That could only ever work partially, at best.  Filenames aren't
necessarily distinct words in the argument list (consider an option
like "-I/usr/local/include"), and every word in the argument list
shouldn't necessarily be interpeted as a cygwin filename (consider
"echo dir /w >foo.bat").  The only "right" place to interpret filenames
is in the API calls made by an application.

===========================================================================
Ken Keys            hawkeye AT tcp DOT com            http://tf.tcp.com/~hawkeye/
---------------------------------------------------------------------------
TinyFugue info: http://tf.tcp.com/~hawkeye/tf/
TF version 3.5 beta 4 for UNIX and OS/2 is available at:
  ftp://tf.tcp.com/pub/tinyfugue/ and ftp://ftp.tcp.com/pub/mud/Clients/tf/
TF mailing list: mail to majordomo AT tcp DOT com, with body "subscribe tinyfugue"
===========================================================================
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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