Gregory Nutt
|
a5fbb4cd24
|
Revert "NSHL: Format strings for nsh_output should all have IOBJ qualifier"
This reverts commit 186a101d2c .
|
2016-01-17 07:39:33 -06:00 |
|
Gregory Nutt
|
fd083ee981
|
Revert "NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR"
This reverts commit cb6a914d08 .
|
2016-01-17 07:39:17 -06:00 |
|
Gregory Nutt
|
691bd07f2e
|
NSH library: Costmetic change
|
2016-01-17 07:29:50 -06:00 |
|
Stefan Kolb
|
3b820bbc78
|
NSH: Correct an error in conditional compilation
|
2016-01-13 06:53:33 -06:00 |
|
Gregory Nutt
|
c13b9e6a51
|
Fix compile error in time command when certain features are disabled
|
2016-01-08 11:23:45 -06:00 |
|
Gregory Nutt
|
50f44f23f2
|
Fix an error in last commit; eliminate a warning
|
2016-01-06 10:14:09 -06:00 |
|
Gregory Nutt
|
186a101d2c
|
NSHL: Format strings for nsh_output should all have IOBJ qualifier
|
2016-01-06 08:31:56 -06:00 |
|
Gregory Nutt
|
cb6a914d08
|
NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR
|
2016-01-05 16:38:50 -06:00 |
|
Gregory Nutt
|
611bd4684f
|
Update some comments
|
2016-01-04 12:36:38 -06:00 |
|
Gregory Nutt
|
d5df336821
|
Trivial update to README
|
2016-01-01 12:16:19 -06:00 |
|
Gregory Nutt
|
31629ee982
|
Update README
|
2016-01-01 09:09:34 -06:00 |
|
Gregory Nutt
|
949b4bd520
|
Correct a statement in the description of the time command
|
2015-12-31 10:23:11 -06:00 |
|
Gregory Nutt
|
6c89c01cf5
|
Fix a scaling error in the new time command
|
2015-12-31 10:03:04 -06:00 |
|
Gregory Nutt
|
3b3b8faf68
|
Trivial update to README
|
2015-12-31 09:19:19 -06:00 |
|
Gregory Nutt
|
f09b7e400f
|
NSH: Add a time command that can be used to time other commands
|
2015-12-31 09:16:38 -06:00 |
|
Gregory Nutt
|
15201642b3
|
Minor adjustment of spacing
|
2015-12-13 10:39:13 -06:00 |
|
Gregory Nutt
|
a620f99306
|
Update README; trivial changes to lsmod output format
|
2015-12-13 10:30:47 -06:00 |
|
Gregory Nutt
|
f0a21d3d48
|
NSH: Add module commands: insmod, rmmod, and lsmod
|
2015-12-13 09:55:52 -06:00 |
|
Gregory Nutt
|
652853c7d1
|
NSH DD command: Use nsh_freefullpath() instead of free(). Actually, these are the so this does not fix bug. It is just needed for symmetry.
|
2015-12-02 14:10:50 -06:00 |
|
Gregory Nutt
|
aa35ebb6b6
|
Correct a typo in CONFIG_NSH_IPADDR help text.
|
2015-12-02 16:17:50 +00:00 |
|
Gregory Nutt
|
eb1360d56e
|
NSH: Add group ID or parent PID to ps command output (if available)
|
2015-11-30 08:05:34 -06:00 |
|
Gregory Nutt
|
997ba578e4
|
Default value for LOSMART support should be disabled if MTD_SMART is not selected
|
2015-11-29 07:20:09 -06:00 |
|
Gregory Nutt
|
cee429beac
|
Update NSH README. Update ps examples
|
2015-11-28 17:52:25 -06:00 |
|
Gregory Nutt
|
793f445f54
|
Update README
|
2015-11-28 17:28:54 -06:00 |
|
Gregory Nutt
|
7e7dd916ce
|
apps/nshlib: The 'ps' command now uses /proc/(pid)/ to obtain task status information. A consequence of this is that you cannot use the 'ps' command if the procfs is not enabled and mounted at /proc.
|
2015-11-28 15:03:21 -06:00 |
|
Gregory Nutt
|
082b452016
|
Move string trimming logic in nsh_fsutils.c as nsh_trimspaces()
|
2015-11-28 15:01:00 -06:00 |
|
Gregory Nutt
|
64c7e31896
|
nshlib: Correct an error message
|
2015-11-28 11:57:37 -06:00 |
|
Gregory Nutt
|
88d3ac1c92
|
apps/nshlib: nsh_readfile() should not be marked as static
|
2015-11-28 11:39:50 -06:00 |
|
Gregory Nutt
|
631c9cec12
|
apps/nshlib: The I/O buffer, g_iobuffer, should not be a global buffer. That will not work in an environment where there are multiple NSH sessions. The I/O buffer must, instead, be a part part of the session-specific data defined in nsh_console.h # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit.
|
2015-11-28 11:13:47 -06:00 |
|
Ken Pettit
|
d82b8a2e23
|
apps/nshlib: Add a new NSH losmart command. losmart setups up a loop device for the smart MTD driver similar to losetup but with different syntax. From Ket Petit.
|
2015-11-28 09:05:05 -06:00 |
|
Gregory Nutt
|
92b1eb36c8
|
nshlib: Move trim_dir() and foreach_direntry() from nsh_fscmds.c to nsh_fsutils.c as nsh_trimdir() and nsh_foreach_direntry(), respectively
|
2015-11-28 08:29:27 -06:00 |
|
Gregory Nutt
|
510f325ae4
|
nshlib: Use CONFIG_NSH_PROC_MOUNTPOINT instead of literal /proc; Move readfile() from nsh_proccmds.c to nsh_fsutils.c as nsh_readfile()
|
2015-11-28 07:23:08 -06:00 |
|
Gregory Nutt
|
fdb4ee7f48
|
Update README
|
2015-11-27 17:54:20 -06:00 |
|
Gregory Nutt
|
0fb32570ff
|
apps/nshlib: Remove all references to internal OS interface netdev_foreach(). Logic in ifconfig, ifup, and ifown now use the procfs file system to examine networking status.
|
2015-11-27 17:47:09 -06:00 |
|
Gregory Nutt
|
bb88ff9b12
|
nshlib/: ifconfig now uses /proc/net/eth0 to display network configuration. You will need to enable the procfs file system in order to use ifconfig
|
2015-11-27 16:57:22 -06:00 |
|
Gregory Nutt
|
6c6df5e4ed
|
Remove some ifdef'ed out logic
|
2015-11-27 13:54:04 -06:00 |
|
Gregory Nutt
|
ee7df4a0ab
|
Remove carriage returns from a new file
|
2015-11-27 13:05:02 -06:00 |
|
Gregory Nutt
|
32b992971b
|
apps/nshlib: The 'ifconfig' command now uses /proc/net/stat to show network statistics. A consequence of this is that you cannot view network statistics if the procfs is not enabled and mounted at /proc
|
2015-11-27 13:04:11 -06:00 |
|
Gregory Nutt
|
0c03c1e840
|
NSH ls command should strip any trailing '/' characters from paths
|
2015-11-27 12:28:46 -06:00 |
|
Gregory Nutt
|
f48d95e941
|
Use lower case labels in ifconfig driver statistics to better match other labels
|
2015-11-27 07:36:49 -06:00 |
|
Gregory Nutt
|
981e74b810
|
If CONFIG_NETDEV_STATISTICS=y, then ifconfig will now print network driver statistics
|
2015-11-26 14:43:34 -06:00 |
|
Gregory Nutt
|
d3e08fa378
|
Eliminate some warnings in certain tiny configurations
|
2015-11-26 12:33:16 -06:00 |
|
Gregory Nutt
|
1150be4a7c
|
Update README
|
2015-11-25 18:35:23 -06:00 |
|
Gregory Nutt
|
a62bf6727f
|
NSH no long calls losetup() and loteardown() directly. Now it uses /dev/loop and performs these operations using ioctl() calls
|
2015-11-25 17:55:16 -06:00 |
|
Gregory Nutt
|
882ae41aee
|
If CONFIG_LIBC_LOCALTIME or CONFIG_TIME_EXTENDED are defined, then the NSH date command should also show the day ofo the week
|
2015-11-25 12:52:36 -06:00 |
|
Ken Pettit
|
b34bfb02e1
|
NSH: Extend mount command to include mount options argument. From Ken Petit
|
2015-11-25 08:49:29 -06:00 |
|
Gregory Nutt
|
c3b09d5d8b
|
NSH: By default, basename and dirname should be disabled if scripting is disabled
|
2015-11-23 17:22:37 -06:00 |
|
Gregory Nutt
|
f2ea88fc9e
|
NSH: Like bash, NSH set command should strip off any leading or trailing whitespace
|
2015-11-23 11:18:32 -06:00 |
|
Gregory Nutt
|
178c9780a8
|
NSH: Add support for basename and dirname commands
|
2015-11-23 10:21:15 -06:00 |
|
Ken Pettit
|
ad48d89fe2
|
mksmartfs: Move into apps/fsutils from kernel, now uses only open and ioctl. Add configuration option to supported multiple root directories. From Ken Petit
|
2015-11-23 06:59:56 -06:00 |
|
Gregory Nutt
|
146f126ead
|
nshlib: Now that NuttX automatically converts block to character devices, the implemention of the DD command no longer has to muck with block to character conversion
|
2015-11-21 11:57:41 -06:00 |
|
Gregory Nutt
|
646febbe86
|
Merged in nghiaho12/apps/nghia/improve_tab_completion (pull request #18)
better TAB completion
|
2015-11-02 06:53:30 -06:00 |
|
Nghia Ho
|
211f8bf76d
|
bug fix:: Never reach readline_prompt() in nsh_initialize, moved it up to the top. Works now.
enhancement: TAB completion now works like Unix, it will autocomplete as much as possible for
multiple matches.
|
2015-11-01 01:41:01 -07:00 |
|
Gregory Nutt
|
5f4060ce1e
|
NSH mount command: Add support for TMPFS
|
2015-10-12 09:36:42 -06:00 |
|
Gregory Nutt
|
aacfce081e
|
Fix several cosmetic, C coding style issues
|
2015-10-03 11:03:42 -06:00 |
|
Gregory Nutt
|
e9447c6058
|
Standardize nameing of the pre-processor definitiongs group header
|
2015-10-02 14:06:11 -06:00 |
|
OrbitalFox
|
93876b5af3
|
Kconfig: Improved comments
|
2015-09-24 08:28:50 -06:00 |
|
Gregory Nutt
|
6b1d61c759
|
More references to avsprintf that need to be changed vasprintf
|
2015-09-07 17:09:11 -06:00 |
|
Gregory Nutt
|
7084ce0e02
|
Cosmetic: Move # of pre-processior command to column 1
|
2015-09-05 09:12:20 -06:00 |
|
Paul A. Patience
|
266cc147c4
|
Correct #if to #ifdef when the macro can be undefined
|
2015-09-01 13:44:06 -04:00 |
|
Gregory Nutt
|
69f578d442
|
Correct last change to NSH file
|
2015-08-30 18:57:32 -06:00 |
|
Bruno Herrera
|
4555282571
|
apps/nshlib: Fix error handling in 'mv' command. On a failure to expand the second path, the memory allocated for the expansion of the first path was not being freed. From Bruno Herrera.
|
2015-08-30 18:28:04 -06:00 |
|
Bruno Herrera
|
321924c0a5
|
apps/nshlib: Fix error handling in 'cat' command. On a failure to allocate memory, a file was not being closed. From Bruno Herrera.
|
2015-08-30 18:23:25 -06:00 |
|
Gregory Nutt
|
b7b943067a
|
NSH: Fix formatting of ifconfig Local Loopback output
|
2015-08-26 07:59:12 -06:00 |
|
Gregory Nutt
|
ce3a2dc0d4
|
NSH changes to work with the network local loopback device
|
2015-08-24 13:59:52 -06:00 |
|
Pavel Pisa
|
64fb2c63b6
|
Correct numerous places where NETUTILS_DNSCLIENT was instead of NETDB_DNSCLIENT
|
2015-08-20 16:08:45 -06:00 |
|
Gregory Nutt
|
74801cf38e
|
apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced
|
2015-08-11 17:49:10 -06:00 |
|
Gregory Nutt
|
820c5c42dd
|
readline/NSH: Extend the tab-completion logic so that NSH commands can also be completed by pressing the tab key
|
2015-07-30 12:11:58 -06:00 |
|
Gregory Nutt
|
0c85a9f4b3
|
Eliminates a warning about unused variable
|
2015-07-29 19:57:31 -06:00 |
|
Gregory Nutt
|
f1b4b4d47a
|
Fix a few mistakes I made on the last commit
|
2015-07-28 07:30:05 -06:00 |
|
Gregory Nutt
|
766886310d
|
readline: Update initial readline commit -- make option configurable. Add an interface to de-couple the readline implementation from NSH. Misc. updates for coding style
|
2015-07-28 07:17:50 -06:00 |
|
Gregory Nutt
|
3a57f9e2ef
|
Adjust for increased size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies
|
2015-07-23 10:15:57 -06:00 |
|
Gregory Nutt
|
62853218d3
|
Eliminate a warning detected by nuttx/tools/testbuild.sh
|
2015-07-22 14:09:29 -06:00 |
|
Gregory Nutt
|
25f144fd55
|
NSH: Fix compile issue from all of the recent NETDB changes. If NETDB is not enabled, we need to use inet_pton() instead of gethostbyname()
|
2015-07-17 08:33:22 -06:00 |
|
Gregory Nutt
|
25d45d642f
|
Add an NSH nslookup command
|
2015-07-13 11:19:02 -06:00 |
|
Gregory Nutt
|
ba72767d09
|
apps/netutils/netlib and other files: Create netlib wrapper functions around dns_getserver() and dns_setserver() to isolate application code from changes to those interfaces.
|
2015-07-12 11:53:23 -06:00 |
|
Gregory Nutt
|
812450ebe6
|
If NSH or Webclient is selected, make sure that CONFIG_LIBC_NETDB is enabled; reanem dnsclient.h to dns.h
|
2015-07-12 09:25:39 -06:00 |
|
Gregory Nutt
|
c7bd1f4186
|
Replaces calls to non-standard dns_hostip() with calls to the standard gethostbyname()
|
2015-07-11 08:15:29 -06:00 |
|
Gregory Nutt
|
effda16cf5
|
DNS: Remove some unused, non-functional DNS functions
|
2015-07-11 07:17:11 -06:00 |
|
Gregory Nutt
|
5e8928d009
|
Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME
|
2015-07-10 14:03:28 -06:00 |
|
Gregory Nutt
|
48c36800f5
|
apps/netuils/dnsclient and include/netutils/dnsclient.h: Move the DNS client logic into the NuttX C library. It is a necessary part for the full implementation of the netdb logic and provides more flexibility in that location.
|
2015-07-10 11:31:13 -06:00 |
|
Gregory Nutt
|
74aa0f21c5
|
NSH uname command: Uninitialized variable caused failures in some unlucky cases
|
2015-07-05 09:06:13 -06:00 |
|
Gregory Nutt
|
584284adc3
|
NSH uname, Use unknown if board name is not known
|
2015-07-05 08:42:00 -06:00 |
|
Gregory Nutt
|
fa8f6d53e1
|
Update README
|
2015-07-05 06:51:39 -06:00 |
|
Gregory Nutt
|
243694308e
|
NSH uname command will now print the board directory for -i option
|
2015-07-05 06:47:29 -06:00 |
|
Gregory Nutt
|
d710b7c3b7
|
Add support for the NSH uname command
|
2015-07-04 15:13:11 -06:00 |
|
Gregory Nutt
|
f9afefe7e9
|
Fix a typo in a Kconfig file
|
2015-07-04 13:17:10 -06:00 |
|
Gregory Nutt
|
95eea325cf
|
Add poweroff and reboot NSH commands as alternatives to the shutdown command
|
2015-07-04 12:44:24 -06:00 |
|
Gregory Nutt
|
165637ce27
|
The NSH shutdown option should be called --reboot, not --reset, for compatibility with the statndard shutdown command
|
2015-07-04 11:39:44 -06:00 |
|
Gregory Nutt
|
a2a1530694
|
The NSH shutdown command now supports the --reset option, if available in hardware
|
2015-07-04 11:11:16 -06:00 |
|
Gregory Nutt
|
fa9e1812f8
|
Oops.. forgot to add a file before the last commit
|
2015-07-04 08:44:42 -06:00 |
|
Gregory Nutt
|
a18ed33d99
|
NSH now supports a shutdown command if CONFIG_BOARDCTL_POWEROFF-y
|
2015-07-04 08:20:19 -06:00 |
|
Gregory Nutt
|
d5b6949c9f
|
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
|
2015-06-28 08:14:53 -06:00 |
|
Gregory Nutt
|
90679a633a
|
NSH mount command now recognizes the Union file system type
|
2015-06-07 08:18:07 -06:00 |
|
Gregory Nutt
|
fe2c662ee8
|
Trivial change for consistency.
|
2015-05-27 08:43:50 -06:00 |
|
Gregory Nutt
|
5f17ec1fa2
|
Enhanced output to NSH ping command from Max Neklyudov
|
2015-05-27 08:25:26 -06:00 |
|
Gregory Nutt
|
905f881162
|
Enhancements to NSH ifconfig for case of multi-link operation, TUN device and local connections. From Max Neklyudov.
|
2015-05-19 12:26:20 -06:00 |
|
Gregory Nutt
|
c07a5b2775
|
Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna.
|
2015-05-12 07:41:12 -06:00 |
|
Gregory Nutt
|
49bb0ed48e
|
time.h: Add localtime prototypes; NSH: Correct test for gmtime_r return value
|
2015-04-21 09:26:18 -06:00 |
|
Gregory Nutt
|
10fc3ed1ac
|
configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info
|
2015-04-15 11:00:40 -06:00 |
|