mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 06:23:33 +08:00
Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4356 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -2425,3 +2425,9 @@
|
||||
* lib/dirent: Moved readdir_r() and telldir() from lib/misc to this new
|
||||
directory where they belong.
|
||||
* lib/termios. Implemented tcsetattr() and tcgetattr().
|
||||
* lib/stdio/lib_fgets.c: The old fgets includes some terminal related
|
||||
functionality: It handles VT-100 commands, includes a command line editor
|
||||
and echo characters back to the terminal. This old, overloaded fgets()
|
||||
was renamed readline() and moved to apps/system/readline. The version
|
||||
of fgets() in lib/stdio was them simplified and stripped down so that it
|
||||
*only* gets a string -- as its description implies.
|
||||
|
||||
Reference in New Issue
Block a user