Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Anchors

Section ---

1. Commands

1C. Communications Commands

1L. Commands

2. System Calls

3. Subroutines and Libraries

3C. C Library

3M. Math Library

3N. Network Support Library

3R. RPC Library

3S. Standard I/O Library

3X. Miscellaneous Libraries

4. Device Drivers

5. File Formats

8. Maintenance Commands

Section 8C

L. Local Commands

Section Lists

Tcl Command Language Library

Sprite Administrative Commands

Sprite Commands

Sprite System Services

Sprite Device Drivers

Sprite File Formats

Sprite C Library

Section libcalls

Section man

Section prog

Manual — Sprite KS.390

720 entries

Section ---

.((exception)) Sync_Wait.man

1. Commands

Pnewsa program for posting news articles
Rnmaila program for replying via mail
a2pAwk to Perl translator
afterExecute a command after a time delay
ar.spritearchive and library maintainer[ ar ]
asSun-1, Sun-2 and Sun-3 assembler
atexecute commands at a later time
atqprint the queue of jobs waiting to be run
atrmremove jobs spooled by at
awkpattern scanning and processing language
bargdraw a bar graph in gremlin format
basenamestrip filename affixes
bashGNU Bourne-Again SHell
bcarbitrary-precision arithmetic language and calculator
bibbibliographic formatter; list bibliographic reference items[ bib, listrefs ]
bindArrange for X events to invoke Tcl commands
bisonGNU Project parser generator (yacc replacement)
buttonCreate and manipulate button widgets
calprint calendar
canvasCreate and manipulate canvas widgets
catcatenate and print
ccGNU project C Compiler
cc_mipsRISC C compiler[ cc ]
checkbuttnCreate and manipulate check-button widgets[ checkbutton ]
chgrpchange group
chmodchange mode
chpassadd or change user database information[ chpass, chfn, chsh ]
cicheck in RCS revisions
clearclear terminal screen
cmpcompare two files
cocheck out RCS revisions
colfilter reverse line feeds
colrmremove columns from a file
compresscompress and expand data[ compress, uncompress, zcat ]
cpcopy
cpiocopy file archives in and out
cryptencode/decode
csha shell (command interpreter) with C-like syntax
ctagscreate a tags file
dateprint and set the date
dcdesk calculator
ddconvert and copy a file
deddirectory editor
deroffremove nroff, troff, tbl and eqn constructs
destroyDestroy a window
diffdifferential file and directory comparator
diff33-way differential file comparison
dirnamedisplay directory portion of a pathname
ditrofftext formatting and typesetting
dtermditroff output interpreter for terminals
dusummarize disk usage
dvipsconvert a TeX DVI file to POSTSCRIPT
dviselectextract pages from DVI files
echoecho arguments
edtext editor
elvisThe editor[ elvis, ex, vi, view, input ]
emacsGNU project Emacs
enscriptconvert text files to POSTSCRIPT format for printing
entryCreate and manipulate entry widgets
eqntypeset mathematics[ eqn, neqn, checkeq ]
extext editor[ ex, edit ]
expandexpand tabs to spaces, and vice versa[ expand, unexpand ]
exprevaluate arguments as an expression
filedetermine file type
findfind files
fingeruser information lookup program
flexfast lexical analyzer generator
fmtsimple text formatter
focusDirect keyboard events to a particular window
frameCreate and manipulate frame widgets
fromwho is my mail from? 
gawkpattern scanning and processing language
gdbProject GNU’s DeBugger
gdb.newThe GNU Debugger[ gdb ]
getoptformat flags for shell scripts
ggraph
gprofdisplay call-graph profile data
grabConfine pointer and keyboard events to a particular window sub-tree
grappic preprocessor for drawing graphs
grepprint lines matching a regular expression[ grep, egrep, fgrep ]
grnditroff preprocessor for gremlin files
groupsshow group memberships
headgive first few lines
identidentify files
idxquery id database[ lid, gid, eid, aid ]
imakeC preprocessor interface to the make utility
indentindent and format C program source
invertcreate and access an inverted index[ invert, lookup ]
ipcsreport status of System V semaphores. [ ipcs, ipcrm ]
jaquithTertiary storage manager
jaquithDailyDo daily Sprite dump to Jaquith server
jbuildReconstruct Jaquith disk index from tertiary storage
jcleanPerform disk cleaning operation on Jaquith system. 
jcopyPerform volume-to-volume copy on Jaquith system
jctrlPerform sysadmin duties on Jaquith system. 
jgetlist contents of a Jaquith archive directory. 
jlslist contents of a Jaquith archive directory. 
jmgrRobot manager for the Jaquith system
jputStore files in a Jaquith archive. 
jstatInquire into the state of the Jaquith archive system
labelCreate and manipulate label widgets
lbSingSelAllow only one selected element in listbox(es)[ tk_listboxSingleSelect ]
ldlink editor
lessopposite of more
lesskeyspecify key bindings for less
lexgenerator of lexical analysis programs
lidquery id database[ lid, gid, eid, aid ]
linta C program verifier
listboxCreate and manipulate listbox widgets
lnmake links
lookfind lines in a sorted list
lpqspool queue examination program
lproff line print
lprmremove jobs from the line printer spooling queue
lslist contents of directory
mailsend and receive mail
makekeygenerate encryption key
menuCreate and manipulate menu widgets
menubuttnCreate and manipulate menubutton widgets[ menubutton ]
mergethree-way file merge
mesgpermit or deny messages
messageCreate and manipulate message widgets
migMach message interface generator
mkdirmake a directory
mkidmake an id database
morefile perusal filter for crt viewing[ more, page ]
msgssystem messages and junk mail program
mtmagnetic tape control
mvmove or rename files
nawkpattern-directed scanning and processing language[ awk ]
newsetupa program to set up a .newsrc file
newsgroupsa program to list unsubscribed newsgroups. 
nicerun a command at low priority (sh only)[ nice, nohup ]
nmprint name list
nohuprun a command at low priority (sh only)[ nice, nohup ]
nrofftext formatting
nslookupquery name servers interactively
odoctal, decimal, hex, ascii dump
optionAdd/retrieve window options to/from the option database
optionsStandard options supported by widgets
packGeometry manager that packs around edges of cavity
passwdchange password file information
patcha program for applying a diff file to an original
perlPractical Extraction and Report Language
pictroff preprocessor for drawing simple pictures
placeGeometry manager for fixed or rubber-sheet placement
prprint file
psgrindconvert C source files to POSTSCRIPT format for printing
pwdworking directory name
radiobuttnCreate and manipulate radio-button widgets[ radiobutton ]
rcschange RCS file attributes
rcsdiffcompare RCS revisions
rdistremote file distribution program
revreverse lines of a file
rmremove (unlink) files or directories[ rm, rmdir ]
rmdirremove (unlink) directories or files[ rmdir, rm ]
rnnew read news program
rpcgenan RPC protocol compiler
s2pSed to Perl translator
sasSPUR assembler
scaleCreate and manipulate scale widgets
scrollbarCreate and manipulate scrollbar widgets
sedstream editor
selectionManipulate the X selection
sendExecute a command in a different interpreter
shcommand language[ sh, for, case, if, while, :, ., break, continue, cd, eval, exec, exit, export, login, read, readonly, set, shift, times, trap, umask, wait ]
sldSPUR link editor
snmprint name list for SPUR binary
soelimeliminate .so’s from nroff input
sortsort or merge files
spellfind spelling errors[ spell, spellin, spellout ]
spellinfind spelling errors[ spell, spellin, spellout ]
splitsplit a file into pieces
stringsfind the printable strings in a file
stripremove symbols and relocation bits
sttyset terminal options
susubstitute user id temporarily
sumsum and count blocks in a file
taildeliver the last part of a file
talktalk to another user
tartape archiver
tblformat tables for nroff or troff
tcshC shell with file name completion and command line editing
teepipe fitting
testcondition command
textCreate and manipulate text widgets
tkerrorCommand invoked to process background errors
tkwaitWait for variable to change or window to be destroyed
toplevelCreate and manipulate toplevel widgets
touchupdate date last modified of a file
trtranslate characters
traversalEnable keyboard menu traversal[ tk_menus, tk_bindForTraversal ]
trchange
tsetterminal-dependent initialization[ tset, reset ]
ttyget terminal name
unifdefremove ifdef’ed lines
uniqreport repeated lines in a file
unitsconversion program
updateProcess pending events and/or when-idle handlers
variablesVariables used or set by Tk
vivisual display editor based on ex(1)[ vi, view ]
wcword count
whereislocate source, binary, and or manual for program
whichlocate a program file including aliases and paths (csh only)
whoamiprint effective current user id
whoisDARPA Internet user name directory service
winfoReturn window-related information
wishSimple windowing shell
wmCommunicate with window manager
xargsconstruct argument list(s) and execute utility. 
xbuscmddiagnostic program for the RAID project’s XBUS board
xgonelock the screen under the X window system
xgraphDraw a graph on an X11 Display
yaccyet another compiler-compiler
zawaytell other people via Zephyr that you aren’t around
zctlzephyr control program
zleavenotify you via Zephyr when you have to leave
zlocatefind a user using Zephyr
znolnotify via Zephyr upon login or logout of interesting people
zwgcZephyr Windowgram Client program
zwritewrite to another user via Zephyr

