[darcs-users] Colouring and pagination
Lele Gaifax
lele at metapensiero.it
Sun Jan 27 17:21:44 UTC 2013
Ash Moran <ash.moran at patchspace.co.uk> 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 suppose I could go through
> and make aliases for everything, but it seems something darcs could do
> in a saner way.
I set LESS=FXR in my shell environ:
-F or --quit-if-one-screen
Causes less to automatically exit if the entire file can
be displayed on the first screen.
-R or --RAW-CONTROL-CHARS
Like -r, but only ANSI "color" escape sequences are output
in "raw" form. Unlike -r, the screen appearance is
maintained correctly in most cases. ANSI "color" escape
sequences are sequences of the form:
-X or --no-init
Disables sending the termcap initialization and
deinitialization strings to the terminal. This is
sometimes desirable if the deinitialization string does
something unnecessary, like clearing the screen.
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it | -- Fortunato Depero, 1929.
More information about the darcs-users
mailing list