Museum

Home

Lab Overview

Retrotechnology Articles

⇒ GL1 W2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Anchors

1. Commands

1C. Communications Commands

1D. IRIS GL Demos

1G. Graphics Commands

1M. Maintenance Commands

2. System Calls

3. Subroutines and Libraries

3C. C Library

3M. Math Library

3S. Standard I/O Library

3X. Miscellaneous Libraries

4. Special Files

5. File Formats

6. Games and Demos

7. Miscellaneous Facilities

8. Maintenance Procedures

Manual — GL1 W2.1

771 entries

1. Commands (intro)

300handle special functions of DASI 300 and 300s terminals[ 300, 300s ]
300shandle special functions of DASI 300 and 300s terminals[ 300, 300s ]
4014paginator for the Tektronix 4014 terminal
450handle special functions of the DASI 450 terminal
Mailsend and receive mail
acctcomsearch and print process accounting file(s)
adbdebugger
addbibcreate or extend bibliographic database
admincreate and administer SCCS files
ararchive and library maintainer
asassembler
asainterpret ASA carriage control characters
atexecute commands at a later time
awkpattern scanning and processing language
bannermake posters
banner7print large banner on printer
basenamedeliver portions of path names[ basename, dirname ]
bcarbitrary-precision arithmetic language
bcatcatenate and print (Berkeley cat)
bdiffbig diff
bfsbig file scanner
bsa compiler/interpreter for modest-sized programs
calprint calendar
calendarreminder service
cancelsend/cancel requests to an LP line printer[ lp, cancel ]
catconcatenate and print files
cbC program beautifier
ccC, Pascal and FORTRAN compilers for the 68000[ cc, pc, f77 ]
cdchange working directory
cdcchange the delta commentary of an SCCS delta
cflowgenerate C flow graph
checkcheck RCS status of a file
checkcwverifies constant-width text prepared by cw(1) for troff
checkeqformat mathematical text for nroff or troff[ eqn, neqn, checkeq ]
checkmmprint/check documents formatted with the MM macros[ mm, osdd, checkmm ]
chgrpchange owner or group[ chown, chgrp ]
chmodchange mode
chownchange owner or group[ chown, chgrp ]
cicheck in RCS revisions
clearclear terminal screen
cmpcompare two files
cocheck out RCS revisions
colfilter reverse line-feeds
combcombine SCCS deltas
commselect or reject lines common to two sorted files
cpcopy, link or move files[ cp, ln, mv ]
cpiocopy file archives in and out
cppthe C language preprocessor
cryptencode/decode
csha shell (command interpreter) with C-like syntax
csplitcontext split
ctagsmaintain a tags file for a C program
cutcut out selected fields of each line of a file
cwprepare constant-width text for troff[ cw, checkcw ]
cxrefgenerate C program cross reference
dateprint and set the date
dbxdebugger
dcdesk calculator
ddconvert and copy a file
deltamake a delta (change) to an SCCS file
deroffremove nroff/troff, tbl, and eqn constructs
dictionprint wordy sentences; thesaurus for diction[ diction, explain ]
diffdifferential file comparator
diff33-way differential file comparison
diffmkmark differences between files
dircmpdirectory comparison
dirnamedeliver portions of path names[ basename, dirname ]
disableenable/disable LP printers[ enable, disable ]
dusummarize disk usage
dumpdump selected parts of an object file
echoecho arguments
edtext editor[ ed, red ]
edittext editor[ ex, edit ]
eflExtended Fortran Language
egrepsearch a file for a pattern[ grep, egrep, fgrep ]
enableenable/disable LP printers[ enable, disable ]
envset environment for command execution
eqnformat mathematical text for nroff or troff[ eqn, neqn, checkeq ]
extext editor[ ex, edit ]
exprevaluate arguments as an expression
extcentryextract FORTRAN-callable entry points from a C file
factorfactor a number
falseprovide truth values[ true, false ]
fgrepsearch a file for a pattern[ grep, egrep, fgrep ]
filedetermine file type
findfind files
floadinitialize the Sky floating point processor
fmtsimple text formatter
foldfold long lines for finite width output device
freqreport on character frequencies in a file
fsplitsplit fortran, ratfor, or efl files
gclearclear IRIS graphics screen
getget a version of an SCCS file
getoptparse command options
greekselect terminal filter
grepsearch a file for a pattern[ grep, egrep, fgrep ]
hashcheckfind spelling errors[ spell, hashmake, spellin, hashcheck ]
hashmakefind spelling errors[ spell, hashmake, spellin, hashcheck ]
headgive first few lines
helpask for help
hostnameset or print name of current host system
hphandle special functions of HP 2640 and 2621-series terminals
hyphenfind hyphenated words
idprint user and group IDs and names
identidentify files
introintroduction to commands and application programs
iostatreport I/O statistics
irisdemoan animated presentation touting the IRIS
joinrelational database operator
killterminate a process
lastindicate last logins of users and teletypes
lavshow load average
ldlink editor
lexgenerate programs for simple lexical tasks
librarycreate a library of FORTRAN and Pascal objects
lineread one line
linta C program checker
lncopy, link or move files[ cp, ln, mv ]
loginsign on
lognameget login name
lookbibbuild inverted index for a bibliography, find references in a bibliography[ indxbib, lookbib ]
lorderfind ordering relation for an object library
lpsend/cancel requests to an LP line printer[ lp, cancel ]
lprline printer spooler
lpstatprint LP status information
lslist contents of directory (enhanced Berkeley version)
m4macro processor
machidprovide truth value about your processor type[ m68000, m68k, pdp11, u3b, vax ]
mailsend mail to users or read mail[ mail, rmail ]
makemaintain, update, and regenerate groups of programs
makekeygenerate encryption key
manprint entries in this manual[ man, manprog ]
mergethree-way file merge
mesgpermit or deny messages
mkdirmake a directory
mkf2cgenerate C-FORTRAN interface routines[ mkf2c, mkc2f ]
mklost+foundmake a lost+found directory for fsck[ /etc/mklost+found ]
mkstrcreate an error message file by massaging C source
mmprint/check documents formatted with the MM macros[ mm, osdd, checkmm ]
mmttypeset documents, view graphs, and slides[ mmt, mvt ]
morefile perusal filter for crt viewing
mvcopy, link or move files[ cp, ln, mv ]
neqnformat mathematical text for nroff or troff[ eqn, neqn, checkeq ]
newformchange the format of a text file
newfscreate a new file system
newgrplog in to a new group
newsprint news items
nicerun a command at low priority
nlline numbering filter
nmprint name list
nohuprun a command immune to hangups (sh only)
nroffformat text
odoctal dump
osddprint/check documents formatted with the MM macros[ mm, osdd, checkmm ]
packcompress and expand files[ pack, pcat, unpack ]
passwdchange login password
pastemerge same lines of several files or subsequent lines of one file
pcatcompress and expand files[ pack, pcat, unpack ]
pdp11provide truth value about your processor type[ m68000, m68k, pdp11, u3b, vax ]
prprint files
printenvprint out the environment
profdisplay profile data
prsprint an SCCS file
psprocess status
ptxpermuted index
pwdworking directory name
ranlibconvert archives to random libraries
rcschange RCS file attributes
rcsdiffcompare RCS revisions
rcsintrointroduction to RCS commands
rcsmergemerge RCS revisions
redtext editor[ ed, red ]
referfind and insert literature references in documents
regcmpregular expression compile
resetreset the teletype bits to a sensible state
reshapereshape the console textport
rlogprint log messages and other information about RCS files
rmremove files or directories[ rm, rmdir ]
rmailsend mail to users or read mail[ mail, rmail ]
rmdelremove a delta from an SCCS file
rmdirremove files or directories[ rm, rmdir ]
roffbibrun off bibliographic database
sactprint current SCCS file editing activity
sadpdisk access profiler
sarsystem activity reporter
sccsdiffcompare two versions of an SCCS file
scriptmake typescript of terminal session
sdiffside-by-side difference program
sedstream editor
seesee what a file has in it
sgilabelprint the SGI disk label from a drive
shshell, the standard/restricted command programming language[ sh, rsh ]
sizesize of an object file
sleepsuspend execution for an interval
smtstreaming magnetic tape manipulation program
snoSNOBOL interpreter
sortsort and/or merge files
sortbibsort bibliographic database
spellfind spelling errors[ spell, hashmake, spellin, hashcheck ]
spellinfind spelling errors[ spell, hashmake, spellin, hashcheck ]
splitsplit a file into pieces
stringsfind the printable strings in an object, or other binary file
stripremove symbols and relocation bits
sttyset the options for a terminal
styleanalyze surface characteristics of a document
subecome super-user or another user
sumprint checksum and block count of a file
syncupdate the super block
tabsset tabs on a terminal
taildeliver the last part of a file
tartape archiver
tblformat tables for nroff or troff
tcphototypesetter simulator
teepipe fitting
testcondition evaluation command
timetime a command
touchupdate access and modification times of a file
tpmanipulate tape archive
tpblankprohibits the system from updating the textport
tponturn on the console textport
trtranslate characters
trofftypeset text
trueprovide truth values[ true, false ]
tsetset or reset the teletype bits to a sensible state[ tset, reset ]
tsorttopological sort
ttyget the terminal’s name
u3bprovide truth value about your processor type[ m68000, m68k, pdp11, u3b, vax ]
uldo underlining
umaskset file-creation mode mask
unameprint name of current UNIX System
ungetundo a previous get of an SCCS file
uniqreport repeated lines in a file
unitsconversion program
unpackcompress and expand files[ pack, pcat, unpack ]
uptimeshow how long system has been up
valvalidate SCCS file
vaxprovide truth value about your processor type[ m68000, m68k, pdp11, u3b, vax ]
vcversion control
viscreen oriented (visual) display editor based on ex[ vi, view ]
viewscreen oriented (visual) display editor based on ex[ vi, view ]
vmstatreport virtual memory statistics
wwho is on and what they are doing
waitawait completion of process
wcword count
whatidentify SCCS files
whereislocate source, binary, and or manual for program
whowho is on the system
writewrite to another user
wsirisemulate an IRIS terminal with a workstation
xargsconstruct argument list(s) and execute command
xcpremote file copy
xloginremote login
xstrextract strings from C programs to implement shared strings
xxremote shell
yaccyet another compiler-compiler