1C. Communications Commands

ftpARPANET file transfer program
rcpremote file copy
rloginremote login
rshremote shell
telnetuser interface to the TELNET protocol
tftptrivial file transfer program
uuencodeencode/decode a binary file for transmission via mail[ uuencode, uudecode ]

1L. Commands

dvi2psconvert a DVI file to PostScript
rcsintrointroduction to RCS commands
rcsmergemerge RCS revisions
rlogprint log messages and other information about RCS files
textext formatting and typesetting[ tex, initex, virtex ]

2. System Calls

_exitterminate a process
acceptaccept a connection on a socket
accessdetermine accessibility of file
bindbind a name to a socket
brkchange data segment size[ brk, sbrk ]
chdirchange current working directory
chmodchange mode of file[ chmod, fchmod ]
chownchange owner and group of a file[ chown, fchown ]
closedelete a descriptor
connectinitiate a connection on a socket
creatcreate a new file
dupduplicate a descriptor[ dup, dup2 ]
execveexecute a file
fcntlfile control
flockapply or remove an advisory lock on an open file
forkcreate a new process
fsyncsynchronize a file’s in-core state with that on disk
ftruncateset a file to a specified length[ truncate, ftruncate ]
getdtablesizeget descriptor table size
getgidget group identity[ getgid, getegid ]
getgroupsget group access list
gethostidget sprite identifier of current host
gethostnameget/set name of current host[ gethostname, sethostname ]
getitimerget/set value of interval timer[ getitimer, setitimer ]
getpagesizeget system page size
getpeernameget name of connected peer
getpgrpget process group
getpidget process identification[ getpid, getppid ]
getpriorityget/set program scheduling priority[ getpriority, setpriority ]
getrlimitcontrol maximum system resource consumption[ getrlimit, setrlimit ]
getrusageget information about resource utilization
getsocknameget socket name
getsockoptget and set options on sockets[ getsockopt, setsockopt ]
gettimeofdayget/set date and time[ gettimeofday, settimeofday ]
getuidget user identity[ getuid, geteuid ]
ioctlcontrol device
killsend signal to a process
killpgsend signal to a process group
linkmake a hard link to a file
listenlisten for connections on a socket
lseekmove read/write pointer
mincorecheck if pages are in memory
mkdirmake a directory file
mknodmake a special file
mlocklock and unlock pages in memory. [ mlock, munlock ]
mmapmap an open file into the process’s address space
mprotectset protection of memory mapping
msyncsync pages to disk. 
munmapunmap part of the process’s address space
openopen a file for reading or writing, or create a new file
pipecreate an interprocess communication channel
profilexecution time profile
readread input[ read, readv ]
readlinkread value of a symbolic link
recvreceive a message from a socket[ recv, recvfrom, recvmsg ]
renamechange the name of a file
rmdirremove a directory file
selectsynchronous I/O multiplexing
semctlsemaphore control operations
semgetget set of semaphores
semopsemaphore operations
sendsend a message from a socket[ send, sendto, sendmsg ]
setfiletypechange advisory file type of file
setgroupsset group access list
setpgrpset process group
setregidset real and effective group ID
setreuidset real and effective user ID’s
shmctlshared memory control operations
shmgetget shared memory segment
shmopshared memory operations[ shmop, shmat, shmdt ]
shutdownshut down part of a full-duplex connection
sigblockblock signals
sigpauseatomically release blocked signals and wait for interrupt
sigsetmaskset current signal mask
sigvecsoftware signal facilities
socketcreate an endpoint for communication
statget file status[ stat, lstat, fstat ]
symlinkmake symbolic link to a file
truncatetruncate a file to a specified length
umaskset file creation mode mask
unlinkremove directory entry
utimesset file times
vforkspawn new process in a virtual memory efficient way
waitwait for process to terminate[ wait, wait3 ]
writewrite output[ write, writev ]

