apache / apache/nuttx-apps

apps/system/readline does not use buffered I/O

Open
#323 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
465
Forks
779
Avg merge
2d 9h
Merged PRs (30d)
36

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.