Re: default pager (csh)

From: Xin Li <delphij_at_delphij.net>
Date: Fri, 20 Feb 2015 18:31:24 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/20/15 18:05, Warren Block wrote:
>> It doesn't do that on csh.  Or maybe I figured out how to prevent
>> it long ago and forgot, but all I use is this:
>> 
>> setenv  PAGER   "less -RS"
>> 
>> 
>> You probably did what I used to do. Modify the termcaps/terminfo
>> to eliminate this behavior. See Exorcising the Evil Alternate
>> Screen.
>> 
>> In the past, FreeBSD disabled this by default. It was changed
>> several years ago, but you can change it back as per the aboved
>> referenced article.
> 
> I'm pretty sure I have not done that, it would show up in
> mergemaster. As far as I can remember, less(1) has never done that
> clear-the-screen thing on FreeBSD, which is why it is so jarring on
> Linux.

Not all terminals will clear screen...

Cheers,
- -- 
Xin LI <delphij_at_delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.2 (FreeBSD)

iQIbBAEBCgAGBQJU5+32AAoJEJW2GBstM+nsZFQP+IoALzoaMRYF+jB9L1kwY+QN
h3mnx6BCjv24nMfnv/wLDvWXQ5N1DY0Di9/RP0YSFxgWetpxQGIf0fDOE2jYAbSW
+xPBMnYfkKWmzenF5W9NxMPi4o6ul/+LIkp1PxGpxHqjktkSFu3lnoeZaI0JB+6U
3XgpyLMsCfKPP1s5jOyn7TcIKQkby69ANUHWN+7Vfcrg7wy7h0cLmEuCfqOjMg0O
CczASshTkCH3JjdwENmT5hwxIKRRqLeqKLvGSyphcZ8FiOl8TKfY+Rnd7wxc9/Cf
/PU4cJFVIYw4v60hknD+Dj3hdgwJYA5pfJY2+8faC5V0qKpsDCnl43xDzKXojJjE
QX74k7fS47bwcAzTZMLD55X95mos6k7pkDdSE+FoEyWld+yCKxxnSGEXE+728xX2
zdpj1OlJLhyijcZXPNYbDmUVbGzjBnWSTcRF73+upeGDtG3Q1cKaCD7ZBx+Eyqq8
r0ILRrINPzW58XzK0i33obT4SqyBKnadCRuSADpKEaEZgjQeDEGhlQ83SBIt2xBr
rqofewSf3jPoN/o03vNaVMRfOT36NT65DOoCjIf0TuEpKbRhfYXb5LVAmt13Bhpv
Uc29/3uOi0r2A1h+2URZ0M5LBJo2NiaNgGRE+TTw4y/+mUwhbMvdOVuRwvYwGatb
2lI/u9fCHmNkyPWf5J8=
=+90O
-----END PGP SIGNATURE-----
Received on Sat Feb 21 2015 - 01:31:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC