Files
rtems/cpukit/libmisc/shell
Chris Johns 24d0ee57a4 cpukit, testsuite: Add rtems_printf and rtems_printer support.
This change adds rtems_printf and related functions and wraps the
RTEMS print plugin support into a user API. All references to the
plugin are removed and replaced with the rtems_printer interface.

Printk and related functions are made to return a valid number of
characters formatted and output.

The function attribute to check printf functions has been added
to rtems_printf and printk. No changes to remove warrnings are part
of this patch set.

The testsuite has been moved over to the rtems_printer. The testsuite
has a mix of rtems_printer access and direct print control via the
tmacros.h header file. The support for begink/endk has been removed
as it served no purpose and only confused the code base. The testsuite
has not been refactored to use rtems_printf. This is future work.
2016-05-25 15:47:34 +10:00
..
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2015-04-17 01:10:15 +02:00
2015-10-26 09:13:19 +01:00
2015-04-03 15:08:20 -05:00
2015-10-26 09:13:19 +01:00
2014-09-16 15:19:58 +10:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00

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.