From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 19 09:20:12 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B6714A9 for ; Thu, 19 Feb 2015 09:20:12 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E0786785 for ; Thu, 19 Feb 2015 09:20:11 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t1J9JgsA043541 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 19 Feb 2015 09:20:03 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t1J9JgsA043541 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1424337604; bh=T6348sitOdDRDIHcYkERk0vy/+k9fZP+rRHIxIQD1jc=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Thu,=2019=20Feb=202015=2009:19:41=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-hacker s@freebsd.org|Subject:=20Re:=20default=20pager=20(csh)|References: =20=20<54E5232F.3060409@delphij.net>=20<54E59BF7.40207@freeb sd.org>|In-Reply-To:=20<54E59BF7.40207@freebsd.org>; b=rTLXOxpJIZKQfmftATb2gs4yMCbhhylOcuTsu1LZ/6yi20m2jL/G39Sd7XcSEt7nm srZlUTffN35+U3hHzH/JRXOaSU0E456y+9egsLkn481SvY5Qj2cKVrzih3digxGrXS 7HkUx+6pTo229Y4Ai7iTUI6ditEYqpF4hkCmDbug= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <54E5AAAD.7080002@infracaninophile.co.uk> Date: Thu, 19 Feb 2015 09:19:41 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: default pager (csh) References: <54E5232F.3060409@delphij.net> <54E59BF7.40207@freebsd.org> In-Reply-To: <54E59BF7.40207@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MSqKeAM9o1Fn3aV2kicNqeS6Ej77iEoeo" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 09:20:12 -0000 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--