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. |
| std_in | Called by the operating system when a user enters text into the input field. Don't call directly, call os.try_std_in() instead |
| 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.
std_in
Called by the operating system when a user enters text into the input field. Don't call directly, call os.try_std_in() instead
tick
Processing function, Called by the OS, or the computer if src is the OS.