terminal_program 
Vars | |
is_executable | Set to FALSE if the program can't actually be run. |
---|---|
req_access | Behaves identically to req_access on /obj |
Procs | |
can_execute | Called before a program is run. |
execute | Called when a program is run. |
get_os | Returns the operating system. |
on_close | Called when a program is no longer running |
parse_std_in | Helper for splitting stdin into command and arguments. |
peripheral_input | Called by computers to forward commands from peripherals to programs. Should probably be on OS but oh well. |
tick | Processing function, Called by the OS, or the computer if src is the OS. |
Var Details
is_executable 
Set to FALSE if the program can't actually be run.
req_access 
Behaves identically to req_access on /obj
Proc Details
can_execute
Called before a program is run.
execute
Called when a program is run.
get_os
Returns the operating system.
on_close
Called when a program is no longer running
parse_std_in
Helper for splitting stdin into command and arguments.
peripheral_input
Called by computers to forward commands from peripherals to programs. Should probably be on OS but oh well.
tick
Processing function, Called by the OS, or the computer if src is the OS.