Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 09:04:55 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        d@delphij.net, Davide Italiano <davide@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, Julian Elischer <julian@freebsd.org>
Subject:   Re: default pager (csh)
Message-ID:  <a6684dcbda73144b6a59204f37e94ba7@ultimatedns.net>
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
On Thu, 19 Feb 2015 00:16:55 -0800 Julian Elischer <julian@freebsd.org> 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.
> 
> I find that behaviour infuriating
> 
> 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.
Indeed. Quite annoying.
I just had an interesting thought after reading most of this
thread/bikeshed;
Theoretical, mind you. But would it be remotely possible to
[in (t)csh(1)] choose a pager on-the-fly (dynamically)?
In other words; bind keys to a chosen pager;

^M switches to more(1)
^L switched to less(1)

I've done no *actual* research [yet] but just thought
I'd bring it up. As it seemed worth a shot, as it would
satisfy *anyone's* need. :)

--Chris
> 
> 
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"





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