Tries to find a documentation from a library with name. Returns either a string of documentation, or false and a reason.
Displays the documentation for topic, returning true, or errors. Also callable as just doc().
returns VT100 formatted documentation from documentation table fdoc
Searches for documentation labelled as topic in .dict files under /boot/doc/
parses file from path to return a documentation table
Downloads path from host (on optPort or 70), printing the directory listing, or saving the file to dest.
Downloads url to dest via the internet card, if available.
Downloads from remote remotePath to dest
run function f for every occurance of event e
return an event, optionally with timeout t and filter ....
stop function f running for every occurance of event e
Wrap a stream to read or write LZ16.
Open file fname to read or write LZ16-compressed data depending on mode
generate a header for file fname when provided with file length len
Given buffer stream, returns an iterator suitable for use with for that returns, for each iteration, the file name, a function to read from the file, and the length of the file.
send arbitrary data ldata reliably to host to on port port
send a reliable packet to host to on port port with data data, with block set to true to disable blocking
generate a random 16-character string, for use in packet IDs
run function listener on a connection to port
open a socket to host to on port port
listen for connections on port port in a blocking manner
send an unreliable packet to host to on port port with data data, optionally with the packet ID npID
Request acknowledgment from addr, waiting timeout seconds each try, and try times times. If silent is true, don't print status. Returns true if there was at least one successful ping, the number of successes, the number of failures, and the average round trip time.
Starts an interactive Minitel socket connection to host on port, primarily for remote login. Returns whether the attempt was successful.
Export the directory path over RPC.
Import filesystem rpath from host and attach it to lpath.
Removes the package specified by fname from the pkgfs index.
Add a package as specified in fname to the pkgfs component. If comp is true, read it as a LZ16-compressed package.
Re-download cached repository indexes.
Downloads and mounts a package, identified as pkgname, onto the pkgfs. Setting auto will flag the package as automatically installed; this is used for dependencies.
Remove the package pkgname from the pkgfs and package directory.
Upgrades all packages on the system to the current version stored in the relevant repository. If force is set, re-download all packages.
Print a list of available packages matching filter, optionally filtering to only installed packages if installed is set.
Removes a repository from the list of repositories.
Returns the metadata for a the package specified in pkgname.
Stops service name, supplying ... to the stop function. Returns false and a reason if this fails.
Attempts to load service name, and if force is true, replaces the current instance.
Stops service name, supplying ... to the stop function. Returns false and a reason if this fails.
Disables service name being started on startup.
Enables service name being started on startup.
Restarts service name using rc.stop and rc.start.
Enable the allow list for function fname and add host to it.
Registers a function to be exported by the RPC library.
Enable the deny list for function fname and add host to it.
Removes a function from the RPC function registry, clearing any ACL rules.
Calls exported function fn on host hostname, with parameters ..., returning whatever the function returns, or false.
Returns a component.proxy()-like table from the functions on hostname with names matching filter.
return data, but unserialized
serialize value into a string. If af is true, allow functions. This breaks unserialization.
Prints the processes running on the system.
Outputs the contents of files specified in ... to the standard output.
Displays used and free memory.
Mounts filesystem component with address addr to path in the filesystem.
Prints free disk space.
Prints contents of directories specified as ....
Imports the functions from library lib into the shell environment.
Removes the functions from lib from the shell environment.
takes GPU component proxy gpu and returns a function to write to it in a manner like an ANSI terminal, either allocating a new buffer or using bn.
creates a process to handle the GPU and screen address combination gpua/scra, optionally using buffer number bn specifically. Returns read, write and "close" functions.
create a new buffer in mode mode backed by stream object stream
Register a new devfs node with the name fname that will run the function fopen when opened. This function should return a function for read, a function for write, function for close, and optionally, a function for seek, in that order.
Returns the address of the filesystem at a given path, if applicable; do not expect a sensical response
Moves file from to to
Returns the component type of the filesystem at a given path, if applicable
Resolves path to a specific filesystem mount and path
Unmounts filesystem from path.
Returns a table containing the mount points of all mounted filesystems
copies a file from from to to
Opens file path with mode mode, returning a file object.
Splits path on each /
Mounts the filesystem proxy to the mount point path if it is a directory. BYO proxy.
Writes each argument to the default output stream, separated by space.
Sets the default output stream to fd if provided, either as a buffer as a path. Returns the default output stream.
Reads from the default input stream.
Sets the default input stream to fd if provided, either as a buffer as a path. Returns the default input stream.
Writes its arguments to the default output stream.
Open file path in mode. Returns a buffer object.
Reloads library f from disk into memory.
reads file p and returns a function if possible
searches for a library with name f and returns what the library returns, if possible. if force is set, loads the library even if it is cached
runs file p with arbitrary arguments in the current thread
changes the current working directory of the calling process to the directory specified in p, returning true or false, error
returns info on process pid as a table with name and parent values
returns the current process' PID
gets a process' k environment variable
the actual scheduler function
creates a process from function f with name n
set's the current process' environment variable k to v, which is passed to children
returns a table of process IDs
removes process pid from the task list
Output msg to the system log, with severity level, from service.