3. Subroutines and Libraries

3DBorderdraw borders with three-dimensional appearance[ Tk_Get3DBorder, Tk_Draw3DRectangle, Tk_Fill3DRectangle, Tk_Draw3DPolygon, Tk_Fill3DPolygon, Tk_SetBackgroundFromBorder, Tk_NameOf3DBorder, Tk_Free3DBorder ]
AddErrInforecord information about errors[ Tcl_AddErrorInfo, Tcl_SetErrorCode, Tcl_UnixError, Tcl_CheckStatus ]
AssembCmdbuffer pieces of Tcl commands[ Tcl_CreateCmdBuf, Tcl_AssembleCmd, Tcl_DeleteCmdBuf ]
Backslashparse a backslash sequence[ Tcl_Backslash ]
Concatconcatenate a collection of strings[ Tcl_Concat ]
ConfigWidgprocess configuration options for widgets[ Tk_ConfigureWidget, Tk_Offset, Tk_ConfigureInfo ]
ConfigWindchange window configuration or attributes[ Tk_ConfigureWindow, Tk_MoveWindow, Tk_ResizeWindow, Tk_MoveResizeWindow, Tk_SetWindowBorderWidth Tk_ChangeWindowAttributes, Tk_SetWindowBackground, Tk_SetWindowBackgroundPixmap, Tk_SetWindowBorder, Tk_SetWindowBorderPixmap, Tk_DefineCursor, Tk_UndefineCursor ]
CoordToWinFind window containing a point[ Tk_CoordsToWindow ]
CreateExteset up a new Tcl command interpreter and initialized all Extended Tcl commands. [ Tcl_CreateExtendedInterp ]
CrtCommanddefine application-specific command bindings[ Tcl_CreateCommand, Tcl_DeleteCommand ]
CrtErrHdlrhandle X protocol errors[ Tk_CreateErrorHandler, Tk_DeleteErrorHandler ]
CrtGenHdlrassociate procedure callback with all X events[ Tk_CreateGenericHandler, Tk_DeleteGenericHandler ]
CrtInterpcreate and delete Tcl command interpreters[ Tcl_CreateInterp, Tcl_DeleteInterp ]
CrtMainWincreate or delete window[ Tk_CreateMainWindow, Tk_CreateWindow, Tk_CreateWindowFromPath, Tk_DestroyWindow, Tk_MakeWindowExist ]
CrtPipelincreate one or more child processes, with I/O redirection[ Tcl_CreatePipeline ]
CrtTracearrange for command execution to be traced[ Tcl_CreateTrace, Tcl_DeleteTrace ]
DoOneEventwait for events and invoke event handlers[ Tk_DoOneEvent, Tk_MainLoop, Tk_HandleEvent ]
DoWhenIdleinvoke a procedure when there are no pending events[ Tk_DoWhenIdle, Tk_CancelIdleCall ]
Evalexecute Tcl commands[ Tcl_Eval, Tcl_VarEval, Tcl_EvalFile, Tcl_GlobalEval ]
EventHndlrassociate procedure callback with an X event[ Tk_CreateEventHandler, Tk_DeleteEventHandler ]
ExprLongevaluate an expression[ Tcl_ExprLong, Tcl_ExprDouble, Tcl_ExprBool, Tcl_ExprString ]
FileHndlrassociate procedure callback with a file or device[ Tk_CreateFileHandler, Tk_DeleteFileHandler ]
FocusHndlrarrange for callback when focus enters or leaves window[ Tk_CreateFocusHandler ]
Forkmanage child processes[ Tcl_Fork, Tcl_WaitPids, Tcl_DetachPids ]
GeomReqspecify desired geometry or internal border for a window[ Tk_GeometryRequest, Tk_SetInternalBorder ]
GetAnchortranslate between strings and anchor positions[ Tk_GetAnchor, Tk_NameOfAnchor ]
GetBitmapmaintain database of single-plane pixmaps[ Tk_GetBitmap, Tk_DefineBitmap, Tk_NameOfBitmap, Tk_SizeOfBitmap, Tk_FreeBitmap, Tk_GetBitmapFromData ]
GetCapStyltranslate between strings and cap styles[ Tk_GetCapStyle, Tk_NameOfCapStyle ]
GetColormaintain database of colors[ Tk_GetColor, Tk_GetColorByValue, Tk_NameOfColor Tk_FreeColor ]
GetCursormaintain database of cursors[ Tk_GetCursor, Tk_GetCursorFromData, Tk_NameOfCursor, Tk_FreeCursor ]
GetFontStrmaintain database of fonts[ Tk_GetFontStruct, Tk_NameOfFontStruct, Tk_FreeFontStruct ]
GetGCmaintain database of read-only graphics contexts[ Tk_GetGC, Tk_FreeGC ]
GetIntconvert from string to integer, double, or boolean[ Tcl_GetInt, Tcl_GetDouble, Tcl_GetBoolean ]
GetJoinStltranslate between strings and join styles[ Tk_GetJoinStyle, Tk_NameOfJoinStyle ]
GetJustifytranslate between strings and justification styles[ Tk_GetJustify, Tk_NameOfJustify ]
GetOptionretrieve an option from the option database[ Tk_GetOption ]
GetPixelstranslate between strings and screen units[ Tk_GetPixels, Tk_GetScreenMM ]
GetRelieftranslate between strings and relief values[ Tk_GetRelief, Tk_NameOfRelief ]
GetRootCrdCompute root-window coordinates of window[ Tk_GetRootCoords ]
GetSelectretrieve the contents of the selection[ Tk_GetSelection ]
GetUidconvert from string to unique identifier[ Tk_GetUid, Tk_Uid ]
HandlesDynamic, handle addressable tables.   [ Tcl_HandleAlloc, Tcl_HandleFree, Tcl_HandleTblInit, Tcl_HandleTblRelease, Tcl_HandleTblUseCount Tcl_HandleWalk, Tcl_HandleXlate ]
Hashprocedures to manage hash tables[ Tcl_InitHashTable, Tcl_DeleteHashTable, Tcl_CreateHashEntry, Tcl_DeleteHashEntry, Tcl_FindHashEntry, Tcl_GetHashValue, Tcl_SetHashValue, Tcl_GetHashKey, Tcl_FirstHashEntry, Tcl_NextHashEntry, Tcl_HashStats ]
Historyprocedures for managing history list[ Tcl_InitHistory, Tcl_RecordAndEval ]
InternAtommanage cache of X atoms[ Tk_InternAtom, Tk_GetAtomName ]
Interpclient-visible fields of interpreter structures[ Tcl_Interp ]
ManageGeomarrange to handle geometry requests for a window[ Tk_ManageGeometry ]
MapWindowmap or unmap a window[ Tk_MapWindow, Tk_UnmapWindow ]
MathErrFloating point math error trap handler for Tcl. [ Tcl_MathError ]
MemoryValidated memory allocation interface. [ ckalloc, memory, ckfree, Tcl_DisplayMemory, Tcl_InitMemory, Tcl_ValidateAllMemory ]
Nameconvert between names and window tokens[ Tk_Name, Tk_PathName, Tk_NameToWindow ]
OwnSelectmake a window the owner of the primary selection[ Tk_OwnSelection ]
ParseArgvprocess command-line options[ Tk_ParseArgv ]
Preserveavoid freeing storage while it’s being used[ Tk_Preserve, Tk_Release, Tk_EventuallyFree ]
RecordEvalsave a Tcl command in the history list, then execute it[ Tcl_RecordAndEval ]
RegInterpmake an interpreter accessible with “send” command[ Tk_RegisterInterp ]
RestrictEvfilter and selectively delay X events[ Tk_RestrictEvents ]
SelHandlerarrange to handle requests for the primary selection[ Tk_CreateSelHandler ]
SetClassset or retrieve a window’s class[ Tk_SetClass, Tk_Class ]
SetGridcontrol the grid for interactive resizing[ Tk_SetGrid ]
SetResultmanipulate Tcl result string[ Tcl_SetResult, Tcl_AppendResult, Tcl_AppendElement, Tcl_ResetResult ]
SetVarmanipulate Tcl variables[ Tcl_SetVar, Tcl_SetVar2, Tcl_GetVar, Tcl_GetVar2, Tcl_UnsetVar, Tcl_UnsetVar2 ]
Sleepdelay execution for a given number of milliseconds[ Tk_Sleep ]
SplitListmanipulate Tcl lists[ Tcl_SplitList, Tcl_Merge, Tcl_ScanElement, Tcl_ConvertElement ]
StrMatchtest whether a string matches a pattern[ Tcl_StringMatch ]
Tcloverview of tool command language facilities
TildeSubstreplace tilde with home directory in a file name[ Tcl_TildeSubst ]
TimerHndlrcall a procedure at a given time[ Tk_CreateTimerHandler, Tk_DeleteTimerHandler ]
TraceVarmonitor accesses to a variable[ Tcl_TraceVar, Tcl_TraceVar2, Tcl_UntraceVar, Tcl_UntraceVar2, Tcl_VarTraceInfo, Tcl_VarTraceInfo2 ]
WindowIdretrieve information from Tk’s local data structure[ Tk_WindowId, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsMapped, Tk_ReqWidth, Tk_ReqHeight, Tk_InternalBorderWidth ]
abortgenerate a fault
absinteger absolute value[ abs, labs ]
atofconvert ASCII to numbers[ atof, atoi, atol ]
bstringbit and byte string operations[ bcopy, bcmp, bzero, ffs ]
cryptDES encryption[ crypt, setkey, encrypt ]
ctimeconvert date and time to ASCII[ ctime, localtime, mktime, gmtime, asctime, timezone, tzset ]
ctypecharacter classification macros[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
directorydirectory operations[ opendir, readdir, telldir, seekdir, rewinddir, closedir, dirfd ]
dmallocdebugging malloc library
ecvtoutput conversion[ ecvt, fcvt, gcvt ]
endlast locations in program[ end, etext, edata ]
execlexecute a file[ execl, execv, execle, execlp, execvp, exec, execve, exect, environ ]
exitterminate a process after flushing any pending output
getenvmanipulate environmental variables[ getenv, setenv, unsetenv ]
getgrentget group file entry[ getgrent, getgrgid, getgrnam, setgrent, endgrent setgrfile ]
getloginget login name
getoptget option letter from argv
getpassread a password
getpwentget password file entries[ getpwent, getpwnam, getpwuid, setpassent, setpwfile, setpwent, endpwent ]
getusershellget legal user shells[ getusershell, setusershell, endusershell ]
getwdget current working directory pathname
initgroupsinitialize group access list
insqueinsert/remove element from a queue[ insque, remque ]
librarystandard library of Tcl procedures
mallocmemory allocator[ malloc, free, realloc, calloc, alloca ]
mktempmake a unique file name[ mktemp, mkstemp ]
ndbmdata base subroutines[ dbm_open, dbm_close, dbm_fetch, dbm_store, dbm_delete, dbm_firstkey, dbm_nextkey, dbm_error, dbm_clearerr ]
nlistget entries from name list
perrorsystem error messages[ perror, sys_errlist, sys_nerr ]
popeninitiate I/O to/from a process[ popen, pclose ]
qsortquicker sort
randombetter random number generator; routines for changing generators[ random, srandom, initstate, setstate ]
rcmdroutines for returning a stream to a remote command[ rcmd, rresvport, ruserok ]
regexregular expression handler[ re_comp, re_exec ]
resolverresolver routines[ res_mkquery, res_send, res_init, dn_comp, dn_expand ]
rexecreturn stream to a remote command
scandirscan a directory[ scandir, alphasort ]
setjmpnon-local goto[ setjmp, longjmp ]
sleepsuspend execution for interval
stringstring operations[ strcat, strncat, strcmp, strncmp, strcasecmp, strncasecmp, strcpy, strncpy, strdup, strlen, strchr, index, strrchr, rindex, strstr, strspn, strcspn, strpbrk ]
strtokstring token operations[ strtok, strsep ]
syslogcontrol system log[ syslog, openlog, closelog, setlogmask ]
systemissue a shell command
ttynamefind name of a terminal[ ttyname, isatty, ttyslot ]
varargshandle variable argument list

3C. C Library

alarmschedule signal after specified time
ftimeget date and time[ time, ftime ]
pausestop until signal
randrandom number generator[ rand, srand ]
signalsimplified software signal facilities
sttyset and get terminal state (defunct)[ stty, gtty ]
timeget date and time[ time, ftime ]
timesget process times

3M. Math Library

asinhinverse hyperbolic functions[ asinh, acosh, atanh ]
erferror functions[ erf, erfc ]
expexponential, logarithm, power[ exp, expm1, log, log10, log1p, pow ]
floorabsolute value, floor, ceiling, and round-to-nearest functions[ fabs, floor, ceil, rint ]
hypotEuclidean distance, complex absolute value[ hypot, cabs ]
ieeecopysign, remainder, exponent manipulations[ copysign, drem, finite, logb, scalb ]
infnansignals invalid floating-point operations on a VAX (temporary)
j0bessel functions[ j0, j1, jn, y0, y1, yn ]
lgammalog gamma function
mathintroduction to mathematical library functions
sintrigonometric functions and their inverses[ sin, cos, tan, asin, acos, atan, atan2 ]
sinhhyperbolic functions[ sinh, cosh, tanh ]
sqrtcube root, square root[ cbrt, sqrt ]

3N. Network Support Library

bindresvportbind a socket to a privileged IP port
byteorderconvert values between host and network byte order[ htonl, htons, ntohl, ntohs ]
gethostbynameget network host entry[ gethostbyname, gethostbyaddr, gethostent, sethostent, endhostent, herror ]
getnetentget network entry[ getnetent, getnetbyaddr, getnetbyname, setnetent, endnetent ]
getprotoentget protocol entry[ getprotoent, getprotobynumber, getprotobyname, setprotoent, endprotoent ]
getrpcentget RPC entry[ getrpcent, getrpcbyname, getrpcbynumber ]
getserventget service entry[ getservent, getservbyport, getservbyname, setservent, endservent ]
inetInternet address manipulation routines[ inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, inet_netof ]
rpclibrary routines for remote procedure calls
xdrlibrary routines for external data representation

3R. RPC Library

getrpcportget RPC port number

3S. Standard I/O Library

fcloseclose or flush a stream[ fclose, fflush ]
ferrorstream status inquiries[ ferror, feof, clearerr, fileno ]
fopenopen a stream[ fopen, freopen, fdopen ]
freadbuffered binary input/output[ fread, fwrite ]
fseekreposition a stream[ fseek, ftell, rewind ]
getcget character or word from stream[ getc, getchar, fgetc, getw ]
getsget a string from a stream[ gets, fgets ]
printfformatted output conversion[ printf, fprintf, sprintf, vprintf, vfprintf, vsprintf, vsnprintf ]
putcput character or word on a stream[ putc, putchar, fputc, putw ]
putsput a string on a stream[ puts, fputs ]
scanfformatted input conversion[ scanf, fscanf, sscanf, vfscanf ]
setbufassign buffering to a stream[ setbuf, setbuffer, setlinebuf, setvbuf ]
ungetcpush character back into input stream

3X. Miscellaneous Libraries

cursesscreen functions with “optimal” cursor motion
dbmdata base subroutines[ dbminit, fetch, store, delete, firstkey, nextkey ]
termlibterminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]

4. Device Drivers

ttygeneral terminal interface

5. File Formats

printcapprinter capability data base

8. Maintenance Commands

chownchange owner
cronclock daemon
inetdinternet “super−server”
lpcline printer control program
lpdline printer daemon
mkpasswdgenerate hashed password table
pingsend ICMP ECHO_REQUEST packets to network hosts
rdateset system date from a remote host
renicealter priority of running processes
sendmailsend mail over the internet
showmountshow remote nfs mounts on host
tracerouteprint the route packets take to network host
vipwedit the password file
zhmZephyr HostManager
zstatdisplay Zephyr statistics

Section 8C

ftpdDARPA Internet File Transfer Protocol server
mopdMaintenance Operation Protocal boot daemon
ntalkdremote user communication server[ talkd ]
rlogindremote login server
rpcinforeport RPC information
tftpdDARPA Trivial File Transfer Protocol server

L. Local Commands

cvsConcurrent Versions System
gr2psconvert Gremlin files to POSTSCRIPT

Section Lists

KeylistKeyed list management routines. [ Tcl_GetKeyedListField, Tcl_SetKeyedListField, Tcl_DeleteKeyedListField ]

Tcl Command Language Library

CmdWriteWriting C language extensions to Tcl. [ TclCommandWriting ]
CreateExteset up a new Tcl command interpreter and initialized all Extended Tcl commands. [ Tcl_CreateExtendedInterp ]
HandlesDynamic, handle addressable tables.   [ Tcl_HandleAlloc, Tcl_HandleFree, Tcl_HandleTblInit, Tcl_HandleTblRelease, Tcl_HandleTblUseCount Tcl_HandleWalk, Tcl_HandleXlate ]
KeylistKeyed list management routines. [ Tcl_GetKeyedListKeys, Tcl_GetKeyedListField, Tcl_SetKeyedListField, Tcl_DeleteKeyedListField ]
MathErrFloating point math error trap handler for Tcl. [ Tcl_MathError ]
MemoryValidated memory allocation interface. [ ckalloc, memory, ckfree, Tcl_DisplayMemory, Tcl_InitMemory, Tcl_ValidateAllMemory ]
StartupExtended Tcl Shell startup facilities. [ Tcl_ShellEnvInit, Tcl_Startup, Tcl_CommandLoop, Tcl_ErrorAbort ]
TclXExtended Tcl - Extended command set for Tcl 6.1. 
tclTcl interactive shell. [ Tcl ]
tcl.tlibTcl procedure library[ Extended Tcl ]

Sprite Administrative Commands

adduserCreate a user account
bootDescription of Sprite boot options and behavior
deleteuserDelete Sprite user accounts
diskwarnsend mail if a disk partition gets low on space
installbootInstalls boot program on disk. 
makebootStrips a.out header off of bootstrap program

Sprite Commands

addhostAdd a new host to the system
ararchive maintenance
arpdRespond to ARP and RARP requests
atexitRegister procedure to be invoked before process exits
benchBenchmark harness that coordinates multiple processes
blackscreenTurn the display off or on
cc1Internal program used by GNU C compiler[ cc1.68k ]
cc1.spurInternal program used by GNU C compiler
checkIPServermake sure IP server is running
clickturn key click on or off
cppC pre-processor
dailydumpScript to do daily dumps
debugStart a command and put it immediately into the debugger
devbreakEnables or disables the interrupt generated by a break condition on a tty
diffhUsed internally by diff for -h option  
divReturn quotient and remainder from division[ div, ldiv ]
dumpA program that dumps directories
dumpsizeCalculate size of dumps on a tape
enabledisplayEnables display on a machine
exabyteStatDetermine how much space left on exabyte tape
expreserveUsed by ex/vi to save edits during crashes
exrecoverUsed by ex and vi to recover partial edits after a crash
falseReturn a non-zero status
fddicmdinvoke ioctls on the FDDI device driver
fsattachCheck disks and export prefixes
fscheckperform consistency check on file system
fscmdSet various parameters in the filesystem
fsdomainchanges the domain prefix of a file system
fsindexPrint the block index map for a file. 
fsinfoprints file system info found on disk partitions
fsmakeCreate a file system on a disk partition. 
fsmakedevCreate a device file
fsmakepromptInteractive front-end for fsmake. 
fsmountCheck disks and export prefixes
fsstatPrint filesystem statistics
gcoreGenerate a core file from a Sprite process. 
hard-paramsDescribe the hardware being run on
hostnamePrint name or sprite ID of host
idletimeShow idle ticks, idle time, and context switch information. 
initdailydumpScript to initialize daily dumps
initspriteFirst process executed during bootstrap
iostatsShow disk usage. 
kdbxSprite debugger
kgcoreGenerate a core dump of a remote Sprite kernel
kgdbA kernel debugger based on GDB
kgdb.sun3Kgdb for the Sprite sun3 kernel. 
kgdb.sun4Kgdb for the Sprite sun4 kernel. 
killSend a signal to a process or group
killdebugKills any processes in the debugger. 
killexprKill all processes who match the given expression(s)
kmsgManipulate a remote Sprite kernel
kprofControl kernel profiling
labeldiskread and write a disk’s label
lfscheckCheck lfs disk for problems. 
lfschkptDisplay or modify the checkpoint fields of an LFS file system. 
lfsquickcheckQuickly check lfs disk for problems. 
lfsrebuildRebuild a lfs file system. 
lfsrecovRoll lfs disk forward after a crash. 
lfsstatsDisplay the statistics counters stored in an LFS file system. 
loadavgInterface to the migration load average and idle time database[ loadavg, uptime, la, evict ]
lockdirLock a directory atomically
loginAllow a user to login
lpass1First pass of lint program
lpass2Second pass of lint program
machstatMachine-dependent statistics
maillogrepository for sprite-related mail, indexed by subject
makedependGenerate dependency list for make
manPrint entries in the user reference manual
migcmdPrint or update information relating to process migration
migcomBack-end for Matchmaker Interface Generator
migrateMigrate a command to another machine
mklfsCreate an empty LFS file system on a disk partition. 
mkmfgenerate Makefiles automatically
mkscsidevCreate scsi devices. 
mkttyCreate pseudo-terminal with 4.3 BSD line discipline
mkversionprint version string
modulogModify the user log
mxMouse-oriented editor for X
netrouteSet up host names, addresses, and machine types
netstatPrint out statistics about the network interface
newacctRequest a new sprite account
newteeCopy input to both stdout and the listed files without blocking. 
nfsmounta Sprite-to-NFS filesystem gateway
nullfileCreate a file full of null characters. 
pmakecreate programs in parallel
prefixManipulate the file system prefix table
printenvPrint out values of environment variables. 
proccmdset Spur processor parameters. 
psprint process status information
ranlibmake symbol table for object library
rawstatPrint kernel statistics in a raw format:
rcsbreakBreak locks owned by other people on RCS files
rcsinfoGenerate listing of files that are checked out via RCS[ rcsinfo, rcstell ]
rcssnapshotMove all RCS’ed files to a new version number
recovcmdSet variables affecting the recovery module of the kernel. 
recovinfoPrint out statistics about the potential state of recovery
recovserverinfoPrint out information about the number of times clients attmepted recovery with a server
restartIPServerrestart IP server and dependent daemons
restoreRestore a file, or set of files from a dump archive. 
rmlosta perl script to clean lost+found directories
rmoldDelete old files
rpccmdControl the RPC system
rpcsrvinfoPrint out statistics about the history of rpc servers
rpcstatPrint out statistics about the RPC system
rpnreverse polish notation visual desk calculator
rttyprovide remote access to a raw tty using TCP
rupdisplay the migration load average and idle time database
scvsSprite Concurrent Version System
selectPrint the selection
showlfssegmentShow contents of a LFS segment. 
shutdownshutdown and possibly reboot the system
sizePrint size of segments in program image
sleepSuspend execution for a given time period
spritemonX widget to display system events
sranlibVersion of ranlib for SPUR libraries
ssizePrint size of segments in a SPUR program image
statget file attributes
strtodConvert character string to floating-point number
strtolConvert character string to integer[ strtol, strtoul ]
syncforce the file system’s cache to the disk or the file server. 
sysstatprint statistics and information about the state of the system
tapeTape drive control. 
troff_pUsed internally by ditroff for typesetting  
trueReturn a zero status
txScrollable terminal emulator for X
txcmdInvoke a tx command
txinfoReturn up-to-date termcap information
updateA copy program that recursively updates directory trees
updatebootcmdsKeep /boot/cmds updated. 
vmcmdset virtual memory parameters. 
vmstatprint virtual memory stats
wallwrite to all users
weeklydumpScript to do weekly fully dumps
xgonedDaemon to start a screen saver on an idle machine
xldConvert load files into SPUR format

Sprite System Services

migdManage the migration load average and idle time database

Sprite Device Drivers

diskDevice used to read and write disk sectors
mouseDevices used to read mouse and keyboard events for window systems
pdevfiles controlled by server processes. [ Pseudo-devices ]
pfsFile systems implemented by user-level server processes.   [ Pseudo-file-systems ]
raidDevices used to send ioctl’s to RAID devices. 
scsiDevices used to send arbitrary SCSI commands to SCSI devices

Sprite File Formats

manDitroff macros for writing manual entries  
migInfofile containing the migration status of all Sprite hosts[ /sprite/admin/migInfo ]
spritehostsfile containing Sprite host information[ /etc/spritehosts ]
userLogfiles containing information about user logins[ /sprite/admin/userLog, /sprite/admin/lastLog ]

Sprite C Library

Bitbit operations[ Bit_Set, Bit_Clear, Bit_IsSet, Bit_IsClear, Bit_Copy, Bit_Zero, Bit_FindFirstSet, Bit_FindFirstClear, Bit_Intersect, Bit_Union, Bit_AnySet, Bit_Expand, Bit_Alloc, Bit_Free ]
DiskPackage for accessing OFS and LFS file systems via raw disks[ Disk_ReadLabel, Disk_WriteLabel, Disk_EraseLabel, Disk_NewLabel, Disk_ReadDecLabel, Disk_WriteDecLabel, Disk_ReadSunLabel,   Disk_WriteSunLabel, Disk_HasFilesystem, Disk_ReadLfsSuperBlock, Disk_WriteLfsSuperBlock, Disk_ReadLfsCheckpointHdr, Disk_WriteLfsCheckPointHdr, Disk_WriteLfsCheckPointArea, Disk_LfsCheckpointTrailer, Disk_ForEachCheckpointRegion, Disk_ReadDomainHeader, Disk_WriteDomainHeader, Disk_ReadSummaryInfo, Disk_WriteSummaryInfo, Disk_SectorRead, Disk_SectorWrite, Disk_BlockRead, Disk_BlockWrite, Disk_BadBlockRead, Disk_FragRead, Disk_FragWrite, Disk_PrintDomainHeader, Disk_PrintSummaryInfo, Disk_PrintFileDescBitmap, Disk_PrintDataBlockBitmap, Disk_PrintDirEntry, Disk_PrintLabel, Disk_PrintLfsSuperBlock, Disk_PrintLfsSuperBlockHdr, Disk_PrintLfsDescMapParams, Disk_PrintLfsSegUsageParams, Disk_PrintLfsFileLayoutParams, Disk_PrintLfsStableMemParams, Disk_PrintLfsCheckpointHdr, Disk_PrintLfsCheckpointRegion, Disk_PrintLfsCheckpointTrailer ]
FmtPackage for converting data from one byte-order/alignment format to another. [ Fmt_Convert ]
Fs_Dispatchstream event and timeout dispatcher routines. [ Fs_Dispatch, Fs_EventHandlerCreate, Fs_EventHandlerDestroy, Fs_EventHandlerData, Fs_EventHandlerChangeData, Fs_TimeoutHandlerCreate, Fs_TimeoutHandlerDestroy ]
Gatereturn information about network gateways. [ Gate_ByDesc, Gate_ByInetAddr, Gate_ByNetAddr, Gate_End, Gate_Next, Gate_SetFile, Gate_Start ]
Hashoverview of routines to manipulate hash tables  
Hash_CreateEntrykeyed search in hash table[ Hash_CreateEntry, Hash_FindEntry ]
Hash_DeleteEntryremove an existing entry from a hash table
Hash_DeleteTablerelease storage in hash table
Hash_EnumFirststep through all the entries in a hash table[ Hash_EnumFirst, Hash_EnumNext ]
Hash_GetValueread or write value associated with key[ Hash_GetValue, Hash_SetValue ]
Hash_PrintStatsprint statistics about a hash table
Hostreturn information about Sprite machines[ Host_ByName, Host_ByID, Host_ByNetAddr, Host_ByInetAddr, Host_SetFile, Host_Start, Host_Next, Host_End ]
Listoverview of circular linked list routines. 
Misc_InvokeEditorInvoke an editor for a user
OptManage command line options[ Opt_Parse, Opt_PrintUsage ]
PdevPackage for servicing pseudo-devices. [ Pdev_Open, Pdev_Close, Pdev_SetDefaultHandler, Pdev_SetStreamHandler, Pdev_EnumStreams ]
PfsPackage for servicing pseudo-file-systems. [ Pfs_Open, Pfs_OpenConnection, Pfs_SetHandler, Pfs_PassFile, Pfs_Close ]
Quad_ArithArithmetic operations on 64-bit integers[ Quad_AddUns, Quad_AddUnsLong ]
Quad_CompareComparison routines for 64-bit integers[ Quad_CompareUns, Quad_EQ ]
Quad_MiscFormatting and conversion for 64-bit integers[ Quad_PutUns, Quad_UnsToDouble ]
Rpc_GetNameGet the name of an RPC. 
StatText description of Sprite status codes[ Stat_GetMsg, Stat_PrintMsg ]
SwapDo byte-swapping and alignment of data buffers Swap_BufSize − Calculate the necessary buffer size to hold swapped and aligned data[ Swap_Buffer ]
SyncSynchronization overview
Sync_Broadcastawaken all processes waiting on a condition
Sync_WaitTimesleep for a specified amount of time
TdTerminal driver implementing 4.3 BSD operations. [ Td_Create, Td_Delete, Td_PutRaw, Td_GetRaw, Td_ControlRaw, Td_Open, Td_Close, Td_PutCooked, Td_GetCooked, Td_ControlCooked, Td_CreatePdev, Td_DeletePdev ]
Time_Addtime arithmetic operations[ Time_Add, Time_Subtract, Time_Multiply, Time_Divide ]
Time_GetTimeGet the current time of day. 
Time_ToAsciitime conversion routines[ Time_ToAscii, Time_FromAscii, Time_ToParts, Time_FromParts ]
Ulogobtain or update information in the database of user logins and logouts. 
bsearchBinary search
dbmanipulate simple database files[ Db ]
isinfDetermine whether double-precision floating point numbers are not-a-number or infinity. [ isnan, isinf ]
iszeroDetermine properties of IEE double-precision floating point numbers. [ iszero, isnormal, issubnormal, signbit ]
memOperations on byte arrays[ memchr, memcmp, memcpy, memset ]
panicPrint error message and kill process
patternDo csh-style pattern matching and more. [ Pattern_Match ]
recovBoxRoutines (actually macros) to add, delete, manipulate and view objects in non-volatile storage.   [ RecovBox_IntObjType, RecovBox_InsertObj, RecovBox_InsertArray, RecovBox_DeleteObj, RecovBox_UpdateObj, RecovBox_ReturnObj, RecovBox_ReturnArray, RecovBox_ReturnContents, RecovBox_GetObjSize, RecovBox_MapType, RecovBox_MapObjectNum ]
sospRoutines to extract trace events from the sosp file system traces. [ initRead, getHeader, getNextRecord, getNextRecordMerge, migrateChildren ]
stringArraycopy and destroy null-terminated string array[ String_SaveArray, String_FreeArray ]
tmpfileCreate a temporary file
tmpnamGenerate unique names for temporary files[ tmpnam, tempnam ]
utilCanonicalize a directory name to a full path. [ Util_CanonicalDir ]
vallocpage-aligned memory allocator

Section libcalls

Pfs_OpenConnectionCreate a pseudo-device connection to a pseudo-file-system

Section man

pscprepare sc files
scspreadsheet calculator

Section prog

dfPrint information about disk free space

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