Re: [fossil-users] [PROPOSED FEATURE] Fossil commands output sent through a pager

2017-03-25 Thread Andy Bradford
Thus said Roy Keene on Thu, 23 Mar 2017 17:36:37 -0500:

> I vote that the pagination be  off by default to preserve the existing
> behaviour -- terminals  have been able to scroll for  decades now so I
> don't know why systemd/git like to do this by default but it is REALLY
> annoying having to pipe EVERYTHING through "cat" to defeat it.

I'll add my voice to this as well and it's not just to preserve existing
behavior. I think  git's default (is it even configurable  with git?) to
automatically page everything is one of its most annoying features. If I
want a  pager, I'll pipe it  to a pager.  Otherwise, just dump it  to my
terminal, thank you.

Andy
-- 
TAI64 timestamp: 400058d74d80


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] [PROPOSED FEATURE] Fossil commands output sent through a pager

2017-03-25 Thread Reimer Behrends

Sergei Gavrikov wrote:

My 2 cents. Many of us use f-alias to deal with fossil in a terminal,
right? Then why not f-function?


That won't work with commands that need to take input from the terminal, 
especially if an editor is invoked (e.g. "fossil commit").


There's the "fsl" script that allows you to handle interactive commands 
specially, but that's not KISS anymore.


Reimer Behrends
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] [PROPOSED FEATURE] Fossil commands output sent through a pager

2017-03-25 Thread Sergei Gavrikov

My 2 cents.  Many of us use f-alias to deal with fossil in a terminal,
right? Then why not f-function?

SYNOPSIS

unalias f

f(){ fossil "$@" | more ; }

or
f(){ fossil "$@" | less -FRSXQ ; }

if you like more 'less' then 'more' :) Then try

f help commit
f timeline -n 100

IMHO, KISS is just to put such an 1-liner in your ~/.profile if you need
the pager.

Thanks for Fossil!

Sergei
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users