From owner-freebsd-questions Wed Nov 29 12:27:30 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA17124 for questions-outgoing; Wed, 29 Nov 1995 12:27:30 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA17119 for ; Wed, 29 Nov 1995 12:27:26 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id NAA21051; Wed, 29 Nov 1995 13:29:45 -0700 Date: Wed, 29 Nov 1995 13:29:45 -0700 From: Nate Williams Message-Id: <199511292029.NAA21051@rocky.sri.MT.net> To: scott@statsci.com Cc: Michael Smith , questions@freebsd.org Subject: Re: how to "fix" more(1) vs termcap/terminfo? In-Reply-To: <199511291934.LAA05211@block.statsci.com> References: <199511291934.LAA05211@block.statsci.com> Sender: owner-questions@freebsd.org Precedence: bulk > My impression of the evolution of things is that things happened in > roughly this order > > 1) more doesn't use ti/te caps. > 2) less does use ti/te caps for whatever reason. Maybe just because it > gave the screen restoration behavior (that I find generally annoying) > under some termcap entries. > 3) FreeBSD more acquires features from less (after all less is more :-)). Actually, 4.4BSD more *IS* less that was hacked to behave more like traditional more. If you look at the sources to the 4.4 version of more and less, they are very similar. > but only if more than one screenful has been presented. I think one or > more of these should happen: > > 1) the 'more' -e option should be modified to ALWAYS pause at EOF (as less > 290 does). > 2) 'more' should always ignore the ti/te caps. > 3) 'more' should have an option to cause it to ignore the ti/te caps. > 4) We should ignore the problem and tell people to remove the ti/te caps > from their "custom" termcap if they have this problem. > > I think that, if I ever get time to do so, I'll probably do a send-pr with > a patch to accomplish #1 above included. I suspect that in the move to make 'less' more-like, something got lost in the translation. :( Nate