From owner-cvs-all Sun May 21 16:17:10 2000 Delivered-To: cvs-all@freebsd.org Received: from tomts3-srv.bellnexxia.net (tomts3.bellnexxia.net [209.226.175.141]) by hub.freebsd.org (Postfix) with ESMTP id 1F4E237B7DB; Sun, 21 May 2000 16:17:04 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: from localhost.nowhere ([209.226.183.83]) by tomts3-srv.bellnexxia.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP id <20000521231701.QPHH25676.tomts3-srv.bellnexxia.net@localhost.nowhere>; Sun, 21 May 2000 19:17:01 -0400 Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id TAA11829; Sun, 21 May 2000 19:17:00 -0400 (EDT) (envelope-from tim) Date: Sun, 21 May 2000 19:17:00 -0400 From: Tim Vanderhoek To: Brian Fundakowski Feldman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/more prim.c Message-ID: <20000521191659.C11540@mad> References: <20000521174623.A10303@mad> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Brian Fundakowski Feldman on Sun, May 21, 2000 at 06:20:24PM -0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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