Re: TERM={xterm-r5,xterm-r6} behaving badly with man(1)

From: Daniel Eischen <deischen_at_freebsd.org>
Date: Sat, 28 Jul 2007 23:50:07 -0400 (EDT)
On Sat, 28 Jul 2007, Dag-Erling Smørgrav wrote:

> Daniel Eischen <eischen_at_vigrid.com> writes:
>> Sometime in the last few months, something changed (broke IMHO) when
>> using TERM=xterm-r5 or TERM=xterm-r6.  I've been setting TERM=xterm-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.

Well, something did change recently to get this behavior.  And why
do we have a termcap xterm entry that doesn't exhibit this behavior?

-- 
DE
Received on Sun Jul 29 2007 - 02:04:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC