forked from Imagelibrary/rtems
* Added initial shell functionality. * Makefile.am, configure.in, wrapup/Makefile.am: * shell/.cvsignore, shell/Makefile.am, shell/README, shell/cmds.c, shell/shell.c, shell/shell.h: New files.
29 lines
643 B
Plaintext
29 lines
643 B
Plaintext
#
|
|
# $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.
|
|
|
|
|
|
|
|
FUTURE:
|
|
|
|
1. Adding new commands in cmds.c to give file manegement to shell.
|
|
|
|
2. Create a telnetd daemon. (pseudo-terminal needed)
|