Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 1995 13:29:45 -0700
From:      Nate Williams <nate@rocky.sri.MT.net>
To:        scott@statsci.com
Cc:        Michael Smith <msmith@atrad.adelaide.edu.au>, questions@freebsd.org
Subject:   Re: how to "fix" more(1) vs termcap/terminfo? 
Message-ID:  <199511292029.NAA21051@rocky.sri.MT.net>
In-Reply-To: <199511291934.LAA05211@block.statsci.com>
References:  <Pine.SUN.3.91.951128205826.25291E-100000@latte.eng.umd.edu> <199511291934.LAA05211@block.statsci.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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