mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jules Maselbas <jmaselbas@kalray.eu>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH] console_countdown: Add CR as valid return key
Date: Tue, 11 Aug 2020 11:29:46 +0200	[thread overview]
Message-ID: <20200811092946.kvowvfmlfc2gqo4t@tellis.lin.mbt.kalray.eu> (raw)
In-Reply-To: <20200810194601.GE31536@pengutronix.de>

Hi Sascha,

> I have no problem with this change, but out of curiosity: In which case
> do you need it?
I am using minicom to communicate with barebox through an UART interface.
It seems that minicom is sending an carriage return when the enter key
is pressed.

I know there is the termios/stty option `ocrnl` to convert CR to LF but
I didn't found a way to do the same in minicom, there is the `Add linefeed`
option but it doesn't work...

Maybe I am missing somthing but I think it is better if both CR and LF
are accepted, this way no configuration is required if the tty interface
only send LF.


Jules

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

  reply	other threads:[~2020-08-11  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16 13:27 Jules Maselbas
2020-08-10 19:46 ` Sascha Hauer
2020-08-11  9:29   ` Jules Maselbas [this message]
2020-08-11 11:24     ` Sascha Hauer

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=20200811092946.kvowvfmlfc2gqo4t@tellis.lin.mbt.kalray.eu \
    --to=jmaselbas@kalray.eu \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@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