Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Inferno 3rd Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Anchors

1. Commands

Section 10

Section 10.1

Section 10.2

Section 10.6

Section 10.8

Section 1E

2. System Calls

3. Library Functions

4. Special Files

5. File Formats and Conventions

6. Games

7. Macro Packages and Language Conventions

8. Maintenance Commands

Section 9

Manual — Inferno 3rd Edition

389 entries

1. Commands

intro, 0introintroduction to Inferno
win, acmeinteractive text windows
auhdr, raw2iaf, wav2iaf, auplaybasic audio output and conversion
mount, unmount, bindchange name space
catconcatenate files
cdchange working directory
charonweb browser
chmodchange file mode (permissions)
cmpcompare two files
cookSGML converter
cpcopy files
cprofcoverage profiling of limbo programs
cpuexecute a remote command
dateprint the date
ddconvert and copy a file
diffdifferential file comparator
disdepprint load dependencies for Dis file
dudisk usage
echoprint arguments
getenv, setenv, envenvironment routines
fccommand-line floating point calculator
newer, ftesttest file attributes
lstar, puttar, gettartar archive utilities
greppattern matching
gunzip, gzipcompression and decompression utilities
ideaencrypt/decrypt a file with the IDEA cipher
broke, killterminate process(es)
lclist files in columns
dial, listennetwork connections
lslist files
wm/man, man2txt, lookman, manprint or find manual pages
mash-makebuiltin ‘make’ functionality
mash-tkcontrol visual elements of mash window
mashprogrammable shell
fit, mersenne, parts, math-miscmiscellaneous mathematical applications
mathcalcinterface to a TclLib calculator module
mdbbinary file editor
minitermMinitel® emulator
mkdirmake a directory
wm/mprof, mprofmemory profiling limbo programs
muxinteractive television demo
mvmove files
netstatsummarize network connections
nsv, nsdisplay current namespace
nsbuildbuild Inferno namespace
ppaginate
plumbsend message to plumber
wm/prof, profprofiling limbo programs
psprocess (thread) status
pwdprint working directory
rcmdremote command execution
readread from standard input with optional seek
rmremove file(s)
sendmailsend mail messages
arg, sh-argshell command-line argument parsing
expr, ntest, sh-exprshell module for simple arithmetic. 
file2chan, rblock, rdata, rerror, rget, rread, rreadone, rwrite, sh-file2chanshell interface to file2chan
re, match, sh-regexshell script regular expression handling
std, if, while, ~, no, !, apply, getlines, status, pctl, fn, and, or, raise, rescue, hd, tl, index, split, join, pid, parse, pctl, env, sh-stdstandard shell builtins module. 
prefix, in, splitl, splitr, drop, take, splitstrl, splitstrr, tolower, toupper, len, alen, slice, sh-stringshell script string manipulation
tk, chan, send, recv, alt, sh-tkloadable tk module for sh. 
builtin, exit, load, loaded, local, whatis, quote, run, set, unload, unquote, shcommand language
pause, sleepsuspend execution for an interval
stackexamine call stack
streamstream data between source and sink
stringsextract printable strings
md5sum, sha1sum, sumcalculate file’s checksum
taildeliver the last part of a file
tcstranslate character sets
teepipe fitting
telnetmake a remote telnet connection
timetime command execution
tiny: sh, rm, tinyreduced command line interface to the Inferno system
tkcmdenter Tk commands interactively
touchupdate the modification time of one or more files
trtranslate characters
unicodeinterpret Unicode characters
uudecode, uuencodeencode/decode a file
wccount lines, words, and characters
webgrabfetch web page content as files
wishinterface to the Tk graphics toolkit
brutus, wm-brutusscreen editor with support for SGML
calendar, wm-calendarcalendar and diary
wm/cprof, wm-cprofgraphic coverage profiling of limbo programs
deb, wm-debgraphical Limbo debugger
dmview, dmwm, wm-dmviewview remote displays
filename, wm-filenameinteractively select a file
ftree, wm-ftreefile tree browser
keyboard, pen, wm-keyboardcharacter input for touch screen devices
license, wm-licensedisplay and confirm licence terms
logwindow, wm-logwindowwindow that pops up when data becomes available. 
about, coffee, colors, date, edit, mand, memory, polyhedra, reversi, rt, stopwatch, sweeper, task, tetris, unibrowse, view, winctl, wm-miscmiscellaneous graphical applications
sh, mash, wm-shWindow frames for the Inferno shells
logon, wmwindow manager
xddump file contents in multiple formats
yaccyet another compiler-compiler (Limbo version)
zeroswrite sequence of bytes

Section 10

intro, 0introintroduction to hosted and native implementation

Section 10.1

