delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/19/07:43:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19991019074238.A8000@ba.best.com>
Date: Tue, 19 Oct 1999 07:42:38 -0400
From: Glenn Spell <glenn AT gs DOT fay DOT nc DOT us>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: 1999-Oct-15 Snapshot is Great
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
Mime-Version: 1.0
X-Mailer: Mutt 0.93.2i
Organization: the aerie

From the 99-Oct-15 Changelog:
Thu Oct 14 23:46:03 1999 Christopher Faylor <cgf AT cygnus DOT com>
        * fhandler.cc (fhandler_base::read): Fix potential buffer
        overrun.  Fix end of buffer problems when \r is not followed
        by a \n.

Thanks Chris, Cygwin is looking better and better.

(Actually, I'm using the latest snapshot, not Oct 15.)

(BTW, congratulations on the new release.)

Here's a little story that relates to the above fix. Back in August,
I spent hours and hours trying to come up with a small 'more' for
Cygwin. The Cygwin port of less doesn't seem to deal with wrapped
lines properly and besides, it's just too big. I've been using a
port of BSD pmake for some time. I took that and went to work on
</NetBSD-current/src/distrib/utils/more.tar.gz>.  It builds fine with
an executable size of just 28K. But I could not figure out how to get
it to handle line endings properly.  I finially gave up on it. I just
figured it was related to Win95 and lseek.

Then, I converted an old less version 178 to more, including a
'morekey' :-), so I could use both it and the newer less with no
interference. The size of this one is 48.5K. It works great.

When I read that changelog I remembered the problems with the small
NetBSD more... so I pulled it out of mothballs and...  it too works
great! No more problems with line endings.

BTW, where did you get the more and other BSD stuff that's included
on the CD?

I've also got a small vi, 83.5K. It's a port of a tiny Elvis, version
1.4 that I got from Debian. My intent is to make this stuff available
when I get time.

Again, thanks.

-glenn

-- 
  ________________________________________      _       _____
 )                                        )_ _ (__\____o /_/_ |
 )    Glenn Spell <glenn AT gs DOT fay DOT nc DOT us>    )     >-----._/_/__]>
 )________________________________________)               `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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