mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: barebox@lists.infradead.org
Cc: r.karszniewicz@phytec.de
Subject: Re: readling, ctrl-u is not working like linux console
Date: Wed, 16 Oct 2019 11:14:29 +0200	[thread overview]
Message-ID: <6rpnixqcga.fsf@pengutronix.de> (raw)
In-Reply-To: <20191016085747.dhb6z3s2ckw5tpnq@pengutronix.de>

On Wed, Oct 16 2019 at 10:57 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> On Wed, Oct 16, 2019 at 04:57:45AM +0800, duhuanpeng wrote:
>> Hi,
>> 
>> I find it the barebox console's ctrl-u is not working like my
>> linux host.
>> for now, the barebox's ctrl-u discard the whole line. but the
>> linux consle just remove characters before cursor.
>> is the barebox ctrl-u follows any standard, if not, how about
>> make it just works like linux(ah, it is gnu readline) does.
>
> FWIW, in bash on both my tty2 and urxvt, Ctrl-U clears the whole line.
> But I don't know if there is a standard for this shortkey.

See this section [1] in the readline documentation.

Best regards
Ulrich


[1] https://tiswww.case.edu/php/chet/readline/readline.html#SEC17
-- 
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2019-10-16  9:14 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 [this message]
2019-10-16 13:47   ` duhuanpeng
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=6rpnixqcga.fsf@pengutronix.de \
    --to=u.oelmann@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=r.karszniewicz@phytec.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