From owner-freebsd-questions Wed Nov 22 20:35:12 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA12288 for questions-outgoing; Wed, 22 Nov 1995 20:35:12 -0800 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA12272 for ; Wed, 22 Nov 1995 20:34:56 -0800 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id EAA27958; Thu, 23 Nov 1995 04:33:33 GMT From: Michael Smith Message-Id: <199511230433.EAA27958@genesis.atrad.adelaide.edu.au> Subject: Re: how to "fix" more(1) vs termcap/terminfo? To: scott@statsci.com Date: Thu, 23 Nov 1995 04:33:33 +0000 () Cc: questions@FreeBSD.org In-Reply-To: <199511230121.RAA28566@block.statsci.com> from "Scott Blachowicz" at Nov 22, 95 05:21:47 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1385 Sender: owner-questions@FreeBSD.org Precedence: bulk Scott Blachowicz stands accused of saying: > > This has been annoying me for a while, so...if I page something with 'more' > (as found in my 2.1.0-950928-SNAP system and 2.0.5-RELEASE too, I think) with > my $TERM set to "xterm", it just runs past the end of the file without waiting > for a prompt or anything. Is there any way to get it to ALWAYS prompt at EOF > (even for files smaller than one screen in length)? Your screen size is set incorrectly. Run the 'resize' command to fix it, and use less if you want to pause at EOF. > Or, if that's not possible, how do I tweak my termcap/terminfo > entries to disable the screen contents save/restore? Running past the end of > file without a prompt wouldn't be so bad if it didn't immediately restore the > previous screen contents on exit. I usually hate it when programs do that > (e.g. vi, less and FreeBSD more). Remove the ti/te entries from the xterm termcap. > Scott Blachowicz Ph: 206/283-8802x240 StatSci, a div of MathSoft, Inc. -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[