You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/07/02 17:17:41 UTC

[GitHub] [incubator-nuttx-apps] patacongo opened a new issue #323: apps/system/readline does not use buffered I/O

patacongo opened a new issue #323:
URL: https://github.com/apache/incubator-nuttx-apps/issues/323


   readline implementation does not use C-buffered I/O, but rather talks to serial driver directly via read().  It includes VT-100 specific editing commands.  A more generic readline() should be  implemented using termios' tcsetattr() to put the serial driver into a "raw" mode.
   
   This will cause problems if you are using mixed C-buffered I/O with readline and fgetc, for example.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org