Re: readling, ctrl-u is not working like linux console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux