Files
rtems/cpukit/libmisc/shell
Joel Sherrill a3ddb08bec 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/main_cp.c,
	libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
	libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
	libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
	libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
	libmisc/shell/shell.c, libmisc/shell/shell.h,
	libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
	libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
	capability to automatically execute a script from the filesystem. Add
	echo command from NetBSD and sleep command.
	* libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
	libmisc/shell/shell_script.c: New files.
2008-03-05 02:49:35 +00:00
..

#
#  $Id$
#

This directory contains a shell user extension
primary features:

   + create a user shell terminal task.

This code has not been extensively tested.  It is provided as a tool
for RTEMS users to open more shell terminal.
Suggestions and comments are appreciated.

NOTES:

1.  printf() & getchar() works but you can't use 
    0,1,2 like fildes. You need to use fileno(stdin),fileno(stdout),...
    
2.  You only need a termios dev to start a new session, add your new commands
    and enjoy it.

3.  Telnetd daemon uses this (browse libnetworking/rtems_telnetd)
    Enjoy it.

FUTURE:

1.  Adding new commands in cmds.c to give file manegement to shell.