[systemd-devel] [PATCH v2] systemctl: implement auto-pager a la git

2011-01-02 Thread Miklos Vajna
--- On Sun, Jan 02, 2011 at 09:21:50PM +0100, Tollef Fog Heen wrote: > | Not all distributions have such a command, while all distributions have > | less packaged. What about making it a configure option, but let the > | default be 'less'? Then Debian and other packages can use > | --with-pager=p

Re: [systemd-devel] [PATCH] systemctl: implement auto-pager a la git

2011-01-02 Thread Tollef Fog Heen
]] Miklos Vajna | On Sun, Jan 02, 2011 at 08:24:02AM +0100, Tollef Fog Heen wrote: | > | + if (!pager) | > | + pager = "less"; | > | > Doesn't other distributions have sensible-pager(1) or pager(1)? Also, | > at least on Debian, less(1) isn't in the base distribution, while | > more(1

Re: [systemd-devel] [PATCH] systemctl: implement auto-pager a la git

2011-01-02 Thread Miklos Vajna
On Sun, Jan 02, 2011 at 08:24:02AM +0100, Tollef Fog Heen wrote: > | + if (!pager) > | + pager = "less"; > > Doesn't other distributions have sensible-pager(1) or pager(1)? Also, > at least on Debian, less(1) isn't in the base distribution, while > more(1) comes from util-linux so is