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

2014-02-11 Thread Lennart Poettering
On Tue, 11.02.14 20:05, Jason A. Donenfeld (ja...@zx2c4.com) wrote: > > On Tue, Feb 11, 2014 at 6:40 PM, Lennart Poettering > wrote: > > > > I think adding support for $SYSTEMD_LESS which is copied to $LESS right > > before invoking less would be a good choice, since it would allow people > > to

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

2014-02-11 Thread Jason A. Donenfeld
On Tue, Feb 11, 2014 at 6:40 PM, Lennart Poettering wrote: > > I think adding support for $SYSTEMD_LESS which is copied to $LESS right > before invoking less would be a good choice, since it would allow people > to override whatever systemd tries to set. So something along the lines of: user_les

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

2014-02-11 Thread Lennart Poettering
On Tue, 11.02.14 16:23, Jason A. Donenfeld (ja...@zx2c4.com) wrote: > > On Tue, Feb 11, 2014 at 7:09 AM, Andrey Borzenkov wrote: > > Should not it simply respect existing LESS value? Or, for that matter, > > SYSTEMD_LESS if someone thinks of a good reason to have different > > settings? > > Yes

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

2014-02-11 Thread Lennart Poettering
On Tue, 11.02.14 10:09, Andrey Borzenkov (arvidj...@gmail.com) wrote: > On Tue, Feb 11, 2014 at 9:15 AM, Mantas Mikulėnas wrote: > > On Feb 11, 2014 7:02 AM, "Jason A. Donenfeld" wrote: > >> > >> I use konsole. It has a nice feature that when the scrollbars have been > >> disabled -- like in the

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

2014-02-11 Thread Lennart Poettering
On Tue, 11.02.14 05:55, Jason A. Donenfeld (ja...@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 happen

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

2014-02-11 Thread Jason A. Donenfeld
On Tue, Feb 11, 2014 at 7:09 AM, Andrey Borzenkov wrote: > Should not it simply respect existing LESS value? Or, for that matter, > SYSTEMD_LESS if someone thinks of a good reason to have different > settings? Yes, one way would be to look at LESS from the environment, and prefer this to the inte

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

2014-02-10 Thread Andrey Borzenkov
On Tue, Feb 11, 2014 at 9:15 AM, Mantas Mikulėnas wrote: > On Feb 11, 2014 7:02 AM, "Jason A. Donenfeld" 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

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

2014-02-10 Thread Mantas Mikulėnas
On Feb 11, 2014 7:02 AM, "Jason A. Donenfeld" 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 reall

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

2014-02-10 Thread Jason A. Donenfeld
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 t