[systemd-devel] [PATCH] pager: remove --no-init setting from LESS options

Mantas Mikulėnas grawity at gmail.com
Mon Feb 10 21:15:43 PST 2014

On Feb 11, 2014 7:02 AM, "Jason A. Donenfeld" <Jason at zx2c4.com> wrote:
> I use konsole. It has a nice feature that when the scrollbars have been
> disabled -- like in the case of a full-console app like vim or less --
> it makes the mouse wheel send up and down key strokes, so that
> scrolling happens. It's really nice. I open up less, and then I can
> scroll through it using the mouse wheel.
> This doesn't work with systemd's pager, however, because systemd passes
> --no-init to less. This patch removes this "X" flag.

On the one hand, scrolling like that is convenient, in gnome-terminal as
well – on the other hand, removing -X causes `less` open the "alt screen"
mode even for really short outputs, which can become annoying quickly…
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140211/07f98a29/attachment.html>

More information about the systemd-devel mailing list