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:
patacongo
2012-02-01 19:07:57 +00:00
parent 47fa99c4a8
commit 6a4e8b32b3
52 changed files with 732 additions and 290 deletions
+6
View File
@@ -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.