[systemd-devel] [PATCH] pager: remove --no-init setting from LESS options
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...
More information about the systemd-devel