Hi,

I reported the following bug in the Debian BTS

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078428

but I can also reproduce it in Termux (Android) with bash 5.3
and readline 8.3.

A \C-u setting in the .inputrc file such as

  "\C-u": kill-whole-line

is ignored if ^U is the kill character (usual tty settings).

Such a setting is honored only after a "stty kill undef" *before*
executing the command (such as bash or the readline-based gp).

So, if ^U is the kill character, Ctrl-U just does unix-line-discard,
which is the default setting.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to