delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/13/11:34:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: darkmoon+priv AT world DOT std DOT com (Jeff)
To: cygwin AT cygwin DOT com
Subject: Re: Possible bug in text/binary mode handling in cygwin1.dll version1.5
Date: Mon, 13 Oct 2003 08:11:53 -0700
Organization: Less and less each day..
MIME-Version: 1.0
Message-ID: <5Csi/8Wu7mqJ092yn@world.std.com>
Lines: 25

Vlad wrote:
>In other words, text mode is ignored if Windows-style path is
>specified.
>
>I'm concerned about this behavior because it breaks some 3rd party
>tools that I'm using. In particular, a C compiler chokes on
>multiline macros. As a result, I have to juggle between 1.5 (for normal
>usage) and 1.3 (for running the tools that I've mentioned).
>
>Could somebody please look into fixing this or suggest a workaround?

I noticed this same behavior and posted on it a bit earlier this month. 
I don't have the wrinkles ironed out of my workaround yet, but it will 
use 'cygpath' to convert the Windows-style path name to POSIX. This is 
possible in bash and other shells with a construct like

$ command -option `cygpath c:\whereever\whatever`

My situation is complicated by a chain of software: A newsreader/mail 
user agent which runs in windows console mode calls an editor shell, 
which then calls a Cygwin text editor (one that has no internal line 
terminator handling). I have to get bash in there somewhere to process 
the above command line, complete with metacharacters. :(

Jeff

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