Re: [gentoo-user] Change Readline mode for all users?

2017-09-20 Thread Stroller
> On 19 Sep 2017, at 01:30, Simon Thelen wrote: > >> I find that my pager and editor are set in /etc/env.d/99pager and >> /etc/env.d/99editor respectively, but creating a >> /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem >> to work. > Either

Re: [gentoo-user] Change Readline mode for all users?

2017-09-19 Thread Simon Thelen
On 17-09-19 at 14:48, Stroller wrote: > > On 19 Sep 2017, at 01:30, Simon Thelen wrote: > >> Is it possible to set this for all users, please, so that this edit > >> mode is used for root? > > Readline is customized by putting commands in an initialization file > > (the

Re: [gentoo-user] Change Readline mode for all users?

2017-09-19 Thread Stroller
> On 19 Sep 2017, at 01:30, Simon Thelen wrote: >> >> Is it possible to set this for all users, please, so that this edit >> mode is used for root? > Readline is customized by putting commands in an initialization file > (the inputrc file). The name of this file is taken

Re: [gentoo-user] Change Readline mode for all users?

2017-09-19 Thread Stroller
> On 19 Sep 2017, at 01:25, Vadim A. Misbakh-Soloviov wrote: > >> I find that my pager and editor are set in /etc/env.d/99pager and >> /etc/env.d/99editor respectively, but creating a >> /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem to >> work. > > 1)

Re: [gentoo-user] Change Readline mode for all users?

2017-09-18 Thread Simon Thelen
On 17-09-19 at 01:11, Stroller wrote: > I prefer vi-style editing for my bash prompt - that is to say I press > the escape key, and "b" two or three times and the cursor moves back 2 > or 3 words. I can press "escape" followed by shift-I to take the > cursor back to the very start of the line, and

Re: [gentoo-user] Change Readline mode for all users?

2017-09-18 Thread Vadim A. Misbakh-Soloviov
> I find that my pager and editor are set in /etc/env.d/99pager and > /etc/env.d/99editor respectively, but creating a > /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem to > work. 1) env-update env.d is just the place where all the packages places their crap so env-update

[gentoo-user] Change Readline mode for all users?

2017-09-18 Thread Stroller
I prefer vi-style editing for my bash prompt - that is to say I press the escape key, and "b" two or three times and the cursor moves back 2 or 3 words. I can press "escape" followed by shift-I to take the cursor back to the very start of the line, and "v" allows me to edit the command line in