summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/README
blob: d0064d4fde1840ca937ab5b5463c10c593d3f99f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
#  $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.  If you have tcp/ip inited you can start telnetd daemon.
    You need register pseudo-terminals driver into device drivers table.
    16 ptyX termios device terminales are created into /dev/.
    Calling rtems_initialize_telnetd() starts the daemon.
    Enjoy it.

FUTURE:

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