From: duhuanpeng <sendpatch@qq.com>
To: Roland Hieber <rhi@pengutronix.de>
Cc: barebox@lists.infradead.org, r.karszniewicz@phytec.de
Subject: Re: readling, ctrl-u is not working like linux console
Date: Wed, 16 Oct 2019 21:47:05 +0800	[thread overview]
Message-ID: <20191016134705.GA19851@router.tkernel.org> (raw)
In-Reply-To: <20191016085747.dhb6z3s2ckw5tpnq@pengutronix.de>
> 
> 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply	other threads:[~2019-10-16 13:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 20:57 duhuanpeng
2019-10-16  8:57 ` Roland Hieber
2019-10-16  9:14   ` Ulrich Ölmann
2019-10-16 13:47   ` duhuanpeng [this message]
2019-10-17  8:54     ` Roland Hieber
2019-10-16 15:01   ` Robert Karszniewicz
2019-10-16 15:33     ` duhuanpeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=20191016134705.GA19851@router.tkernel.org \
    --to=sendpatch@qq.com \
    --cc=barebox@lists.infradead.org \
    --cc=r.karszniewicz@phytec.de \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox