Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SunOS 0.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Anchors

1. Commands

1C. Communications Commands

1G. Graphics Commands

2. System Calls

3. C Library

3F. FORTRAN Library

3J. Job Control Facility

3M. Math Library

3N. Network Support Library

3S. Standard I/O Library

3X. Miscellaneous Libraries

4. Device Drivers

4F. Network Protocol Families

4I. IP Special Files and Protocols

4N. Network Facilities

4P. Network Protocols

5. File Formats

6. Games and Demos

7. Miscellaneous Facilities

8. Maintenance Commands

8C. Network Services

8V. VAX Maintenance Procedures

Manual — SunOS 0.3

646 entries

1. Commands (intro)

adbdebugger
admincreate and administer SCCS files
ararchive and library maintainer
asassembler
atexecute commands at a later time
awkpattern scanning and processing language
basenamestrip filename affixes
bcarbitrary-precision arithmetic language
biffmail alarm
binmailsend or receive mail among users
caldisplay calendar
calendarreminder service
catconcatenate and display
cbC program beautifier
ccC compiler
compact, uncompact, ccatcompress and uncompress files, and cat them
cdchange working directory
cdcchange the delta commentary of an SCCS delta
checknewscheck to see if user has news on the USENET news network
checknrcheck nroff/troff files
chgrpchange group
chmodchange mode
chshchange default login shell
clearclear terminal screen
cmpcompare two files
colfilter reverse paper motions
colcrtfilter nroff output for CRT previewing
colrmremove columns from a file
combcombine SCCS deltas
commselect or reject lines common to two sorted files
uncompact, ccat, compactcompress and uncompress files, and cat them
cpcopy
cpiocopy file archives in and out
cryptencode/decode
csha shell (command interpreter) with C-like syntax
ctagscreate a tags file
datedisplay or set the date
dcdesk calculator
ddconvert and copy a file
deltamake a delta (change) to an SCCS file
deroffremove nroff, troff, tbl and eqn constructs
dfreport free disk space on file systems
explain, dictionprint wordy sentences; thesaurus for diction
diffdifferential file and directory comparator
diff33-way differential file comparison
diff, diffhdifferential file and directory comparator
dusummarize disk usage
echoecho arguments
edtext editor
ex, edittext editor
grep, fgrep, egrepsearch a file for a pattern
xsend, xget, enrollsecret mail
neqn, checkeq, eqntypeset mathematics
erroranalyze and disperse compiler error messages
edit, extext editor
unexpand, expandexpand tabs to spaces, and vice versa
diction, explainprint wordy sentences; thesaurus for diction
exprevaluate arguments as an expression
eyaccmodified yacc allowing much improved error recovery
f77Fortran 77 compiler
true, falseprovide truth values
grep, egrep, fgrepsearch a file for a pattern
filedetermine file type
findfind files
fmtsimple text formatter
foldfold long lines for finite width output device
fromwho is my mail from? 
gcoreget core images of running processes
getget a version of an SCCS file
gprofdisplay call graph profile data
egrep, fgrep, grepsearch a file for a pattern
grindgrind nice listings of programs
groupsshow group memberships
headdisplay first few lines of specified files
helpask for help
hostnameset or print name of current host system
indentindent and format a C program source
inewssubmit news articles
installinstall files
introintroduction to commands
iostatreport I/O statistics
joinrelational database operator
killterminate a process
lastindicate last logins of users and teletypes
lastcommshow last commands executed in reverse order
ldlink editor
leaveremind you when you have to leave
lexgenerator of lexical analysis programs
linta C program verifier
lnmake links
loginsign on
lookfind lines in a sorted list
lookbibfind literature references in documents
lorderfind ordering relation for an object library
lpqspool queue examination program
lproff line print
lprmremove jobs from the line printer spooling queue
lslist contents of directory
m4macro processor
mailsend and receive mail
makemaintain program groups
manprint out manual pages; find manual information by keywords
mesgpermit or deny messages
mkdirmake a directory
mkstrcreate an error message file by massaging C source
page, morefile perusal filter for crt viewing
mtmagnetic tape manipulating program
mvmove or rename files
eqn, checkeq, neqntypeset mathematics
netstatnetwork statistics program
newaliasesrebuild the data base for the mail aliases file
nohup, nicerun a command at low priority (sh only)
nmprint name list
nrofftext formatting and typesetting
odoctal dump
more, pagefile perusal filter for crt viewing
passwdchange login password
pcPascal compiler
piPascal interpreter code translator
pixPascal interpreter and executor
pmergepascal file merger
postnewssubmit news articles
prprint file
printenvprint out the environment
prmailprint out mail in the post office
profdisplay profile data
prsprint an SCCS file
psprocess status
ptiphototypesetter interpreter
ptxpermuted index
pwdprint working directory name
pxPascal interpreter
pxrefPascal cross-reference program
ranlibconvert archives to random libraries
ratforrational Fortran dialect
rcpremote file copy
readnewsread news articles
recnewsreceive unprocessed network news articles via mail
referfind and insert literature references in documents
resetreset the teletype bits to a sensible state
revreverse lines of a file
rloginremote login
rmdir, rmremove (unlink) files or directories
rmdelremove a delta from an SCCS file
rm, rmdirremove (unlink) directories or files
rshremote shell
ruptimeshow host status of local machines
rwhowho’s logged in on local machines
sactprint current SCCS file editing activity
sccsfront end for the SCCS subsystem
sccsdiffcompare two versions of an SCCS file
scriptmake typescript of terminal session
sedstream editor
for, case, if, while, :, ., break, continue, cd, eval, exec, exit, export, login, newgrp, read, readonly, set, shift, times, trap, umask, wait, shcommand language
sizesize of an object file
sizecsh, sizeshdetermine window dimensions & adjust TERMCAP accordingly
sleepsuspend execution for an interval
soelimeliminate .so’s from nroff input
sortsort or merge files
spellin, spellout, spellfind spelling errors
splitsplit a file into pieces
stringsfind printable strings in a object, or other binary, file
stripremove symbols and relocation bits
structstructure Fortran programs
sttyset terminal options
styleanalyze surface characteristics of a document
susubstitute user id temporarily
sumsum and count blocks in a file
syslinedisplay system status on status line of a terminal
taildisplay the last part of a file
tartape archiver
tblformat tables for nroff or troff
teepipe fitting
telnet  communicate using TELNET protocol, telnet
testcondition command
timetime a command
tipconnect to a remote system
touchupdate date last modified of a file
trtranslate characters
nroff, trofftypeset or format documents
false, trueprovide truth values
tsetestablish terminal characteristics for the environment
tsorttopological sort
ttyget terminal name
uldo underlining
compact, ccat, uncompactcompress and uncompress files, and cat them
ungetundo a previous get of an SCCS file
uniqreport repeated lines in a file
unitsconversion program
uptimeshow how long system has been up
userscompact list of users who are on the system
v7mailsend or receive mail among users
valvalidate SCCS file
vgrindgrind nice listings of programs
viscreen oriented (visual) display editor based on ex
vmstatreport virtual memory statistics
wwho is on and what they are doing
waitawait completion of process
wallwrite to all users
wcword count
whatidentify SCCS files
whatisdescribe what a command is
whereislocate source, binary, and/or manual for program
whichlocate a program file including aliases and paths (csh only)
whowho is on the system
whoamidisplay effective current username
windowsstart the (preliminary) window environment
writewrite to another user
xsend, enroll, xgetsecret mail
xget, enroll, xsendsecret mail
xstrextract strings from C programs to implement shared strings
yaccyet another compiler-compiler
yesbe repetitively affirmative

