Commit Graph

56 Commits

Author SHA1 Message Date
Gregory Nutt
5cc656d71d Fix a memory leak in last NSH change: Forgot to close a temporary file 2014-01-12 14:16:05 -06:00
Gregory Nutt
b034b169fb NSH can not handle command arguments that are concatenations of constant strings, command output, application program output, and environment varaible values. 2014-01-11 13:18:12 -06:00
Gregory Nutt
65b4921b23 Back quoted NSH arguments now functional 2014-01-11 09:50:54 -06:00
Gregory Nutt
d499f287ad Add support for backquoated commands as command arguments 2014-01-10 18:42:24 -06:00
Gregory Nutt
09d0aa815d NSH parser: Separate logic that executes a command into a separate function 2014-01-10 16:15:14 -06:00
Gregory Nutt
819a4b5779 NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line 2014-01-10 15:23:26 -06:00
Gregory Nutt
564143dba8 NSH: Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32 2013-12-05 18:12:11 -06:00
Gregory Nutt
74b0933088 Add skip= and count= options to the NSH hexdump command. From Ken Pettit 2013-11-01 07:15:14 -06:00
Gregory Nutt
28915376e5 Fix some delroute errors 2013-10-05 10:34:38 -06:00
Gregory Nutt
ff88e86ef2 Add NSH addroute and delroute commands 2013-10-05 15:42:20 -06:00
Gregory Nutt
2050443d5e Remove some warnings 2013-10-01 12:10:09 -06:00
Gregory Nutt
f6e948fa04 More improvements to the minimal NSH when there is no file system and when print fieldwidths are suppressed 2013-10-01 11:52:35 -06:00
Gregory Nutt
c4e46f5b62 Changes to NSH and readline to permit NSH to work on a platform with no file system 2013-09-30 11:34:04 -06:00
Gregory Nutt
8d7ab4ba99 NSH cmp command by Andrew Twidgell 2013-07-18 08:24:29 -06:00
Gregory Nutt
cadc8bf98f Add -h option to NSH git command; And NSH mksmartfs command. From Ken Petit 2013-04-30 18:03:04 -06:00
patacongo
dd90abae95 More LPC1788 changes from Rommel Marcelo + a few kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5715 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 01:52:30 +00:00
patacongo
a9f6de3d3b NSH needs to call pthread_detach() to avoid memory leak
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5601 42af7a65-404d-4744-a932-0658087f49c3
2013-02-03 13:48:20 +00:00
patacongo
7f474703fa Correct a memory leak in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5600 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 23:56:54 +00:00
patacongo
140d3e4374 NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 18:32:13 +00:00
patacongo
fefb836376 Add a binary 'loader' so that builtin applications can be executed from the BINFS file system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5525 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 19:08:23 +00:00
patacongo
ce0a475c9f Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 17:05:00 +00:00
patacongo
b81afc12fd Implement redirection of output from NSH builtin commands to a file in a mounted volume
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5521 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 21:01:37 +00:00
patacongo
88d3058222 Rename namedapp as simply builtin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5454 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 20:22:41 +00:00
patacongo
2d8bb1d2cb Add chip ID funcitions for Shenzhou and Cloudctrl boards; Extened NSH ifconfig command and improve DHCPC -- All from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5393 42af7a65-404d-4744-a932-0658087f49c3
2012-11-27 16:26:54 +00:00
patacongo
b60be3682d Several patches from Petteri Aimonen (mostly NxWidgets)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5324 42af7a65-404d-4744-a932-0658087f49c3
2012-11-09 14:54:29 +00:00
patacongo
416434f834 Add interfaces flags, extend ifconfig, add ifup and ifdown commands (Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5308 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 18:54:04 +00:00
patacongo
97fd74fbdd Add apps/netutils/codecs and associated NSH commands from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5280 42af7a65-404d-4744-a932-0658087f49c3
2012-10-31 14:36:00 +00:00
patacongo
9c58ee4a6f You can now configure a login for Telnet NSH session -- from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5231 42af7a65-404d-4744-a932-0658087f49c3
2012-10-12 16:59:17 +00:00
patacongo
8aa93837e2 More patches/bugfixes from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5056 42af7a65-404d-4744-a932-0658087f49c3
2012-08-26 23:29:37 +00:00
patacongo
9dbb75f034 I learned how to spell PSEUDO
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5010 42af7a65-404d-4744-a932-0658087f49c3
2012-08-05 17:44:11 +00:00
patacongo
1b817a3333 Update NSH documentation; Add option to reduce size of help commnd without completely eliminating it
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5009 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 22:17:37 +00:00
patacongo
40d7a25240 Fix max filename size report by FAT statfs with long file names; Add missing logic to support fieldwidth and justification for %s format; Add extended help options. Default help command just shows a short list of commands. Verbose and single command help options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5008 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 22:00:18 +00:00
patacongo
5528942d9c Add the NSH df command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5007 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 00:37:25 +00:00
patacongo
f5544c80cf Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5006 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 23:47:32 +00:00
patacongo
e44a6924fd Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
52fe89eb98 Lock the scheduler when starting NSH builtin applications to eliminate race conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4988 42af7a65-404d-4744-a932-0658087f49c3
2012-07-28 18:38:13 +00:00
patacongo
cea531d7dc PM update; NSH extension to catch return values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4987 42af7a65-404d-4744-a932-0658087f49c3
2012-07-28 15:18:26 +00:00
patacongo
23c742b882 Prep for 6.19 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4847 42af7a65-404d-4744-a932-0658087f49c3
2012-06-15 16:23:17 +00:00
patacongo
b721aff249 NFS just finished a major weight reduction program
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4838 42af7a65-404d-4744-a932-0658087f49c3
2012-06-14 00:47:42 +00:00
patacongo
6104a388de Add NSH mv command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4830 42af7a65-404d-4744-a932-0658087f49c3
2012-06-11 23:47:31 +00:00
patacongo
8c86dc468e Update of NSH nfsmount command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4735 42af7a65-404d-4744-a932-0658087f49c3
2012-05-14 14:25:57 +00:00
patacongo
00b45bc449 More NFS updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4638 42af7a65-404d-4744-a932-0658087f49c3
2012-04-20 23:15:41 +00:00
patacongo
3ef447cf6e Add dmesg command that can be used to dump the syslog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4382 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 15:27:44 +00:00
patacongo
5c43eed652 FTPD daemon and example now build without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4371 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 17:36:13 +00:00
patacongo
f392209c72 NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 16:04:09 +00:00
patacongo
fe6136766a Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4356 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 19:07:57 +00:00
patacongo
39df853260 Add NSH date command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3932 42af7a65-404d-4744-a932-0658087f49c3
2011-09-01 15:09:49 +00:00
patacongo
4287df5472 More FTP fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3666 42af7a65-404d-4744-a932-0658087f49c3
2011-06-03 22:53:36 +00:00
patacongo
da50c819f9 More FTP bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3665 42af7a65-404d-4744-a932-0658087f49c3
2011-06-03 20:27:30 +00:00
patacongo
c64342388e Add E1000 PIC NIC driver from Yu Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3638 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 18:25:31 +00:00