1C. Communications Commands

ctspawn getty to a remote terminal
cucall another UNIX System
dproff-line print
uucpunix to unix copy[ uucp, uulog, uuname ]
uudecodeencode/decode a binary file for transmission via mail[ uuencode, uudecode ]
uuencodeencode/decode a binary file for transmission via mail[ uuencode, uudecode ]
uulogunix to unix copy[ uucp, uulog, uuname ]
uunameunix to unix copy[ uucp, uulog, uuname ]
uupickpublic UNIX System-to-UNIX System file copy[ uuto, uupick ]
uustatuucp status inquiry and job control
uutopublic UNIX System-to-UNIX System file copy[ uuto, uupick ]
uuxunix to unix command execution

1D. IRIS GL Demos

cardisplay of car body in wireframe & surface form
cubereal-time display of famous cube puzzle
curvefast interactive cubic curve display
flowdisplay of complex scientific data base
hemthree dimensional display of the Cytochrome P450 protein molecule
patranPATRAN simulation of the space shuttle
robotcontrol a robot arm

1G. Graphics Commands

graphdraw a graph
graphicsaccess graphical and numerical commands
gutilgraphical utilities
plotgraphics filters
sagsystem activity graph
splineinterpolate smooth curve
tplotgraphics filters

1M. Maintenance Commands (intro)

acceptallow/prevent LP requests[ accept, reject ]
acctoverview of accounting and miscellaneous accounting commands[ acctdisk, acctdusg, accton, acctwtmp ]
acctcmscommand summary from per-process accounting records
acctconconnect-time accounting[ acctcon1, acctcon2 ]
acctcon1connect-time accounting[ acctcon1, acctcon2 ]
acctcon2connect-time accounting[ acctcon1, acctcon2 ]
acctdiskoverview of accounting and miscellaneous accounting commands[ acctdisk, acctdusg, accton, acctwtmp ]
acctdusgoverview of accounting and miscellaneous accounting commands[ acctdisk, acctdusg, accton, acctwtmp ]
acctmergmerge or add total accounting files
acctonoverview of accounting and miscellaneous accounting commands[ acctdisk, acctdusg, accton, acctwtmp ]
acctprcprocess accounting[ acctprc1, acctprc2 ]
acctprc1process accounting[ acctprc1, acctprc2 ]
acctprc2process accounting[ acctprc1, acctprc2 ]
acctshshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
acctwtmpoverview of accounting and miscellaneous accounting commands[ acctdisk, acctdusg, accton, acctwtmp ]
backupinteractive backup program for SGI IRIS workstation
bcopyinteractive block copy
brcsystem initialization shell scripts[ brc, bcheckrc, rc, powerfail ]
chargefeeshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
chrootchange root directory for a command
ckpacctshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
clriclear i-node
cronclock daemon
devnmdevice name
dfreport number of free disk blocks
fflist file names and statistics for a file system
filesavedaily/weekly UNIX file system backup[ filesave, tapesave ]
fincfast incremental backup
floadinitialize the Sky floating point processor
frecrecover files from a backup tape
fsckfile system consistency check and interactive repair[ fsck, dfsck ]
fsdbfile system debugger
fuseridentify processes using a file or file structure
fwtmpmanipulate connect accounting records[ fwtmp, wtmpfix ]
gettyset terminal type, modes, speed, and line discipline
grpckpassword/group file checkers[ pwck, grpck ]
initprocess control initialization[ init, telinit ]
installinstall commands
introintroduction to system maintenance commands and application programs
killallkill all active processes
labelitcopy file systems with label checking[ volcopy, labelit ]
linkexercise link and unlink system calls[ link, unlink ]
lpadminconfigure the LP spooling system
lpmovestart/stop the LP request scheduler and move requests[ lpsched, lpshut, lpmove ]
lpschedstart/stop the LP request scheduler and move requests[ lpsched, lpshut, lpmove ]
lpshutstart/stop the LP request scheduler and move requests[ lpsched, lpshut, lpmove ]
mkfsconstruct a file system
mknodbuild special file
monacctshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
mountmount and dismount file system[ mount, umount ]
multiswitch the system to multi-user mode
mvdirmove a directory
ncheckgenerate names from i-numbers
nulladmshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
prctmpshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
prdailyshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
prfdcoperating system profiler[ prfld, prfstat, prfdc, prfsnap, prfpr ]
prfldoperating system profiler[ prfld, prfstat, prfdc, prfsnap, prfpr ]
prfproperating system profiler[ prfld, prfstat, prfdc, prfsnap, prfpr ]
prfsnapoperating system profiler[ prfld, prfstat, prfdc, prfsnap, prfpr ]
prfstatoperating system profiler[ prfld, prfstat, prfdc, prfsnap, prfpr ]
profileroperating system profiler[ prfld, prfstat, prfdc, prfsnap, prfpr ]
prtacctshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
pstatprint system facts
pwckpassword/group file checkers[ pwck, grpck ]
rebootUNIX bootstrapping procedures
rejectallow/prevent LP requests[ accept, reject ]
runacctrun daily accounting
sa1system activity report package[ sa1, sa2, sadc ]
sa2system activity report package[ sa1, sa2, sadc ]
sadcsystem activity report package[ sa1, sa2, sadc ]
sarsystem activity report package[ sa1, sa2, sadc ]
setmntestablish mount table
sgbootprovide network boot service
sgbounceprovide network name service
shutacctshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
shutdownterminate all processing
singleswitch the system to single-user mode
startupshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
tapesavedaily/weekly UNIX file system backup[ filesave, tapesave ]
telinitprocess control initialization[ init, telinit ]
turnacctshell procedures for accounting[ chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, runacct, shutacct, startup, turnacct ]
umountmount and dismount file system[ mount, umount ]
unlinkexercise link and unlink system calls[ link, unlink ]
uucleanuucp spool directory clean-up
uusubmonitor uucp network
volcopycopy file systems with label checking[ volcopy, labelit ]
wallwrite to all users
whodowho is doing what

2. System Calls (intro)

_exitterminate process[ exit, _exit ]
accessdetermine accessibility of a file
acctenable or disable process accounting
alarmset a process’s alarm clock
brkchange data segment space allocation[ brk, sbrk ]
chdirchange working directory
chmodchange mode of file
chownchange owner and group of a file
chrootchange root directory
closeclose a file descriptor
creatcreate a new file or rewrite an existing one
dupduplicate an open file descriptor
execexecute a file[ execl, execv, execle, execve, execlp, execvp ]
exitterminate process[ exit, _exit ]
fcntlfile control
forkcreate a new process
fstatget file status[ stat, fstat ]
getegidget real user, effective user, real group, and effective group IDs[ getuid, geteuid, getgid, getegid ]
geteuidget real user, effective user, real group, and effective group IDs[ getuid, geteuid, getgid, getegid ]
getgidget real user, effective user, real group, and effective group IDs[ getuid, geteuid, getgid, getegid ]
gethostnameget name of current host
getpgrpget process, process group, and parent process IDs[ getpid, getpgrp, getppid ]
getpidget process, process group, and parent process IDs[ getpid, getpgrp, getppid ]
getppidget process, process group, and parent process IDs[ getpid, getpgrp, getppid ]
getuidget real user, effective user, real group, and effective group IDs[ getuid, geteuid, getgid, getegid ]
introintroduction to system calls and error numbers
ioctlcontrol device
killsend a signal to a process or a group of processes
linklink to a file
lseekmove read/write file pointer
mknodmake a directory, or a special or ordinary file
mountmount a file system
msgctlmessage control operations
msggetget message queue
msgopmessage operations
nicechange priority of a process
openopen for reading or writing
pausesuspend process until signal
physallow a process to access physical addresses
pipecreate an interprocess channel
plocklock process, text, or data in memory
profilexecution time profile
ptraceprocess trace
readread from file
rebootreboot the system
sbrkchange data segment space allocation[ brk, sbrk ]
semctlsemaphore control operations
semgetget set of semaphores
semopsemaphore operations
setgidset user and group IDs[ setuid, setgid ]
sethostnameset name of host cpu
setpgrpset process group ID
setuidset user and group IDs[ setuid, setgid ]
shmctlshared memory control operations
shmgetget shared memory segment
shmopshared memory operations
signalspecify what to do upon receipt of a signal
statget file status[ stat, fstat ]
stimeset time
syncupdate super-block
timeget time
timesget process and child process times
ulimitget and set user limits
umaskset and get file creation mask
umountunmount a file system
unameget name of current UNIX system
unlinkremove directory entry
ustatget file system statistics
utimeset file access and modification times
uvarreturns system-specific configuration information
waitwait for child process to stop or terminate
writewrite on a file

3. Subroutines and Libraries (intro)

bltblock transfer data[ blt, blt512 ]
directorydirectory operations[ opendir, readdir, telldir, seekdir, rewinddir, closedir ]
getwdget current working directory pathname
introintroduction to subroutines and libraries
termcapterminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]
termlib
tgetentterminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]
tgetflagterminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]
tgetnumterminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]
tgetstrterminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]
tgototerminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]
tputsterminal independent operation routines[ tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs ]

3C. C Library

_tolowertranslate characters[ toupper, tolower, _toupper, _tolower, toascii ]
_touppertranslate characters[ toupper, tolower, _toupper, _tolower, toascii ]
a64lconvert between long integer and base-64 ASCII string[ a64l, l64a ]
abortgenerate an IOT fault
absreturn integer absolute value
asctimeconvert date and time to string[ ctime, localtime, gmtime, asctime, tzset ]
atofconvert ASCII string to floating-point number[ atof, _latof ]
atoiconvert string to integer[ strtol, atol, atoi ]
atolconvert string to integer[ strtol, atol, atoi ]
bsearchbinary search
callocmain memory allocator[ malloc, free, realloc, calloc ]
clockreport CPU time used
convtranslate characters[ toupper, tolower, _toupper, _tolower, toascii ]
cryptgenerate DES encryption[ crypt, setkey, encrypt ]
ctimeconvert date and time to string[ ctime, localtime, gmtime, asctime, tzset ]
ctypeclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
dialestablish an out-going terminal line connection
drand48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
ecvtconvert single precision floating-point number to string _d_ecvt, _d_fcvt, _d_gcvt − convert double precision floating point number to string[ ecvt, fcvt, gcvt ]
edatalast locations in program[ end, etext, edata ]
encryptgenerate DES encryption[ crypt, setkey, encrypt ]
endlast locations in program[ end, etext, edata ]
endgrentget group file entry[ getgrent, getgrgid, getgrnam, setgrent, endgrent ]
endpwentget password file entry[ getpwent, getpwuid, getpwnam, setpwent, endpwent ]
endutentaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]
erand48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
errnosystem error messages[ perror, errno, sys_errlist, sys_nerr ]
etextlast locations in program[ end, etext, edata ]
fcvtconvert single precision floating-point number to string _d_ecvt, _d_fcvt, _d_gcvt − convert double precision floating point number to string[ ecvt, fcvt, gcvt ]
fpsignalfloating point exception handling system. 
freemain memory allocator[ malloc, free, realloc, calloc ]
frexpmanipulate parts of floating-point numbers[ frexp, _lfrexp, ldexp, _lldexp, modf, _lmodf ]
ftwwalk a file tree
gcvtconvert single precision floating-point number to string _d_ecvt, _d_fcvt, _d_gcvt − convert double precision floating point number to string[ ecvt, fcvt, gcvt ]
getcwdget pathname of current working directory
getenvreturn value for environment name
getgrentget group file entry[ getgrent, getgrgid, getgrnam, setgrent, endgrent ]
getgrgidget group file entry[ getgrent, getgrgid, getgrnam, setgrent, endgrent ]
getgrnamget group file entry[ getgrent, getgrgid, getgrnam, setgrent, endgrent ]
getloginget login name
getoptget option letter from argument vector
getpassread a password
getpwget name from UID
getpwentget password file entry[ getpwent, getpwuid, getpwnam, setpwent, endpwent ]
getpwnamget password file entry[ getpwent, getpwuid, getpwnam, setpwent, endpwent ]
getpwuidget password file entry[ getpwent, getpwuid, getpwnam, setpwent, endpwent ]
getutaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]
getutentaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]
getutidaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]
getutlineaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]
gmtimeconvert date and time to string[ ctime, localtime, gmtime, asctime, tzset ]
gsignalsoftware signals[ ssignal, gsignal ]
hcreatemanage hash search tables[ hsearch, hcreate, hdestroy ]
hdestroymanage hash search tables[ hsearch, hcreate, hdestroy ]
hsearchmanage hash search tables[ hsearch, hcreate, hdestroy ]
isalnumclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isalphaclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isasciiclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isattyfind name of a terminal[ ttyname, isatty ]
iscntrlclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isdigitclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isgraphclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
islowerclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isprintclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
ispunctclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isspaceclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isupperclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
isxdigitclassify or translate characters[ isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii ]
jrand48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
l3tolconvert between 3-byte integers and long integers[ l3tol, ltol3 ]
l64aconvert between long integer and base-64 ASCII string[ a64l, l64a ]
lcong48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
ldexpmanipulate parts of floating-point numbers[ frexp, _lfrexp, ldexp, _lldexp, modf, _lmodf ]
localtimeconvert date and time to string[ ctime, localtime, gmtime, asctime, tzset ]
longjmpnon-local goto[ setjmp, longjmp ]
lrand48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
lsearchlinear search and update
ltol3convert between 3-byte integers and long integers[ l3tol, ltol3 ]
mallocmain memory allocator[ malloc, free, realloc, calloc ]
memccpymemory operations[ memccpy, memchr, memcmp, memcpy, memset ]
memchrmemory operations[ memccpy, memchr, memcmp, memcpy, memset ]
memcmpmemory operations[ memccpy, memchr, memcmp, memcpy, memset ]
memcpymemory operations[ memccpy, memchr, memcmp, memcpy, memset ]
memorymemory operations[ memccpy, memchr, memcmp, memcpy, memset ]
memsetmemory operations[ memccpy, memchr, memcmp, memcpy, memset ]
mktempmake a unique file name
modfmanipulate parts of floating-point numbers[ frexp, _lfrexp, ldexp, _lldexp, modf, _lmodf ]
monitorprepare execution profile
mrand48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
nlistget entries from name list
nrand48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
perrorsystem error messages[ perror, errno, sys_errlist, sys_nerr ]
putpwentwrite password file entry
pututlineaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]
qsortquicker sort
randsimple random-number generator[ rand, srand ]
reallocmain memory allocator[ malloc, free, realloc, calloc ]
seed48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
setgrentget group file entry[ getgrent, getgrgid, getgrnam, setgrent, endgrent ]
setjmpnon-local goto[ setjmp, longjmp ]
setkeygenerate DES encryption[ crypt, setkey, encrypt ]
setpwentget password file entry[ getpwent, getpwuid, getpwnam, setpwent, endpwent ]
setutentaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]
sleepsuspend execution for interval
srandsimple random-number generator[ rand, srand ]
srand48generate uniformly distributed pseudo-random numbers[ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 ]
ssignalsoftware signals[ ssignal, gsignal ]
stdipcstandard interprocess communication package
strcatstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strchrstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strcmpstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strcpystring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strcspnstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
stringstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strlenstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strncatstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strncmpstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strncpystring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strpbrkstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strrchrstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strspnstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strtokstring operations[ strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok ]
strtolconvert string to integer[ strtol, atol, atoi ]
swabswap bytes
sys_errlistsystem error messages[ perror, errno, sys_errlist, sys_nerr ]
sys_nerrsystem error messages[ perror, errno, sys_errlist, sys_nerr ]
tdeletemanage binary search trees[ tsearch, tdelete, twalk ]
toasciitranslate characters[ toupper, tolower, _toupper, _tolower, toascii ]
tolowertranslate characters[ toupper, tolower, _toupper, _tolower, toascii ]
touppertranslate characters[ toupper, tolower, _toupper, _tolower, toascii ]
tsearchmanage binary search trees[ tsearch, tdelete, twalk ]
ttynamefind name of a terminal[ ttyname, isatty ]
ttyslotfind the slot in the utmp file of the current user
twalkmanage binary search trees[ tsearch, tdelete, twalk ]
tzsetconvert date and time to string[ ctime, localtime, gmtime, asctime, tzset ]
utmpnameaccess utmp file entry[ getutent, getutid, getutline, pututline, setutent, endutent, utmpname ]

