From owner-freebsd-current@FreeBSD.ORG Sat Jul 28 21:54:21 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDE6A16A419; Sat, 28 Jul 2007 21:54:21 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 817B513C45A; Sat, 28 Jul 2007 21:54:21 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 213F92089; Sat, 28 Jul 2007 23:36:30 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id A13ED2085; Sat, 28 Jul 2007 23:36:29 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 8A32A84445; Sat, 28 Jul 2007 23:36:29 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: deischen@freebsd.org References: Date: Sat, 28 Jul 2007 23:36:29 +0200 In-Reply-To: (Daniel Eischen's message of "Sat\, 28 Jul 2007 10\:19\:04 -0400 \(EDT\)") Message-ID: <86vec4dxcy.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: TERM={xterm-r5,xterm-r6} behaving badly with man(1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 21:54:22 -0000 Daniel Eischen writes: > Sometime in the last few months, something changed (broke IMHO) when > using TERM=3Dxterm-r5 or TERM=3Dxterm-r6. I've been setting TERM=3Dxterm= -r5 > when logging in to my BSD boxes remotely from my Solaris boxes, so that > man(1) works. But after updating my relatively old (May?) -current > box, xterm-r5 and xterm-r6 no longer do the right thing when using > man. With TERM set to either one of those, man(1) will clear the > screen after it is done, leaving no trace of the man page behind. This is the *correct* behaviour. The termcap entry is supposed to reflect the capabilities of the terminal, not your personal preferences. If you don't like it, you can override it using the TERMCAP environment variable. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no