On 2024-08-10 11:35:21 +0200, Vincent Lefevre wrote: > On 2024-08-10 09:03:04 +0000, Debian Bug Tracking System wrote: > > On Wed, 19 Apr 2006 15:11:20 +0100 Reuben Thomas <[email protected]> wrote: > > > In my .inputrc I have the following lines: > > > > > > "\M-n": history-search-forward > > > "\M-p": history-search-backward > > > "\C-u": kill-whole-line > > > > > > With readline 5.0 they work fine, but with 5.1 they don't work. > > > > Hi, > > > > this issue does not seem to affect version 5.2.21 of bash and libreadline8 > > version 8.2-4. > > > > Please reopen this bug if you can still reproduce this issue. > > \C-u is still broken: it kills only the characters before the cursor > instead of the whole line as documented in the bash(1) man page: > > kill-whole-line > Kill all characters on the current line, no matter where point is.
history-search-forward and history-search-backward seem also buggy, but it may be a documentation issue (they behave in a slightly different way). These issues are still present in readline. I've just reported the following bug against libreadline8t64 for \C-u: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078428 (the old bugs in obsolete readline binary packages had been closed). -- 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 / AriC project (LIP, ENS-Lyon)

