From owner-freebsd-questions Wed Nov 29 11:35:35 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA12605 for questions-outgoing; Wed, 29 Nov 1995 11:35:35 -0800 Received: from block.statsci.com (block.statsci.com [198.145.127.26]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA12585 for ; Wed, 29 Nov 1995 11:35:18 -0800 Received: from localhost (localhost [127.0.0.1]) by block.statsci.com (8.6.12/8.6.9) with SMTP id LAA05211; Wed, 29 Nov 1995 11:34:29 -0800 Message-Id: <199511291934.LAA05211@block.statsci.com> To: Chuck Robey cc: Michael Smith , questions@freebsd.org Subject: Re: how to "fix" more(1) vs termcap/terminfo? In-reply-to: Your message of "Tue, 28 Nov 1995 21:03:46 -0500." Reply-to: scott@statsci.com Date: Wed, 29 Nov 1995 11:34:27 -0800 From: Scott Blachowicz Sender: owner-questions@freebsd.org Precedence: bulk Chuck Robey wrote: > Can I ask a question? ti/te codes in termcap are codes intended to allow > complicated tercap-ized programs (programs that need to put your terminal > in some nonstandard state to get complete cursor control) a good way to > reset the terminal 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 :-)). At the moment, 'less' (v290?) has an option to ALWAYS pause at EOF. If using a termcap entry with ti/te caps that cause screen restoration, that behavior is required. The FreeBSD 'more' has an option to pause at EOF, 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. Scott Blachowicz Ph: 206/283-8802x240 StatSci, a div of MathSoft, Inc. 1700 Westlake Ave N #500 scott@statsci.com Seattle, WA USA 98109 Scott.Blachowicz@seaslug.org