On Wed, Oct 16, 2019 at 09:47:05PM +0800, duhuanpeng wrote: > > > > FWIW, in bash on both my tty2 and urxvt, Ctrl-U clears the whole line. > > did you try to move your cursor in the middle of a line. Ah, I misread your first mail. Yes, my bash only discards characters before the cursor until the start of the line. - Roland > > I guess my bash use this keybinds: > > [1] https://www.gnu.org/software/bash/manual/bash.html#Bindable-Readline-Commands > > 8.4.4 Killing And Yanking > kill-line (C-k) > Kill the text from point to the end of the line. > > backward-kill-line (C-x Rubout) > Kill backward from the cursor to the beginning of the current line. > > unix-line-discard (C-u) > Kill backward from the cursor to the beginning of the current line. > > kill-whole-line () > Kill all characters on the current line, no matter where point is. By default, this is unbound. > > > Regards, > duhuanpeng > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Roland Hieber | r.hieber@xxxxxxxxxxxxxx | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox