TERM={xterm-r5,xterm-r6} behaving badly with man(1)
Dag-Erling Smørgrav
des at des.no
Sat Jul 28 21:54:22 UTC 2007
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
More information about the freebsd-current
mailing list