Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2000 19:17:00 -0400
From:      Tim Vanderhoek <vanderh@ecf.utoronto.ca>
To:        Brian Fundakowski Feldman <green@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/more prim.c
Message-ID:  <20000521191659.C11540@mad>
In-Reply-To: <Pine.BSF.4.21.0005211805270.54798-100000@green.dyndns.org>; from Brian Fundakowski Feldman on Sun, May 21, 2000 at 06:20:24PM -0400
References:  <20000521174623.A10303@mad> <Pine.BSF.4.21.0005211805270.54798-100000@green.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 21, 2000 at 06:20:24PM -0400, Brian Fundakowski Feldman wrote:
> 
> > I agree, but this commit kinda breaks reading short files when -e is
> > specified.  It probably also breaks tags and searches in some
> > instances, but I didn't bother testing.  It needs to be done differently.
> 
> I don't see any differences here, actually.

Look closer.  :-)  Compare before and after when viewing a 5 line file
with the -e option.  The "...skipping..." is sometimes needed.


> It happens all the time in X terminals, and is extremely distracting when
> scrolling around since it makes everything jump up and down.  I think this
> is a good idea (the heuristic), as it would solve the problem pretty well.

Noted.


> that it doesn't help.  It's also undocumented... maybe we should look
> at what some of the other pagers do?

less implies the -c option when it redraws the screen for a short
file (my planned solution).  most uses a full screen regardless.

An alternate solution is to uses cursor addressing / movement, if
possible, to simply redraw the affected parts of the screen when
viewing a short file (and related tags and search cases).  Some people
may prefer this solution.


-- 
Signature withheld by request of author.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000521191659.C11540>