Re: [PATCH] console_countdown: Add CR as valid return key

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

 



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