[systemd-devel] [PATCH] systemctl: implement auto-pager a la git
Miklos Vajna
vmiklos at frugalware.org
Mon Jan 3 16:18:14 PST 2011
On Tue, Jan 04, 2011 at 01:10:48AM +0100, Lennart Poettering <lennart at poettering.net> wrote:
> 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?
Looks fine here (I have less, but not sensible-pager).
> 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.
The last one is something I did not care about as F is in my less flags
(so it quits if the input is less than a screen), but this way other
pagers are supported as well, nice. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110104/cded4870/attachment.pgp>
More information about the systemd-devel
mailing list