[systemd-devel] [PATCH] systemctl: implement auto-pager a la git
Lennart Poettering
lennart at poettering.net
Mon Jan 3 16:10:48 PST 2011
On Sun, 02.01.11 00:25, Miklos Vajna (vmiklos at frugalware.org) wrote:
> I hope the subjects describes the patch enough - though I would like to
> point out one detail. I guess there can be great flames about the
> default value of LESS if it's unset - I took FRSX as that's what git
> uses right now.
Ah, fantastic, this patch is pure awesomeness!
I had merged this already shortly after you posted it and made some
minor changes to it before you sent the updated patch, but I think I
added everything you changed later on, too. Tollef, Miklos, could you
please check if the git version has everything that your updated patch
has too?
Things I added on top of this patch: made it look a bit harder for a
good pager; the pager is now the child, not the parent process; only
spawn pager for systemctl commands that generate unbounded output.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list