ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/07/10/07:44:13

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
From: michael-ring AT t-online DOT de (Michael Ring)
To: cygapp <cygwin-apps AT sourceware DOT cygnus DOT com>
Subject: Re: vim-5.7-2 (Bugfix-version) available for testing
Date: Mon, 10 Jul 2000 13:46:29 +0200
Message-ID: <79djms8bli4jn2cvbjpn3hu0siap1bua9n@4ax.com>
References: <tba7mssm164nmvl324dt37knq51q4dot3h AT 4ax DOT com> <20000705175943 DOT B4484 AT cygnus DOT com> <eec7msgntnbbbmf1okmqp9rvg9taigghl7 AT 4ax DOT com> <20000705182408 DOT D4211 AT cygnus DOT com> <39644EBC DOT 14C8CF9A AT cygnus DOT com>
In-Reply-To: <39644EBC.14C8CF9A@cygnus.com>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0
X-Sender: 320032306730-0001 AT t-dialin DOT net
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAA15278

On Thu, 06 Jul 2000 11:17:48 +0200, you wrote:

>Chris Faylor wrote:
>> Doesn't this just revert to one fopen() somewhere?  I don't see how my
>> recent changes help the problem.

I just checked how vim reacts when linked to textmode.o (sorry for the
delay, I was ill and bound to my bed)

The behaviour is exactly as Corinna thougt, vim runs perfectly now and
without any need for additional patches. It now does not complain
anymore about ^M's in it's config files anymore.

vim -b still works fine, it seems to me that the open's for the text
to edit is handled by fopen(always binary) and that open is used for
it's own config-files.

>IMO, your new binmode/textmode stuff is the better solution
>since it allows to use the application without changing
>the sources.

Some comments:

I updated from cvs perhaps an hour ago and rebuilt cygwin1.dll. 
After installing I found a binmode.o in /usr/lib but could not find
textmode.o. I checked the makefile and yes, only binmode.o is
mentioned in the install rule.

Is that on purpose?


$(LIBGMON_A) $(LIB_NAME) binmode.o textmode.o

all_host: new-$(LIB_NAME) cygrun.exe


install: all $(install_host) $(install_target)
        $(INSTALL_DATA) new-$(DLL_NAME) $(bindir)/$(DLL_NAME); \
        for i in $(LIB_NAME) $(GMON_START) $(LIBGMON_A) binmode.o ; do


- Raw text -

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