0a, 1a, 5a, 8a, ka, qa, va, 2aassemblers
0c, 1c, 5c, 8c, kc, qc, vc, 2cC compilers
0l, 1l, 5l, 8l, kl, ql, vl, 2lloaders
5cvexecutable conversion utility for Arm
aciddebugger
c2lC to limbo translator
iararchive and library maintainer
kprofdisplay kernel profiling data
mkmaintain (make) related files
ms2convert executable or raw file to Motorola S record format
nmname list (symbol table)

Section 10.2

iallocb, freeb, freeblist, BLEN, blocklen, concatblock, copyblock, trimblock, packblock, padblock, pullblock, pullupblock, adjustblock, checkb, allocbdata block management
atol, charstod, strtod, strtol, strtoul, strtoll, atoiconvert text to numbers
microdelay, addclock0link, delaysmall delays, clock interrupts
devclone, devdir, devgen, devwalk, devdirread, devstat, devopen, devbread, devbwrite, devcreate, devremove, devwstat, devreset, devinit, openmode, devattachcommon device driver support
dmasetup, dmadone, dmaend, dmacount, dmainitplatform-specific DMA support
nexterror, poperror, waserror, errorerror handling functions
iseve, eveprivileged user
tokenize, getfieldsbreak a string into fields
ins, inl, outb, outs, outl, insb, inss, insl, outsb, outss, outsl, inbprogrammed I/O
intrenableinterrupt handler registration
kbdrepeat, kbdclock, kbdq, kbdputckeyboard interface to cons(3)
setpri, swiproc, pexit, kprockernel process creation, priority change, interrupt and termination
canlock, ilock, iunlock, unlock, lockspin locks
mallocz, smalloc, free, realloc, calloc, mallockernel memory allocators
memccpy, memchr, memcmp, memcpy, memmove, memset, memorymemory operations
chanfree, cclose, eqqid, eqchan, isdir, fdtochan, namec, newchanchannel operations
panicabandon hope
parsecmdparse device commands
fprint, sprint, snprint, seprint, smprint, vfprint, vsnprint, vseprint, vsmprint, printprint formatted output
qio: qget, qdiscard, qconsume, qpass, qproduce, qcopy, qopen, qbread, qread, qbwrite, qwrite, qiwrite, qfree, qclose, qhangup, qreopen, qlen, qwindow, qcanread, qsetlimit, qnoblock, qflush, qfull, qioqueued I/O for devices
qunlock, canqlock, rlock, runlock, wlock, wunlock, qlockserial synchronisation
readstr, readnumreturn values from read from device
Ref, incref, decref, refreference counts
runetochar, chartorune, runelen, fullrune, utflen, utfrune, utfrrune, utfutf, runerune/UTF conversion
ticks, HZ, MS2HZ, MS2TK, TK2MS, TK2SEC, secondskernel times and time conversions
wakeup, tsleep, return0, sleepprocess synchronisation
spllo, splx, islo, splhienable and disable interrupts
strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strdup, strstr, strcatstring operations
Fcall, convS2M, convD2M, convM2S, convM2D, fcallconv, dirconv, styxC interface to Inferno File protocol
xspanalloc, xfree, xallocbasic memory management

Section 10.6

a.outnative kernel object file format
ararchive (library) file format

Section 10.8

sbootSA110 and SA1100 bootstrap program
styxmonfirst stage bootstrap for SA110 and SA1100

Section 1E

disdump, asmDis assembler, Dis disassembler
emuInferno emulator
limboLimbo compiler
osinterface to host OS commands (hosted Inferno only)

2. System Calls

