delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/16/12:47:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4714EAE5.3030207@cygwin.com>
Date: Tue, 16 Oct 2007 12:46:29 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment
References: <382254 DOT 17835 DOT qm AT web81609 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <382254.17835.qm@web81609.mail.mud.yahoo.com>
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

Graig wrote:
> Eric -
> 
> In that original email your were replying to John Cowan, so I thought you
> were talking about coding approaches. From your message posted to the Cygwin
>  list, I take it you were offering me, the end user, a way to solve the 
problem.
> 
> I know about d2u and could use that now that I know what the problem is,
> but I'm not familiar with binary vs text mounts on a Windows system. I'm
> referencing the ignore file with the command line option of
> "--ignore-file=ptx_ignore.txt". How do I involve a text mount with that?


text/binary modes are controlled through the Cygwin mount points.  See the
Users Guide sections below to get more detail:

<http://cygwin.com/cygwin-ug-net/using-textbinary.html>
<http://cygwin.com/cygwin-ug-net/using-utils.html#mount>


> Another aspect of this problem from the end user point of view is the
> different behavior in the handling of the ignore file vs the main data input
> file. I constructed both files in the same way (using vim on Windows). ptx
> reads and processes the standard input just fine, but from the user's point
> of view, just ignores the content of the ignore file. :-)


If you're using Cygwin's vim, then this won't write text format files by
default.  So see your ~/.vimrc or global vimrc file for settings that make
it use text mode.  If you're talking about the Windows port of vim, then
that's likely your problem.  Set "fileformat=unix" in your ~/.vimrc file
to avoid this pitfall.


> If nothing else, it would help if the man page for ptx had something
> about  this issue.


This is a general Windows issue, not a ptx problem.  If you feel this
needs to be done, you can champion the cause but it's better if you take
it upstream.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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