Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2000 07:08:25 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Tim Vanderhoek <vanderh@ecf.utoronto.ca>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/more prim.c
Message-ID:  <Pine.BSF.4.21.0005220704280.73662-100000@green.dyndns.org>
In-Reply-To: <20000521191659.C11540@mad>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 May 2000, Tim Vanderhoek wrote:

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

Well, to be honest, I don't see the advantage it's supposed to have.

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

I actually like what most(1) does in almost every case.  It's got a lot
of nice features, but is missing things like tag support...

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

Writing to an off-screen curses window and having curses handle updating the
on-screen window would solve the problems people have with(out) -c.  I
think it makes a lot of sense to gain the redrawing advantages of curses.

> 
> -- 
> Signature withheld by request of author.
> 

--
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



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?Pine.BSF.4.21.0005220704280.73662-100000>