1C. Communications Commands

uulog, uucpunix to unix copy
uudecode, uuencodeencode/decode a binary file for tranmission via mail
uucp, uulogunix to unix copy
uucp, uulog, uunameunix to unix copy
uusendsend a file to a remote host
uuxunix to unix command execution

1G. Graphics Commands

graphdraw a graph
plotgraphics filters
splineinterpolate smooth curve

2. System Calls (intro)

acceptaccept a connection on a socket
accessdetermine accessibility of file
acctturn accounting on or off
bindbind a name to a socket
sbrk, brkchange data segment size
chdirchange current working directory
chmodchange mode of file
chownchange owner and group of a file
chrootchange root directory
closedelete a descriptor
connectinitiate a connection on a socket
dup2, dupduplicate a descriptor
execv, execve, execexecute a file
execveexecute a file
_exit, exitterminate a process
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
setdopt, getdoptget/set options associated with a descriptor
getdpropget properties of a descriptor
getdtablesizeget descriptor table size
getegid, getgidget group identity
getgroupsget group access list
sethostid, gethostidget/set unique identifier of current host
sethostname, gethostnameget/set name of current host
setitimer, getitimerget/set value of interval timer
getpagesizeget system page size
getpgrpget process group
getpidget process identification
setpriority, getpriorityget/set program scheduling priority
setrlimit, getrlimitcontrol maximum system resource consumption
getrusageget information about resource utilization
setsockopt, getsockoptget and set options on sockets
settimeofday, gettimeofdayget/set date and time
geteuid, getuidget user identity
introintroduction to system calls and error numbers
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
lockfprovide semaphores and record locking on files
lseekmove read/write pointer
madvisegive advice to the paging system
mapmap pages of memory
mincorefind out about core resident pages
mkdirmake a directory file
mknodmake a special file
mmapmap pages of memory
unmount, mountmount or remove file system
mprotectchange memory protection
mremapremap pages of memory
munmapunmap pages of memory
openopen a file for reading or writing, or create a new file
pausestop until signal
pipecreate an interprocess communication channel
profilexecution time profile
ptraceprocess trace
readv, readread input
readlinkread value of a symbolic link
rebootreboot system or halt processor
recvfrom, recvmsg, recvreceive a message from a socket
remapremap pages of memory
renamechange the name of a file
revokerevoke access to an object associated with a descriptor
rmdirremove a directory file
selectsynchronous i/o multiplexing
sendto, sendmsg, sendsend a message from a socket
setgroupsset group access list
setpgrpset process group
setregidset real and effective group ID
setreuidset real and effective user ID’s
shutdownshut down part of a full-duplex connection
signalcatch or ignore signals
sigsyscatch or ignore signals
socketcreate an endpoint for communication
socketpaircreate a pair of connected sockets
stk, sstkchange stack segment size
lstat, fstat, statget file status
sstk, stkchange stack segment size
ioctl, sttycontrol device
open, sun.openopen a file for reading or writing, or create a new file
swapoff, swaponadd/delete a swap device for interleaved paging/swapping
symlinkmake symbolic link to a file
syncupdate super-block
truncatetruncate a file to a specified length
umaskset file creation mode mask
unlinkremove directory entry
unmapunmap pages of memory
utimesset file times
vforkspawn new process in a virtual memory efficient way
vhangupvirtually “hangup” the current control terminal
vswaponadd a swap device for interleaved paging/swapping
waitwait for process to terminate
wait3wait for process to terminate
wrapwrap a descriptor with a protocol interpreter
writev, writewrite on a file

3. C Library (intro)

abortgenerate a fault
absinteger absolute value
alarmschedule signal after specified time
atoi, atol, atofconvert ASCII to numbers
bcopy, bcmp, bzero, bstringbyte string operations
creatcreate a new file
setkey, encrypt, cryptDES encryption
localtime, gmtime, asctime, timezone, ctimeconvert date and time to ASCII
isalpha, isupper, islower, isdigit, isalnum, isspace, ispunct, isprint, iscntrl, isascii, ctypecharacter classification
opendir, readdir, telldir, seekdir, rewinddir, closedir, directorydirectory operations
fcvt, gcvt, ecvtoutput conversion
etext, edata, endlast locations in program
exitterminate a process
ldexp, modf, frexpsplit into mantissa and exponent
getenvvalue for environment name
getfsspec, getfsfile, setfsent, endfsent, getfsentget file system descriptor file entry
getgrgid, getgrnam, setgrent, endgrent, getgrentget group file entry
getloginget login name
getpassread a password
getpwget name from uid
getpwuid, getpwnam, setpwent, endpwent, getpwentget password file entry
getwdget current working directory pathname
inet_addr, inet_network, inet_makeaddr, inet_lnaof, inet_netof, inetInternet address manipulation routines
introintroduction to library functions
isnan, isinftest for indeterminate floating point values
free, realloc, calloc, mallocmain memory allocator
mktempmake a unique file name
monstartup, monitorprepare execution profile
niceset program priority
nlistget entries from name list
intro, old.introintroduction to library functions
sys_errlist, sys_nerr, perrorsystem error messages
sys_siglist, psignalsystem signal messages
qsortquicker sort
srand, randrandom number generator
srandom, randombetter random number generator initstate, setstate − routines for changing generators
re_comp, re_exec, regexregular expression handler
scandirscan a directory
longjmp, setjmpnon-local goto
setgid, setuidset user and group ID
sleepsuspend execution for interval
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, index, rindex, stringstring operations
swabswap bytes
syscallindirect system call
openlog, closelog -- control system log, syslog
systemissue a shell command
ftime, timeget date and time
timesget process times
isatty, ttyslot, ttynamefind name of a terminal
utimeset file times
vallocaligned memory allocator
varargsvariable argument list

3F. FORTRAN Library (intro)

abortterminate abruptly with memory image
accessdetermine accessability of a file
alarmexecute a subroutine after a specified time
bessel functions, besselof two kinds for integer orders
bis, bic, setbit, bitbit set, clear, test routines
chdirchange default directory
dtime, etimereturn elapsed execution time
exitterminate process with status
fdatereturn date and time in an ASCII string
flushflush output to a logical unit
forkcreate a copy of this process
ftell, fseekreposition a file on a logical unit
iargc, getargcommand arguments to Fortran
fgetc, getcget a character from a logical unit
getcwdget pathname of current working directory
getenvget value of environment variables
getlogget user’s login name
getpidget process id
getgid, getuidget user or group ID of the caller
itime, idatereturn date or time in numerical form
rindex, lnblnk, len, indextell about character objects
introintroduction to FORTRAN library functions
killsend a signal to a process
linkmake a link to an existing file
locreturn the address of an object
gerror, ierrno, perrorget system error messages
fputc, putcwrite a character to a fortran logical unit
qsortquick sort
drand, irand, randreturn random values
flmin, flmax, dflmin, dflmax, inmax, rangereturn extreme values
signalchange the action for a signal
sleepsleep for awhile
fstat, statget file status
systemexecute a unix command
ctime, ltime, gmtime, timereturn system time
trapertrap arithmetic errors
trapovtrap and repair floating point overflow
isatty, ttynamfind name of a terminal port
unlinkremove a directory entry
waitwait for a process to terminate

3J. Job Control Facility (intro)

introsummary of job control facilities
jobssummary of job control facilities
sigset, sighold, sigignore, sigrelse, sigpause, signalmanage signals
signal, sighold, sigignore, sigrelse, sigpause, sigsetmanage signals

3M. Math Library (intro)

log, log10, pow, sqrt, expexponential, logarithm, power, square root
fabs, ceil, floorabsolute value, floor, ceiling functions
gammalog gamma function
cabs, hypotEuclidean distance
introintroduction to mathematical library functions
j1, jn, y0, y1, yn, j0bessel functions
cos, tan, asin, acos, atan, atan2, sintrigonometric functions
cosh, tanh, sinhhyperbolic functions

3N. Network Support Library (intro)

htonl, htons, ntohl, ntohs, byteorderconvert values between host and network byte order
gethostbyaddr, gethostbyname, sethostent, endhostent, gethostentget network host entry
getnetbyaddr, getnetbyname, setnetent, endnetent, getnetentget network entry
getprotobynumber, getprotobyname, setprotoent, endprotoent, getprotoentget protocol entry
getservbyport, getservbyname, setservent, endservent, getserventget protocol entry
inet_addr, inet_network, inet_makeaddr, inet_lnaof, inet_netof, inetInternet address manipulation routines
introintroduction to network library functions

3S. Standard I/O Library (intro)