3M. Math Library

acostrigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
asintrigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
atantrigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
atan2trigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
besselBessel functions[ j0, j1, jn, y0, y1, yn ]
ceilfloor, ceiling, remainder, absolute value functions[ floor, _lfloor, ceil, _lceil, fmod, _lfmod, fabs, _lfabs ]
costrigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
coshhyperbolic functions[ sinh, cosh, tanh ]
erferror function and complementary error function[ erf, erfc ]
erfcerror function and complementary error function[ erf, erfc ]
expexponential, logarithm, power, square root functions[ exp, log, log10, pow, sqrt ]
fabsfloor, ceiling, remainder, absolute value functions[ floor, _lfloor, ceil, _lceil, fmod, _lfmod, fabs, _lfabs ]
floorfloor, ceiling, remainder, absolute value functions[ floor, _lfloor, ceil, _lceil, fmod, _lfmod, fabs, _lfabs ]
fmodfloor, ceiling, remainder, absolute value functions[ floor, _lfloor, ceil, _lceil, fmod, _lfmod, fabs, _lfabs ]
gammalog gamma function
hypotEuclidean distance function
j0Bessel functions[ j0, j1, jn, y0, y1, yn ]
j1Bessel functions[ j0, j1, jn, y0, y1, yn ]
jnBessel functions[ j0, j1, jn, y0, y1, yn ]
logexponential, logarithm, power, square root functions[ exp, log, log10, pow, sqrt ]
log10exponential, logarithm, power, square root functions[ exp, log, log10, pow, sqrt ]
matherrerror-handling function
powexponential, logarithm, power, square root functions[ exp, log, log10, pow, sqrt ]
sintrigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
sinhhyperbolic functions[ sinh, cosh, tanh ]
sqrtexponential, logarithm, power, square root functions[ exp, log, log10, pow, sqrt ]
tantrigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
tanhhyperbolic functions[ sinh, cosh, tanh ]
trigtrigonometric functions[ sin (_lsin), cos (_lcos), tan (_ltan), asin (_latan), acos (_lacos), atan (_latan), atan2 (_latan2) ]
y0Bessel functions[ j0, j1, jn, y0, y1, yn ]
y1Bessel functions[ j0, j1, jn, y0, y1, yn ]
ynBessel functions[ j0, j1, jn, y0, y1, yn ]

