Files
rtems/cpukit/libmisc/shell
Kinsey Moore d0e9ec85b0 cpukit/libmisc/shell: Remove shell prompt carriage return
This removes the carriage return printed before the shell prompt as it
can cause other output to be overwritten unexpectedly. This was
discovered when using the "cat" shell command on a file whose content
contained no trailing \n\r and was short enough to be entirely swallowed
by the prompt.
2024-10-25 02:44:37 +00:00
..
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2020-04-16 07:30:00 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2022-12-23 13:10:39 -06:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2023-05-20 11:05:26 +02:00
2020-04-16 07:30:00 +02:00
2023-05-20 11:05:26 +02:00

Shell

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.