From a53de1f10c52bc787111ef7091f909f9ccdd53ac Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 15 Nov 2008 15:36:16 +0000 Subject: Add dd command to NSH git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1241 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/Documentation/NuttShell.html | 149 +++++++++++++++++++++++-------------- nuttx/Documentation/NuttX.html | 1 + 2 files changed, 93 insertions(+), 57 deletions(-) (limited to 'nuttx/Documentation') diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html index a46f8feda..a2a4a7c5b 100644 --- a/nuttx/Documentation/NuttShell.html +++ b/nuttx/Documentation/NuttShell.html @@ -8,7 +8,7 @@

NuttShell (NSH)

-

Last Updated: October 15, 2008

+

Last Updated: November 15, 2008

@@ -107,163 +107,169 @@
- 2.5 Echo Strings and Variables (echo) + 2.5 Copy and Convert Files (dd)
- 2.6 Execute User Code (exec) + 2.6 Echo Strings and Variables (echo)
- 2.7 Get File Via TFTP (get) + 2.7 Execute User Code (exec)
- 2.8 Exit NSH (exit) + 2.8 Get File Via TFTP (get)
- 2.9 Show Usage Command Usage (help) + 2.9 Exit NSH (exit)
- 2.10 Show Network Configuration (ifconfig) + 2.10 Show Usage Command Usage (help)
- 2.11 List Directory Contents (ls) + 2.11 Show Network Configuration (ifconfig)
- 2.12 Access Memory (mb, mh, and mw) + 2.12 List Directory Contents (ls)
- 2.13 Show Memory Manager Status (mem) + 2.13 Access Memory (mb, mh, and mw)
- 2.14 Show Current Tasks and Threads (ps) + 2.14 Show Memory Manager Status (mem)
- 2.15 Create a Directory (mkdir) + 2.15 Show Current Tasks and Threads (ps)
- 2.16 Create a FAT Filesystem (mkfatfs) + 2.16 Create a Directory (mkdir)
- 2.17 Create a FIFO (mkfifo) + 2.17 Create a FAT Filesystem (mkfatfs)
- 2.18 Create a RAMDISK (mkrd) + 2.18 Create a FIFO (mkfifo)
- 2.19 Mount a File System (mount) + 2.19 Create a RAMDISK (mkrd)
- 2.20 Check Network Peer (ping) + 2.20 Mount a File System (mount)
- 2.21 Send File Via TFTP (put) + 2.21 Check Network Peer (ping)
- 2.22 Show Current Working Directory (pwd) + 2.22 Send File Via TFTP (put)
- 2.23 Remove a File (rm) + 2.23 Show Current Working Directory (pwd)
- 2.24 Remove a Directory (rmdir) + 2.24 Remove a File (rm)
- 2.25 Set an Environment Variable (set) + 2.25 Remove a Directory (rmdir)
- 2.26 Execute an NSH Script (sh) + 2.26 Set an Environment Variable (set)
- 2.27 Wait for Seconds (sleep) + 2.27 Execute an NSH Script (sh)
- 2.28 Unmount a File System (umount) + 2.28 Wait for Seconds (sleep)
- 2.29 Unset an Environment Variable (unset) + 2.29 Unmount a File System (umount)
- 2.30 Wait for Microseconds (usleep) + 2.30 Unset an Environment Variable (unset)
- 2.31 Hexadecimal Dump (xd) + 2.31 Wait for Microseconds (usleep) + + + +
+ + 2.32 Hexadecimal Dump (xd) @@ -730,14 +736,37 @@ cp <source-path> <dest-path>

Synopsis. - Copy of the contents of the file at <source-path< to the location - in the filesystem indicated by <path-path>. + Copy of the contents of the file at <source-path> to the location + in the filesystem indicated by <dest-path>.

+ +
-

2.5 Echo Strings and Variables (echo)

+

2.5 Copy and Convert Files (dd)

+
+ +Command Syntax:

+ +

+ Synopsis. + Copy blocks from <infile> to <outfile>. As an example: +

+

+ + + +
+

2.6 Echo Strings and Variables (echo)

@@ -755,7 +784,7 @@ echo [<string|$name> [<string|$name>...]]
-

2.6 Execute User Code (exec)

+

2.7 Execute User Code (exec)

@@ -774,7 +803,7 @@ exec <hex-address>
-

2.7 Get File Via TFTP (get)

+

2.8 Get File Via TFTP (get)

@@ -809,7 +838,7 @@ get [-b|-n] [-f <local-path>] -h <ip-address> <remote-path>
-

2.8 Exit NSH (exit)

+

2.9 Exit NSH (exit)