3S. Standard I/O Library

clearerrstream status inquiries[ ferror, feof, clearerr, fileno ]
ctermidgenerate file name for terminal
cuseridget character login name of the user
fcloseclose or flush a stream[ fclose, fflush ]
fdopenopen a stream[ fopen, freopen, fdopen ]
feofstream status inquiries[ ferror, feof, clearerr, fileno ]
ferrorstream status inquiries[ ferror, feof, clearerr, fileno ]
fflushclose or flush a stream[ fclose, fflush ]
fgetcget character or word from stream[ getc, getchar, fgetc, getw ]
fgetsget a string from a stream[ gets, fgets ]
filenostream status inquiries[ ferror, feof, clearerr, fileno ]
fopenopen a stream[ fopen, freopen, fdopen ]
fprintfprint formatted output[ printf, fprintf, sprintf ]
fputcput character or word on a stream[ putc, putchar, fputc, putw ]
fputsput a string on a stream[ puts, fputs ]
freadbinary input/output[ fread, fwrite ]
freopenopen a stream[ fopen, freopen, fdopen ]
fscanfconvert formatted input[ scanf, fscanf, sscanf ]
fseekreposition a file pointer in a stream[ fseek, rewind, ftell ]
ftellreposition a file pointer in a stream[ fseek, rewind, ftell ]
fwritebinary input/output[ fread, fwrite ]
getcget character or word from stream[ getc, getchar, fgetc, getw ]
getcharget character or word from stream[ getc, getchar, fgetc, getw ]
getsget a string from a stream[ gets, fgets ]
getwget character or word from stream[ getc, getchar, fgetc, getw ]
pcloseinitiate pipe to/from a process[ popen, pclose ]
popeninitiate pipe to/from a process[ popen, pclose ]
printfprint formatted output[ printf, fprintf, sprintf ]
putcput character or word on a stream[ putc, putchar, fputc, putw ]
putcharput character or word on a stream[ putc, putchar, fputc, putw ]
putsput a string on a stream[ puts, fputs ]
putwput character or word on a stream[ putc, putchar, fputc, putw ]
rewindreposition a file pointer in a stream[ fseek, rewind, ftell ]
scanfconvert formatted input[ scanf, fscanf, sscanf ]
setbufassign buffering to a stream
sprintfprint formatted output[ printf, fprintf, sprintf ]
sscanfconvert formatted input[ scanf, fscanf, sscanf ]
stdiostandard buffered input/output package
systemissue a shell command
tempnamcreate a name for a temporary file[ tmpnam, tempnam ]
tmpfilecreate a temporary file
tmpnamcreate a name for a temporary file[ tmpnam, tempnam ]
ungetcpush character back into input stream

