#644973 libedit2: Ctrl+W erases entire line

Package:
libedit2
Source:
libedit
Description:
BSD editline and history libraries
Submitter:
Sam Morris
Date:
2022-05-30 12:24:05 UTC
Severity:
normal
#644973#5
Date:
2011-10-11 10:13:01 UTC
From:
To:
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.

#644973#10
Date:
2015-11-22 19:54:23 UTC
From:
To:
Export EDITRC=/path/to/your/.editrc and put this in that editrc:

    bind "^W" ed-delete-prev-word

See also:
http://wjd.nu/notes/2015#asterisk-editline-key-bindings


Cheers,
Walter Doekes

#644973#15
Date:
2021-05-24 21:11:35 UTC
From:
To:
Greeting to you once again



I am writing for the second time as I did not receive any reply from you to
my previous message.



Kindly reply so we can discuss the subject as soon as possible.



Sincerely,



Andy Landman

#644973#20
Date:
2021-09-22 04:24:44 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com

#644973#25
Date:
2022-05-30 10:33:23 UTC
From:
To:
Doesn't work.

.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).

According to #975911:

: Hi, this is also bugging me on Fedora 32. Digging deep into the
: library chain and source code, it almost certainly is a libedit issue.
: Linux doesn't have issetugid(), and in src/el.c in libedit
: (2019-something thru 20210419 versions) it clearly only reads editrc if
: issetugid is available.


Thanks,
Paul

#644973#30
Date:
2022-05-30 12:22:15 UTC
From:
To:
does in fact read the editrc file.

According to the upstream changelog:

2021-05-22 Jess Thrysoee
   [...]
   * src/el.c: editrc not read on systems without issetugid
        Patch by Trevor Cordes

This version installs just fine on stable (Bullseye).

Hopes this helps someone with this problem.


Paul