[darcs-users] Colouring and pagination

Stephen J. Turnbull stephen at xemacs.org
Sun Jan 27 16:27:56 UTC 2013


Ash Moran writes:

 > But is there any way to get darcs to automatically paginate if its
 > output reaches over one screenful? One of the things I like about
 > the git UI I like is that the output of e.g. `git log` is
 > paginated. I've got an alias set up, dl="darcs log | less", which
 > helps, but this then paginates even if the output is short.

I believe there's an option to less that causes it to exit if the
content is less than one page.  Try less -F.  -E may also be of
interest.

 > I suppose I could go through and make aliases for everything, but
 > it seems something darcs could do in a saner way.

Personally I prefer apps that don't make this decision for me.



More information about the darcs-users mailing list