fflush, fcloseclose or flush a stream
feof, clearerr, fileno, ferrorstream status inquiries
freopen, fdopen, fopenopen a stream
fwrite, freadbuffered binary input/output
ftell, rewind, fseekreposition a stream
getchar, fgetc, getw, getcget character or word from stream
fgets, getsget a string from a stream
stdio, introstandard buffered input/output package
pclose, popeninitiate I/O to/from a process
fprintf, sprintf, printfformatted output conversion
putchar, fputc, putw, putcput character or word on a stream
fputs, putsput a string on a stream
fscanf, sscanf, scanfformatted input conversion
setbuffer, setbufassign buffering to a stream
stdiostandard buffered input/output package
ungetcpush character back into input stream

3X. Miscellaneous Libraries

assertprogram verification
cursesscreen functions with “optimal” cursor motion
dbminit, fetch, store, delete, firstkey, nextkey, dbmdata base subroutines
initgroupsinitialize group access list
plot: openpl, erase, label, line, circle, arc, move, cont, point, linemod, space, closepl, plotgraphics interface
rresvport, ruserok, rcmdroutines for returning a stream to a remote command
rexecreturn stream to a remote command
tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs, termcapterminal independent operation routines

4. Device Drivers (intro)

arArchive 1/4 inch Streaming Tape Drive
archiveArchive 1/4 inch Streaming Tape Drive
bkline discipline for machine-machine communication
cgSun color graphics interface
consDriver for Sun console
drumpaging device
ec3Com 10 Mb/s Ethernet interface
enSun 3 Mb/s experimental Ethernet interface
introintroduction to special files
ipDisk driver for Interphase SMD Disk Controllers
mem, mbmem, mbio, kmemmain memory and I/O space
kmem, mbmem, mbio, memmain memory and I/O space
mtUNIX magtape interface
mtioUNIX magnetic tape interface
ndnet disk driver
netintroduction to networking facilities
newttysummary of the “new” tty driver
nulldata sink
octCentral Data Octal Serial Interface
ptypseudo terminal driver
rvRacal/Vadic ACU interface
sunioDriver for Sun CPU on-board UART’s
ttygeneral terminal interface
vpIkon 10071-5 Multibus Versatec parallel printer interface

4F. Network Protocol Families

inetInternet protocol family
pupXerox PUP-I protocol family

4I. IP Special Files and Protocols

loop, losoftware loopback interface
tcpInternet Transmission Control Protocol
udpInternet User Datagram Protocol

4N. Network Facilities (intro)

net, introintroduction to networking facilities

4P. Network Protocols (intro)

impIMP raw socket interface
pup, introraw PUP socket interface
ipInternet Protocol
pupraw PUP socket interface
tcpInternet Transmission Control Protocol
udpInternet User Datagram Protocol

5. File Formats

a.outassembler and link editor output
acctexecution accounting file
aliasesaliases file for sendmail
ararchive (library) file format
coreformat of memory image file
cpioformat of cpio archive
crontabtable of times to run periodic jobs
dirformat of directories
disktabdisk description file
ddate, dumpincremental dump format
inode, fsformat of file system volume
fstabstatic information about the filesystems
groupgroup file
hostshost name data base
mtabmounted file system table
networksnetwork name data base
passwdpassword file
phonesremote host phone number data base
plotgraphics interface
printcapprinter capability data base
protocolsprotocol name data base
remoteremote host description file for tip
sccsfileformat of SCCS file
servicesservice name data base
tartape archive file format
termcapterminal capability data base
tpDEC/mag tape formats
ttysterminal initialization data
ttytypedata base of terminal types by port
wtmp, utmplogin records
uuencodeformat of an encoded uuencode file
vfontfont formats for the Benson-Varian or Versatec
vgrindefsvgrind’s language definition data base

6. Games and Demos

