Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 09:19:41 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-hackers@freebsd.org
Subject:   Re: default pager (csh)
Message-ID:  <54E5AAAD.7080002@infracaninophile.co.uk>
In-Reply-To: <54E59BF7.40207@freebsd.org>
References:  <CACYV=-GBD5FmnsQr=KC6Wc9qZ9UAFPQgPmNyS5Jr6Vs2G7dGjA@mail.gmail.com> <54E5232F.3060409@delphij.net> <54E59BF7.40207@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--MSqKeAM9o1Fn3aV2kicNqeS6Ej77iEoeo
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 02/19/15 08:16, Julian Elischer wrote:
> On 2/18/15 3:41 PM, Xin Li wrote:
>>
>> The _only_ reason that I can think of is that more(1) does not clear
>> screen for certain terminals (done with 'ti' and 'te' sequences),
>> while less(1) when running as less does.
>>
>> The less(1) behavior can be annoying to some people (sometimes even
>> myself when using less to show contents of a file and ^Z to paste
>> them), and unfortunately quite a few of them also happen to be the
>> more vocal ones when it comes to a change.
>=20
> I find that behaviour infuriating
>=20
> I page down to a place to get some text on the screen to use as  a
> reference, then exit to run a command with that information, and *bam*
> the info I wanted to use has gone away.

Absolutely.  Especially as the behaviour under tmux is to clear screen
unlike when just logged into a regular session.

setenv LESS -X

fixes that...

	Matthew


--MSqKeAM9o1Fn3aV2kicNqeS6Ej77iEoeo
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJU5aquXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnOhkP/Aonj/fqRbV/ne+IOibT+zTW
jrmPoaDDiCdiTjFoCLT8xTc65ikcHc54yLOosvIxjUfsxdkSgLcRlyA0BW/HTLN3
+EK2XF0Ql88PUC1bn2vFeO2RH/5yWz1YV/lJCJsVbShI8nsuJw2pfVGme7T07bba
3gpPRdQ7rLsstsldCrwi3nPl6iFgP2m7tGYKUdJnSDXdbeugKvRkHEaefjvFB75B
vTdSMGbQDzdkHxWK8SVgobwK9WPdkyo9cwn/4gQK8UZFdqF999OBK+pxDxSO/VL+
UWNpH1ykSYT/d/YN2+9QhJnBFJ7yRIXDLzBjc5RoFQ0+9B0esAGQhGmXIpL61Rnp
dKVBZPLv1COQhCi5vFiFsLjQGydAg/+QjeLmdisYzmWXNoy9YlvM2bLVdBlMtGOb
Ss9LUsRJEWYtQIhBR5095f02dZeEMKcWMCE0VoGhedDYsxuXP2kHpnOWS2t7pUjW
5/NkiNgldxJObcNab0i09qkKGkfKtx21RvuVSpeQivjyGN+uUEgKCeRKxvZ9i2jS
JUnCbQYfZg1Vqqvf3k/gJePJaGbitIL+dG+UNDiuy2WV9JVlQpTVagSXzRAy4muU
A4lNn+Ne84NS6SzMFmXrvNobVOt2GtBgOsrz5NCKQjomxGNznorooWELzqXtcRTB
sx0YEor/VkxF2OFKmYcz
=hhOf
-----END PGP SIGNATURE-----

--MSqKeAM9o1Fn3aV2kicNqeS6Ej77iEoeo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E5AAAD.7080002>