On Mon 30 May 2022, Paul Slootman wrote:
>
> .editrc is not even looked for according to strace, at least not in
> version 3.1-20191231-2+b1 (I'm using it with the mariadb mysql client).
I've since discovered that the version in testing: 3.1-20210910-1
does in fact read the editrc file.
>> Pressing Ctrl+W erases the entire input line. This is really annoying
>> when most other programs (that use readline) bind Ctrl+W to erase the
>> current word.
>
>That's fixable.
>
>Export EDITRC=/path/to/your/.editrc and put this in that editrc:
>
>bind "^W" ed-delete-prev-word
Doesn't
> Pressing Ctrl+W erases the entire input line. This is really annoying
> when most other programs (that use readline) bind Ctrl+W to erase the
> current word.
That's fixable.
Export EDITRC=/path/to/your/.editrc and put this in that editrc:
bind "^W" ed-delete-prev-word
See also:
Package: libedit2
Version: 2.11-20080614-3
Severity: normal
Pressing Ctrl+W erases the entire input line. This is really annoying
when most other programs (that use readline) bind Ctrl+W to erase the
current word.
-- System Information:
Debian Release: wheezy/sid
APT prefers stable
APT
4 matches
Mail list logo