delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <D44EACB40164D311BEF00090274EDCCA0106AA30@SYDNEYMAIL1> |
From: | Mark Robinson <mark DOT robinson AT baltimore DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: A problem with "less" |
Date: | Thu, 15 Feb 2001 17:47:53 +1100 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
> At 12:02 PM 1/19/2001, Ivan Dobrianov wrote: > >I have been using cygwin B20 on WinNT/2000 for quite some time now and > >quite happily. > > > >I have a small problem with less on "most" machines: the 'G' command (go > >to end of file) doesn't work right. It clears the screen and prints the > >first line at the bottom. 'g' (go to the top) works just fine as do most > >other basic commands (e.g. '88g' goes to the 88th line, '90p' goes to > >90% of the file etc). If I say "less --help", the 'G' works right > >though! It also seems to work right on all files on at least one > >machine. > > > >Any guesses as to what may be wrong? from my own testing i believe this problem revolves around the handling of line terminators. files containing CR/LF exhibit the problem; those with LF only don't. furthermore, if you mount directories with the "-b" option the problem disappears (i have no idea what this might screw up in other areas though). cheers mark -- *** Festina lente *** Mark Robinson 1 James Place System Architect mrobinson AT baltimore DOT com North Sydney Baltimore Technologies +61 2 9409 0454 Australia -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |