Re: default pager (csh)

2015-02-22 Thread RW
On Fri, 20 Feb 2015 14:18:24 +1030 Shane Ambler wrote: On 20/02/2015 01:22, RW wrote: On Wed, 18 Feb 2015 19:16:59 -0600 Mike Karels wrote: Trivia: the version of more on BSD systems actually is derived from less, not the original version of more. Actually, more is less

Re: default pager (csh)

2015-02-22 Thread Alfred Perlstein
On Feb 22, 2015, at 8:41 AM, RW wrote: On Fri, 20 Feb 2015 14:18:24 +1030 Shane Ambler wrote: On 20/02/2015 01:22, RW wrote: On Wed, 18 Feb 2015 19:16:59 -0600 Mike Karels wrote: Trivia: the version of more on BSD systems actually is derived from less, not the original version of

Re: default pager (csh)

2015-02-20 Thread Jamie Landeg-Jones
Jeffrey Bouquet jbt...@iherebuywisely.com wrote: PAGER='cat' alias man='env PAGER=lookat man $1' No need to alias 'man', just set env MANPAGER. From man man: (so good they named it twice etc.!) -P pager Use specified pager. Defaults to 'less -s' if color support is

Re: default pager (csh)

2015-02-20 Thread Xin Li
-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

Re: default pager (csh)

2015-02-20 Thread Warren Block
On Thu, 19 Feb 2015, Kevin Oberman wrote: On Thu, Feb 19, 2015 at 5:10 PM, Warren Block wbl...@wonkity.com wrote: On Thu, 19 Feb 2015, 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

Re: default pager (csh)

2015-02-19 Thread Julian Elischer
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

Re: default pager (csh)

2015-02-19 Thread Michael Gmelin
On 19 Feb 2015, at 09:16, Julian Elischer jul...@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

Re: default pager (csh)

2015-02-19 Thread Jeffrey Bouquet
On Wed, 18 Feb 2015 23:45:27 -0800, Kevin Oberman rkober...@gmail.com wrote: On Wed, Feb 18, 2015 at 10:46 PM, Franco Fichtner fra...@lastsummer.de wrote: On 19 Feb 2015, at 02:27, Davide Italiano dav...@freebsd.org wrote: On Wed, Feb 18, 2015 at 5:18 PM, Adam McDougall

Re: default pager (csh)

2015-02-19 Thread Shane Ambler
On 20/02/2015 01:22, RW wrote: On Wed, 18 Feb 2015 19:16:59 -0600 Mike Karels wrote: Trivia: the version of more on BSD systems actually is derived from less, not the original version of more. Actually, more is less $ md5 -r `which less ` `which more ` 50404f1beaa4e1261407190a88494b59

Re: default pager (csh)

2015-02-19 Thread Kevin Oberman
On Thu, Feb 19, 2015 at 5:10 PM, Warren Block wbl...@wonkity.com wrote: On Thu, 19 Feb 2015, 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),

Re: default pager (csh)

2015-02-19 Thread Kevin Oberman
On Thu, Feb 19, 2015 at 7:45 PM, Kevin Oberman rkober...@gmail.com wrote: On Thu, Feb 19, 2015 at 5:10 PM, Warren Block wbl...@wonkity.com wrote: On Thu, 19 Feb 2015, 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

Re: default pager (csh)

2015-02-19 Thread Chris H
On Thu, 19 Feb 2015 18:10:36 -0700 (MST) Warren Block wbl...@wonkity.com wrote On Thu, 19 Feb 2015, 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'

Re: default pager (csh)

2015-02-19 Thread Marcin Cieslak
On Thu, 19 Feb 2015, RW wrote: On Wed, 18 Feb 2015 19:16:59 -0600 Mike Karels wrote: Trivia: the version of more on BSD systems actually is derived from less, not the original version of more. Actually, more is less Fortunately we don't set LESSOPEN by default like some (most?)

Re: default pager (csh)

2015-02-19 Thread RW
On Wed, 18 Feb 2015 19:16:59 -0600 Mike Karels wrote: Trivia: the version of more on BSD systems actually is derived from less, not the original version of more. Actually, more is less $ md5 -r `which less ` `which more ` 50404f1beaa4e1261407190a88494b59 /usr/bin/less

Re: default pager (csh)

2015-02-19 Thread Ian Lepore
On Thu, 2015-02-19 at 07:46 +0100, Franco Fichtner wrote: On 19 Feb 2015, at 02:27, Davide Italiano dav...@freebsd.org wrote: On Wed, Feb 18, 2015 at 5:18 PM, Adam McDougall mcdou...@egr.msu.edu wrote: The PAGER was less for about half a year and reverted. Please see:

Re: default pager (csh)

2015-02-19 Thread Chris H
On Thu, 19 Feb 2015 00:16:55 -0800 Julian Elischer jul...@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.

Re: default pager (csh)

2015-02-19 Thread Daniel Eischen
On Thu, 19 Feb 2015, Ian Lepore wrote: On Thu, 2015-02-19 at 07:46 +0100, Franco Fichtner wrote: On 19 Feb 2015, at 02:27, Davide Italiano dav...@freebsd.org wrote: On Wed, Feb 18, 2015 at 5:18 PM, Adam McDougall mcdou...@egr.msu.edu wrote: The PAGER was less for about half a year and

Re: default pager (csh)

2015-02-19 Thread Kevin Oberman
On Thu, Feb 19, 2015 at 3:36 PM, Daniel Eischen deisc...@freebsd.org wrote: On Thu, 19 Feb 2015, Alfred Perlstein wrote: Not as annoying as people who don't search the web for an answer for things. ~ % export PAGER=less -X everyone please stop crying over small changes, it really sucks.

Re: default pager (csh)

2015-02-19 Thread Warren Block
On Thu, 19 Feb 2015, 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

Re: default pager (csh)

2015-02-19 Thread Daniel Eischen
On Thu, 19 Feb 2015, Alfred Perlstein wrote: Not as annoying as people who don't search the web for an answer for things. ~ % export PAGER=less -X everyone please stop crying over small changes, it really sucks. Not sure what you are saying, but the question posed is changing the default

Re: default pager (csh)

2015-02-19 Thread Alfred Perlstein
On 2/19/15 9:04 AM, Chris H wrote: On Thu, 19 Feb 2015 00:16:55 -0800 Julian Elischer jul...@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

Re: default pager (csh)

2015-02-18 Thread Franco Fichtner
On 19 Feb 2015, at 02:27, Davide Italiano dav...@freebsd.org wrote: On Wed, Feb 18, 2015 at 5:18 PM, Adam McDougall mcdou...@egr.msu.edu wrote: The PAGER was less for about half a year and reverted. Please see: https://svnweb.freebsd.org/base?view=revisionrevision=242643

Re: default pager (csh)

2015-02-18 Thread Kevin Oberman
On Wed, Feb 18, 2015 at 10:46 PM, Franco Fichtner fra...@lastsummer.de wrote: On 19 Feb 2015, at 02:27, Davide Italiano dav...@freebsd.org wrote: On Wed, Feb 18, 2015 at 5:18 PM, Adam McDougall mcdou...@egr.msu.edu wrote: The PAGER was less for about half a year and reverted. Please

default pager (csh)

2015-02-18 Thread Davide Italiano
Hi, one of the first things I do when I install FreeBSD is to switch the default PAGER from more(1) to less(1). This is particularly convenient, e.g. while using git diff, to show something more readable. Just out of curiosity, is there a reason why more(1) is still the default, and/or is this

Re: default pager (csh)

2015-02-18 Thread Jason Hellenthal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Great quote for the OP on the thread. I for one would be for switching it to ‘less -M’ then it would respect a users wish to use environment variables LESS and LESSPIPE but still carry the traditional behavior. On Feb 18, 2015, at 17:18, Davide

Re: default pager (csh)

2015-02-18 Thread Kim Shrier
On Feb 18, 2015, at 4:41 PM, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/18/15 15:18, Davide Italiano wrote: Hi, one of the first things I do when I install FreeBSD is to switch the default PAGER from more(1) to less(1). This is particularly

Re: default pager (csh)

2015-02-18 Thread Mike Karels
Kim Shrier k...@westryn.net wrote: On Feb 18, 2015, at 4:41 PM, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/18/15 15:18, Davide Italiano wrote: Hi, one of the first things I do when I install FreeBSD is to switch the default PAGER from

Re: default pager (csh)

2015-02-18 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/18/15 15:18, Davide Italiano wrote: Hi, one of the first things I do when I install FreeBSD is to switch the default PAGER from more(1) to less(1). This is particularly convenient, e.g. while using git diff, to show something more

Re: default pager (csh)

2015-02-18 Thread Adam McDougall
The PAGER was less for about half a year and reverted. Please see: https://svnweb.freebsd.org/base?view=revisionrevision=242643 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send

Re: default pager (csh)

2015-02-18 Thread Franco Fichtner
On 19 Feb 2015, at 00:41, Xin Li delp...@delphij.net wrote: Other behavioral difference are trivial (or people care less to speak up). more(1) with man(1) is suboptimal when skipping to the end it quits the pager and one can't scroll back. I use less(1) instead of more(1) on all systems I

Re: default pager (csh)

2015-02-18 Thread Davide Italiano
On Wed, Feb 18, 2015 at 5:18 PM, Adam McDougall mcdou...@egr.msu.edu wrote: The PAGER was less for about half a year and reverted. Please see: https://svnweb.freebsd.org/base?view=revisionrevision=242643 ___ freebsd-current@freebsd.org mailing list