intro, 0introintroduction to Limbo modules for the Inferno system
argparse program arguments
asn1: decode, encode, asn1ASN.1 (X.208), BER (X.209) encoding
bufio: chanfill, bufio-chanfillbuffered I/O interface to named channel
bufiofill, bufiobuffered input/output module
Cfg, Record, Tuple, Attr, cfgconfiguration file parser
commandcommand interface
Convcs,   Btos, Stob, convcscharacter set conversion suite
crcCrc module
daytime: text, filet, gmt, local, now, time, tm2epoch, daytimetime conversions
debugprocess debugging
devpointerI/O interface for the pointer device
dictlist of string pairs
disread Dis object files
Dividers, dividersuser-draggable tk dividing bars
draw, draw-0introbasic graphics facilities module
Context, draw-contextgraphics environment
Display, draw-displayconnection to draw device
draw: example, draw-examplesimple program illustrating image primitives
Font, draw-fontcharacter images for Unicode text
Image, draw-imagepictures and drawing
Point, draw-pointcoordinate position
Pointer, draw-pointerstate of a pointer device such as a mouse
Rect, draw-rectrectangular portion of the plane
Screen, draw-screentype to define the data structures for the windows on a display, or subwindows within a window
drawmuxmultiplex stream of draw requests
envenvironment module
filepat: expand, match, filepatfile pattern matching
filterdata processing interface
deflate, inflate, filtersdata processing modules
Gamesrv, gamesrvgame server module
HashTable, hashhash table
imagefile: readgif, readjpg, readpicfile, readpng, readxbitmap, remap, imagefileprocessing external image file formats
irinfrared remote control module
Keyring intro, keyring-0introintroduction to the Keyring module
auth, readauthinfo, writeauthinfo, keyring-authauthenticate a connection
certtostr, pktostr, sktostr, strtocert, strtopk, strtosk, keyring-certtostrencryption key conversion functions
genSK, genSKfromPK, sktopk, dhparams, keyring-genskgenerate keys
getstring, putstring, getbytearray, putbytearray, puterror, keyring-getstringdelimited I/O
IPint, keyring-ipint‘infinite’ precision integer utility functions
sha, md4, md5, hmac_sha1, hmac_md5, sign, verify, keyring-shacryptographic digests and digital signatures
lockthread locking. 
Math: intro, math-0introelementary numerics
Math: cbrt, sqrt, pow, pow10, hypot, exp, expm1, log, log10, log1p, cos, cosh, sin, sinh, tan, tanh, acos, asin, acosh, asinh, atan, atanh, atan2, lgamma, erf, erfc, j0, j1, y0, y1, jn, yn, math-elemelementary functions of applied mathematics
math-fpfloating point
Math: dot, norm1, norm2, iamax, gemm, sort, math-linalglinear algebra primitives
memfsheap based filesystem
mpeginterface to the mpeg device driver
newnsbuild a new name space from a description file
plumbmsgplumbing message module
pop3Post Office Protocol
Popup: mkbutton, changebutton, event, add, popuppopup list box pseudo-widget
Prefab: intro, prefab-0introInteractive TV tookit
prefab: Compound, prefab-compoundwindows for ITV toolkit
prefab: Element, prefab-elementmenu and display elements for ITV toolkit
prefab: Environ, prefab-environenvironment for ITV toolkit to provide a graphics framework for a collection of items
prefab: Style, prefab-stylefonts and colours for ITV toolkit
Print, printprinting system
profile, profprofiling library
pslibpostscript generation
randpseudo random number generation
readdirread directory and sort files
regexregular expression recognizer module
intro, security-0introintroduction to security
Auth: init, client, server, security-authauthenticated connections between client and server
login, security-loginverify credentials
password: get, put, setpwfile, security-passwordread and write password entries in the password file
random: randomint, randombuf, security-randomrandom number generation
ssl: connect, secret, security-sslinterface to the Secure Sockets Layer
Sets, setssets of non-negative integers
Sh, shmodule interface to the shell
smtpSimple Mail Transfer Protocol
ipsrv, srvnetwork name and address translation
string: append, drop, in, prefix, splitl, splitr, splitstrl, splitstrr, take, toint, tolower, toupper, stringstring operations
stringinttabstring table lookup module
Styx: Rmsg, Tmsg, dir2text, istmesg, packdir, packdirsize, readmesg, qid2text, unpackdir, styxinterface to Styx file protocol
styxlibStyx server implementation module
Sys: intro, sys-0introintroduction to the Sys module
bind, mount, unmount, sys-bindchange file name space
byte2char, char2byte, sys-byte2charconvert between bytes and characters
chdir, sys-chdirchange working directory
announce, dial, export, listen, sys-dialmake network connections
dirread, sys-dirreadread directory
dup, fildes, sys-dupduplicate an open file descriptor
Exception, raise, rescue, rescued, unrescue, sys-exceptionexception handling
file2chan, sys-file2chancreate file connected to Limbo channel
millisec, sys-millisecmillisecond timer
open, create, sys-openopen a file for reading or writing, create file
pctl, sys-pctlprocess control
pipe, sys-pipecreate an interprocess channel
print, fprint, sprint, sys-printprint formatted output
read, write, stream, sys-readread or write file
remove, sys-removeremove a file
seek, sys-seekchange file offset
SELF, sys-selfreference self as a compatible module type
sleep, sys-sleepdelay
fstat, fwstat, stat, wstat, sys-statget and put file status
tokenize, sys-tokenizesplit string into words
utfbytes, sys-utfbytescompute UTF length of complete Unicode characters in a UTF byte sequence
Tk, tkgraphics toolkit
translate: opendict, opendicts, mkdictname, translatetranslation dictionaries
virgilpose question to name resolver
volumevolume control for an infrared interface
wmlib: titlebar, titlectl, taskbar, unhide, geom, snarfput, snarfget, tkquote, tkcmds, dialog, getstring, filename, mktabs, tabsctl, wmlibwindow manager toolkit
workdirget the current working directory

3. Library Functions

