📄 readme
字号:
Shell Directory READMEThis directory contains the source for the Xinu shell and sample setof commands. When make runs, it produces a library (libS.a) that containsobject files for all commands (x_zzz.c). It then compiles the shell(addarg.c ascdate.c login.c shell.c) and links it together with commandsthat are referenced to produce a single object file (sh.o).Files cmd.h and shell.h are linked to ../../h/cmd.h and ../../h/shell.hto make it convenient to share them between the rest of the kernel andfiles here.To change the command set, edit cmd.h and change the list defined byCMDS. Each entry consists of a command name to recognize, a Booleanthat specifies whether the command should be run as a builtin (as opposedto running it as a separate process), and a procedure to call for thatcommand. File cmd.h also contains extern declarations for all of theprocedures mentioned in CMDS.Note 1: Some commands cannot be inserted and/or removed without modifying the rest of the kernel. In particular, the ruptime command cannot be used unless the kernel is compiled to execute the rwho daemon.Note 2: The system comes on the distribution tape with all the commands configured in it. This leaves very little of the LSI 11's 16-bit address space for modifications or additions. We suggest removing commands like create, snap, rls, and echo. You can gain considerably more space by removing ruptime, uptime, and the rwho daemons.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -