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

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Sat, 28 Jul 2007 23:36:29 +0200
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.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Sat Jul 28 2007 - 19:54:21 UTC

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