intro, 0introintroduction to the Inferno devices
audiodigital audio input and output
cmdinterface to host operating system commands
consconsole device
drawgraphics device
eiaserial communication control
envenvironment device
etherEthernet device
flash1100, flash-1100flash memory (StrongARM)
flashflash memory
floppyfloppy disk interface
fshost file system interface
ftlflash translation layer
gpioaccess to GPIO registers
i2cbasic I2C interface
ipnetwork protocols over IP
kfsdisk file system
kprofkernel profiling
ksymkernel symbols
lptparallel port interface
mntattach to Styx servers
mpegBoffin mpeg decoder
pbusUSR/3Com Edgeserver packet bus
pipethe pipe device
plapUSR/3Com Edgeserver packet bus link access protocol
profprofiling device
progrunning programs
rootthe root file system
rtcreal-time clock and non-volatile memory
srvserver registry
sslsecure sockets layer device
switchhardware option switch
tinyfsfile system for miniscule devices
touchtouch screen
tvHauppage TV device
usbUSB device interface
vidMotorola 823 video output

4. Special Files

intro, 0introintroduction to file servers
acmecontrol files for text windows
archfsmount an archive format filesystem
rawdbfs, dbfssimple database file system
9660srv, dossrvDOS/Windows and ISO 9660 file systems
9export, exportexport name space on a connection
ftpfsfile transfer protocol (FTP) file server
gamesrvgame server
lockfsexclusive access file server
logfilememory-based append-only circular storage buffer
memfsmount a heap based filesystem
namespacestructure of conventional Inferno name space
ramfilesynthesise file

5. File Formats and Conventions

intro, 0introintroduction to the Inferno File Protocol, Styx
attach and  nop, attachmessages to initiate activity
cloneduplicate a fid
clunkforget about a fid
errorreturn an error
flushabort a message
create, openprepare a fid for I/O on an existing or new file
write, readtransfer data from and to a file
removeremove a file from a server
wstat, statinquire or change file attributes
walkdescend a directory hierarchy

6. Games

intro, 0introintroduction to file formats
audioInferno audio file format
authauthentication using station-to-station protocol
dbconnection service database
disDis object file
dnslist of Internet domain name servers
subfont, fontexternal format for character fonts and subfonts
imageexternal format for images
keyboardhow to type characters
loginkey exchange protocol
manmanual page format
namespacename space description file
passwordsigner password file
plumbingplumbing rules
regex, regexpregular expression notation
rgbvcolour map
sblsymbol table file
servicesInferno-specific service name data base
translatetranslation dictionary
UTF, Unicode, ASCII, utfcharacter set and format

7. Macro Packages and Language Conventions

intro, 0introintroduction to databases
DB, dbdatabase support
dbsrvODBC database server

8. Maintenance Commands

intro, 0introintroduction to system configuration and administration, and system utilities
changelogincreate/update the password file
inst, info, createarchive or update a file system
createsignerkeycreate signer key on authentication server
csquery, csconnection server
formatformat floppy diskette
ftlFlash Translation Layer formatter
getauthinfoobtain a certificate for authentication
echo, stats, httpdHTTP server
init: emuinit, osinit, initInferno initialisation
kfswiz, kfscmdkfs administration
logindlogin daemon
manufacturecommand to emulate set-top-box-id in ROM
mkext, mkfsarchive or update a file system
plumberplumber for interapplication message routing
rdbgsrvremote debug server
registercommand to register set-top-box identity with signer
styxd, rstyxdStyx-based remote execution and file service
shutdownshut down system/emulator
countersigner, signerdaemons for set-top box authentication
srvstart services
touchcaltouch screen calibration
verifycommand to authenticate receiver of blinded certificate
virgildconnection service for remote clients

Section 9

intro, 0introintroduction to Inferno Tk
copyright, 1copyrightcopyright notice for Tk documentation
bindArrange for events to invoke Tk scripts
buttonCreate and manipulate button widgets
canvasCreate and manipulate canvas widgets
checkbuttonCreate and manipulate checkbutton widgets
cursorchange the current mouse cursor
destroyDestroy one or more windows
entryCreate and manipulate entry widgets
focusDirect keyboard focus to a widget. 
frameCreate and manipulate frame widgets
grabConfine pointer and keyboard events to a window sub-tree
imageCreate and manipulate images
labelCreate and manipulate label widgets
listboxCreate and manipulate listbox widgets
lowerChange a window’s position in the stacking order
menuCreate and manipulate menu widgets
menubuttonCreate and manipulate menubutton widgets
optionsStandard options supported by widgets
packGeometry manager that packs around edges of cavity
radiobuttonCreate and manipulate radiobutton widgets
raiseChange a window’s position in the stacking order
scaleCreate and manipulate scale widgets
scrollbarCreate and manipulate scrollbar widgets
sendsend a value down a Tk channel
textCreate and manipulate text widgets
typesStandard types required by widget options. 
updateflush graphics
variableinterrogate a radiobutton variable

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026