RTEMS 6.3
Loading...
Searching...
No Matches
shell Directory Reference

Files

 
cat_file.c
 CAT Command Implementation.
 
cmds.c
 XXX – Just monitor commands until those can be integrated better.
 
dd.h
 
err.h
 
extern-cp.h
 
extern-dd.h
 
extern-ls.h
 
fdisk.c
 
fts.h
 
hexdump.h
 
internal.h
 
login_check.c
 Shell login check function.
 
login_prompt.c
 Shell login prompt functions.
 
main_alias.c
 ALIAS Shell Command Implmentation.
 
main_blksync.c
 RM Shell Command Implmentation.
 
main_cat.c
 CAT Shell Command Implmentation.
 
main_cd.c
 CD Shell Command Implmentation.
 
main_chdir.c
 CHDIR Shell Command Implmentation.
 
main_chmod.c
 CHMOD Shell Command Implmentation.
 
main_chroot.c
 CHROOT Shell Command Implmentation.
 
main_date.c
 DATE Shell Command Implmentation.
 
main_dir.c
 DIR Shell Command Implmentation.
 
main_exit.c
 exit Shell Command Implmentation
 
main_getenv.c
 Get an environment variable.
 
main_id.c
 ID Command Implementation.
 
main_logoff.c
 LOGOFF Shell Command Implmentation.
 
main_mdump.c
 MDUMP Shell Command Implmentation.
 
main_medit.c
 MEDIT Shell Command Implmentation.
 
main_mfill.c
 MFILL Shell Command Implmentation.
 
main_mkdir.c
 MKDIR Shell Command Implmentation.
 
main_mmove.c
 MMOVE Shell Command Implmentation.
 
main_mount.c
 Shell Command Implmentation.
 
main_mount_nfs.c
 Shell Command Implmentation.
 
main_pwd.c
 PWD Shell Command Implmentation.
 
main_rmdir.c
 RMDIR Shell Command Implmentation.
 
main_rtc.c
 
main_rtems.c
 This source file contains the kernel command.
 
main_setenv.c
 Set an environment variable.
 
main_tty.c
 TTY Shell Command Implmentation.
 
main_umask.c
 UMASK Shell Command Implmentation.
 
main_unmount.c
 Shell Command Implmentation.
 
main_unsetenv.c
 Unset an environment variable.
 
main_whoami.c
 WHOAMI Shell Command Implmentation.
 
mknod-pack_dev.c
 
mknod-pack_dev.h
 
pathnames-mv.h
 
shell.c
 Instantatiate a new terminal shell.
 
shell_cmdset.c
 Shell Command Set Management.
 
sysexits.h
 
vis.h
 
write_file.c
 Write buffer to a file.

Detailed Description

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.