@@ -828,7 +857,7 @@ exit
-

2.9 Show Usage Command Usage (help)

+

2.10 Show Usage Command Usage (help)

@@ -845,7 +874,7 @@ help
-

2.10 Show Network Configuration (ifconfig)

+

2.11 Show Network Configuration (ifconfig)

@@ -871,7 +900,7 @@ eth0 HWaddr 00:18:11:80:10:06
-

2.11 List Directory Contents (ls)

+

2.12 List Directory Contents (ls)

@@ -908,7 +937,7 @@ ls [-lRs] <dir-path>
-

2.12 Access Memory (mb, mh, and mw)

+

2.13 Access Memory (mb, mh, and mw)

@@ -962,7 +991,7 @@ nsh>
-

2.13 Show Memory Manager Status (mem)

+

2.14 Show Memory Manager Status (mem)

@@ -1011,7 +1040,7 @@ nsh>
-

2.14 Show Current Tasks and Threads (ps)

+

2.15 Show Current Tasks and Threads (ps)

@@ -1037,7 +1066,7 @@ nsh>
-

2.15 Create a Directory (mkdir)

+

2.16 Create a Directory (mkdir)

@@ -1072,7 +1101,7 @@ nsh>
-

2.16 Create a FAT Filesystem (mkfatfs)

+

2.17 Create a FAT Filesystem (mkfatfs)

@@ -1092,7 +1121,7 @@ mkfatfs <path>
-

2.17 Create a FIFO (mkfifo)

+

2.18 Create a FIFO (mkfifo)

@@ -1130,7 +1159,7 @@ nsh>
-

2.18 Create a RAMDISK (mkrd)

+

2.19 Create a RAMDISK (mkrd)

@@ -1181,7 +1210,7 @@ nsh>
-

2.19 Mount a File System (mount)

+

2.20 Mount a File System (mount)

@@ -1248,7 +1277,7 @@ nsh>
-

2.20 Check Network Peer (ping)

+

2.21 Check Network Peer (ping)

@@ -1281,7 +1310,7 @@ nsh>
-

2.21 Send File Via TFTP (put)

+

2.22 Send File Via TFTP (put)

@@ -1316,7 +1345,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
-

2.22 Show Current Working Directory (pwd)

+

2.23 Show Current Working Directory (pwd)

@@ -1346,7 +1375,7 @@ nsh>
-

2.23 Remove a File (rm)

+

2.24 Remove a File (rm)

@@ -1380,7 +1409,7 @@ nsh>
-

2.24 Remove a Directory (rmdir)

+

2.25 Remove a Directory (rmdir)

@@ -1415,7 +1444,7 @@ nsh>
-

2.25 Set an Environment Variable (set)

+

2.26 Set an Environment Variable (set)

@@ -1441,7 +1470,7 @@ nsh>
-

2.26 Execute an NSH Script (sh)

+

2.27 Execute an NSH Script (sh)

@@ -1459,7 +1488,7 @@ sh <script-path>
-

2.27 Wait for Seconds (sleep)

+

2.28 Wait for Seconds (sleep)

@@ -1476,7 +1505,7 @@ sleep <sec>
-

2.28 Unmount a File System (umount)

+

2.29 Unmount a File System (umount)

@@ -1506,7 +1535,7 @@ nsh>
-

2.29 Unset an Environment Variable (unset)

+

2.30 Unset an Environment Variable (unset)

@@ -1532,7 +1561,7 @@ nsh>
-

2.30 Wait for Microseconds (usleep)

+

2.31 Wait for Microseconds (usleep)

@@ -1549,7 +1578,7 @@ usleep <usec>
-

2.31 Hexadecimal dump (xd)

+

2.32 Hexadecimal dump (xd)

@@ -1632,6 +1661,11 @@ nsh> CONFIG_NFILE_DESCRIPTORS > 0 CONFIG_EXAMPLES_NSH_DISABLE_CP + + dd + CONFIG_NFILE_DESCRIPTORS > 0 + CONFIG_EXAMPLES_NSH_DISABLE_DD + echo
@@ -2076,6 +2110,7 @@ nsh>
  • Configuration settings, NSH-specific
  • cp
  • Current working directory
  • +
  • dd
  • echo
  • Environment Variables
  • /etc/init.d/rcS diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 9204f3454..a26f2e55e 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -1195,6 +1195,7 @@ nuttx-0.3.18 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> into very small memory footprints. * Added a block to character (BCH) driver. This is kind of the reverse of the loop device; it allows you access a block device like a character device. + * NSH: Added 'dd' command pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> -- cgit v1.2.3