- Command loop - Searches for an execution of a completed linux command sequence in argc, argv format.
- Xchars - Two dimensional screen string output and input.
- Script syntax - Either python, Golang or Forth
- Subsystem - Basically anything that can execute linux command scripts in argc,argv form. Includes, an interface to linux, via sys, almost anything in linux obeys the syntax. The join command and control path is all linux command script. One could make a driver control interface, or adapt one, by collating all the known driver utilities into a coherent package. A complete gdb debugger, transparent mapping of gdb output to a 2D screen, using Forth as a control script. User an make ad hoc char GUI with gdb, on the spot as needed. Tell Forth to get a variable an put it at X,Y. Another example, simplify pakage management. Pick whatever package management tool you need, but adapt them all adapt it to common syntax across the enterprise. The list of subsystems is endless.
Init:
User needs external configuration scripts depending upon the app, the shell assumes nothing about dictionaries. Shell initilizes with two commands, LoadModule and ListModules. On load shell looks in the module to find:
void * Entry(int * argc, void * argv[])
and puts that pointer into its command loop list and continues.
The shell never has a clue beyond that. Even the Xchars uses the linux syntax, in fact, on a plain linux command line, xchar command should work. Xhars is loaable. Users can select different Xchar packages, all of them linux command syntax compatible, at least the entry point. Beyond that, you have python and Golang for enterprise management scripts, commonly formatted for just the business functions needed. This is all a great productivity boost across the linux spectrum.
No comments:
Post a Comment