summaryrefslogtreecommitdiffstats
path: root/apps/examples/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-01 19:47:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-01 19:47:12 +0000
commit37259910ba73b71e4c32e5913e4d44c245c4502d (patch)
tree9b5b0a7b3d6180141c3f9d959b6c04647e4a6810 /apps/examples/README.txt
parent6d35541209058b86bda7b34e47fa28c8c959d365 (diff)
Use realine instead of fgets in several other places
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4357 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r--apps/examples/README.txt37
1 files changed, 34 insertions, 3 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt
index b14d19b84a..a8af257d74 100644
--- a/apps/examples/README.txt
+++ b/apps/examples/README.txt
@@ -244,9 +244,20 @@ examples/ftpc
where xx.xx.xx.xx is the IP address of the FTP server and pp is an
optional port number.
- NOTE: The ftpc task uses the system console for input/output. It will
- not work from NSH over a telnet NSH connection (Well, it will work you
- just won't be able to access the command line).
+ NOTE: By default, FTPC uses readline to get data from stdin. So your
+ appconfig file must have the following build path:
+
+ CONFIGURED_APPS += system/readline
+
+ NOTE: If you use the ftpc task over a telnet NSH connection, then you
+ should set the following configuration item:
+
+ CONFIG_EXAMPLES_FTPC_FGETS=y
+
+ By default, the FTPC client will use readline() to get characters from
+ the console. Readline includes and command-line editor and echos
+ characters received in stdin back through stdout. Neither of these
+ behaviors are desire-able if Telnet is used.
You may also want to define the following in your configuration file.
Otherwise, you will have not feeback about what is going on:
@@ -393,6 +404,11 @@ examples/nsh
CONFIGURED_APPS += nshlib
+ NOTE: If the NSH serial console is used, then following is also
+ required to build the readline() library:
+
+ CONFIGURED_APPS += system/readline
+
And if networking is included:
CONFIGURED_APPS += uiplib
@@ -1257,6 +1273,21 @@ examples/usbterm
CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS
Show interrupt-related events.
+ NOTE: By default, USBterm uses readline to get data from stdin. So your
+ appconfig file must have the following build path:
+
+ CONFIGURED_APPS += system/readline
+
+ NOTE: If you use the USBterm task over a telnet NSH connection, then you
+ should set the following configuration item:
+
+ CONFIG_EXAMPLES_USBTERM_FGETS=y
+
+ By default, the USBterm client will use readline() to get characters from
+ the console. Readline includes and command-line editor and echos
+ characters received in stdin back through stdout. Neither of these
+ behaviors are desire-able if Telnet is used.
+
Error results are always shown in the trace output
Other relevant configuration options: CONFIG_CDCACM selected by the