aardvarkyet another exploration game
adventurean exploration game
aliensThe alien invaders attack the earth
arithmeticprovide drill in number facts
backgammonthe game
bannerprint large banner on printer
bcdconvert to antique media
boggleplay the game of boggle
bwdemosdemonstrate Sun Monochrome Bitmap Display
chaseTry to escape to killer robots
chessthe game of chess
fortune, chingthe book of changes and other cookies
colordemosdemonstrate Sun Color Graphics Display
cribbagethe card game cribbage
doctorinteract with a psychoanalyst
drawinteractive graphics drawing
fishplay “Go Fish”
fortuneprint a random, hopefully interesting, adage
hangmanComputer version of the game hangman
milleplay Mille Bournes
monopMonopoly game
numberconvert Arabic numerals to English
quiztest your knowledge
rainanimated raindrops display
rogueExploring The Dungeons of Doom
rotcuberotate a simple cube
rotcvphrotate convex polyhedron
snscore, snakedisplay chase game
suncoredemosdemonstrate SunCore Graphics Package
suncubeview 3-D Sun logo
trektrekkie game
vwcvphview convex polyhedron
wormPlay the growing worm game
wormsanimate worms on a display terminal
wumpthe game of hunt-the-wumpus
zorkthe game of dungeon

7. Miscellaneous Facilities (intro)

asciimap of ASCII character set
environuser environment
eqncharspecial character definitions for eqn
hierfile system hierarchy
miscellaneous, introMiscellaneous useful information pages
manmacros to typeset manual
memacros for formatting papers
msmacros for formatting manuscripts

8. Maintenance Commands (intro)

aclogin accounting
sa, acctonsystem accounting
adduserprocedure for adding new users
analyzeVirtual UNIX postmortem crash analyzer
catmancreate the cat files for the manual
chownchange owner
clriclear i-node
configBuild system configuration files
cronclock daemon
dcheckfile system directory consistency check
diagGeneral-purpose stand-alone utility package
diskpartcalculate default disk partition sizes
dmesgcollect system diagnostic messages to form error log
dumpincremental file system dump
dumpfsdump file system information
fastbootreboot the system without checking the disks
fsckfile system consistency check and interactive repair
gettyset terminal mode
gxteststand alone test for the Sun video graphics board
haltstop the processor
htableconvert NIC standard format host tables
icheckfile system storage consistency check
imemteststand alone memory test
initprocess control initialization
installinstall binaries
introintroduction to system maintenance and operation commands
kgmongenerate a dump of the operating system’s profile buffers
lpdrestart, lpdline printer daemon, restart downed daemons at reboot time
MAKEDEV, makedevmake system special files
makekeygenerate encryption key
mkfsconstruct a file system
mklost+foundmake a lost+found directory for fsck
mknodbuild special file
mkprotoconstruct a prototype file system
umount, mountmount and dismount file system
ncheckgenerate names from i-numbers
netstatnetwork statistics program
newfsconstruct a new file system
pacprinter/plotter accounting information
pstatprint system facts
quotsummarize file system ownership
rccommand script for auto-reboot and daemons
rdateset system date from a remote host
rdumpfile system dump across the network
rebootUNIX bootstrapping procedures
renicealter priority of running process by changing nice
restorincremental file system restore
restoreincremental file system restore
routednetwork routing daemon
rrestorfile system dump across the network
accton, sasystem accounting
savecoresave a memory dump of the operating system
sendmailsend mail over the internet
shutdownclose down the system at a given time
stickyexecutable files with persistent text
swaponspecify additional device for paging and swapping
syncupdate the super block
sysloglog systems messages
trpttransliterate protocol trace
tunefstune up an existing file system
updateperiodically update the super block
uucleanuucp spool directory clean-up
vipwedit the password file with vi
vpacprint raster printer/ploter accounting information

8C. Network Services

comsatbiff server
ftpdDARPA Internet File Transfer Protocol server
gettableget NIC format host tables from a host
implogdIMP logger process
rexecdremote execution server
rlogindremote login server
rmtremote magtape protocol module
routemanually manipulate the routing tables
rshdremote shell server
rwhodsystem status server
telnetdDARPA TELNET protocol server
tftp, tftpdDARPA Trivial File Transfer Protocol server

8V. VAX Maintenance Procedures

crashwhat happens when the system crashes
formathow to format disk packs

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