3X. Miscellaneous Libraries

assertverify program assertion
cursesscreen functions with “optimal” cursor motion
lognamereturn login name of user
plotgraphics interface subroutines
regcmpcompile and execute regular expression[ regcmp, regex ]
regexcompile and execute regular expression[ regcmp, regex ]
sgetlaccess long numeric data in a machine independent fashion. [ sputl, sgetl ]
sputlaccess long numeric data in a machine independent fashion. [ sputl, sgetl ]

4. Special Files (intro)

TZlocal time zone
a.outassembler and link editor output
acctper-process accounting file format
aliasesaliases file for Mail and rmail
ararchive (library) file format
checklistlist of file systems processed by fsck
coreformat of core image file
cpioformat of cpio archive
cshrccsh system-wide .login file
dirformat of directories
environuser environment
filehdrfile header for common object files
fsformat of system volume[ file system ]
fspecformat specification in text files
gettydefsspeed and terminal settings used by getty
gpsgraphical primitive string, format of graphical files
groupgroup file
holidaysholidays of the year
inittabscript for the init process
inodeformat of an inode
introintroduction to file formats
issueissue identification file
ldfcncommon object file access routines
linenumline number entries in a common object file
loginsetting up a C Shell environment[ login, cshrc ]
mnttabmounted file system table
motdmessage of the day
mtTM78/TU-78 MASSBUS magtape interface
passwdpassword file
plotgraphics interface
pnchfile format for card images
profilesetting up a Bourne Shell environment at login time
sccsfileformat of SCCS file
scnhdrsection header for a common object file
smtioUNIX streaming magnetic tape interface
stabsymbol table types
sys_idsystem identification
tpmagnetic tape format
ttytypedata base of terminal types by port
tzlocal time zone
utmputmp and wtmp entry formats[ utmp, wtmp ]
wtmputmp and wtmp entry formats[ utmp, wtmp ]

5. File Formats (intro)

asciimap of ASCII character set
environuser environment
eqncharspecial character definitions for eqn and neqn
fcntlfile control options
greekgraphics for the extended TTY-37 type-box
introintroduction to miscellany
manmacros for formatting entries in this manual
memacros for formatting papers
mmthe MM macro package for formatting documents
mosdthe OSDD adapter macro package for formatting documents
mptxthe macro package for formatting a permuted index
mstext formatting macros
mva troff macro package for typesetting view graphs and slides
rcsfileformat of RCS file
regexpregular expression compile and match routines
statdata returned by stat system call
termconventional names for terminals
termcapterminal capability data base
typesprimitive system data types

6. Games and Demos (intro)

adventurean exploration game
aliensthe alien invaders attack the earth
arithmeticprovide drill in number facts
autorobotsescape from the automatic robots
backthe game of backgammon
bcdconvert to antique media
bjthe game of black jack
chasetry to escape the killer robots
crapsthe game of craps
cribbagethe card game cribbage
fishplay “Go Fish”
fortuneprint a random, hopefully interesting, adage
hangmanguess the word
introintroduction to games
lifeplay the game of life
mastermind
mazegenerate a maze
mooguessing game
numberconvert Arabic numerals to English
quiztest your knowledge
rainanimated raindrops display
robotsescape from the robots
rogueexploring the Dungeons of Doom
trektrekkie game
ttttic-tac-toe[ ttt, cubic ]
twinkletwinkle stars on the screen
wormplay the growing worm game
wormsanimate worms on a display terminal
wumpthe game of hunt-the-wumpus

7. Miscellaneous Facilities (intro)

introintroduction to special files
memcore memory[ mem, kmem ]
nullthe null file
termiogeneral terminal interface
ttycontrolling terminal interface

8. Maintenance Procedures (intro)

bootstartup procedures
crashwhat to do when the system crashes
introintroduction to system maintenance procedures

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