www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/19/12:56:47

Xref: news-dnh.mv.net comp.os.msdos.djgpp:445
Path: news-dnh.mv.net!mv!news.sprintlink.net!cs.utexas.edu!convex!not-for-mail
From: rosenkra AT convex DOT com (William Rosenkranz)
Newsgroups: comp.os.msdos.djgpp
Subject: whatis(1) system (part02/02)
Date: 19 Jun 1995 00:14:35 -0500
Organization: Engineering, Convex Computer Corporation, Richardson, Tx USA
Lines: 620
Nntp-Posting-Host: convex1.convex.com
Summary: unix whatis system
Keywords: unix manual man whatis apropos
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

whatis (part02/02)

this is a whatis(1) system. it is used in conjunction with man(1) that
i also posted. man is standalone, but without apropos and whatis, the
-k and -f switches in man will not work.

-bill rosenkranz
rosenkra AT convex DOT com

---------------------------- cut here ----------------------------
# This is a shell archive.  Remove anything before this line,
# then unpack it by saving it in a file and typing "sh file".
#
# Wrapped by William Rosenkranz <rosenkra AT det_hp> on Mon Jun 19 00:41:28 1995
#
# This archive contains:
#	whatis	
#
# Error checking via sum(1) will be performed.

LANG=""; export LANG
PATH=/bin:/usr/bin:$PATH; export PATH

if sum -r </dev/null >/dev/null 2>&1
then
	sumopt='-r'
else
	sumopt=''
fi

echo mkdir - whatis
mkdir whatis

echo x - whatis/whatis._1_
cat >whatis/whatis._1_ <<'@EOF'
#WHATIS/ST
#
# NOTE: do NOT sort this file!!!
#
# format:
#
#	name%alias(es)%section%subsection%description%xref%keywords
#
#	name		program/routine/etc name
#	alias		if this sources another manpage or refered by another
#			name
#	section		number (1-8)
#	subsection	single letter (cap)
#	description	what this is
#	xref		basically "SEE ALSO"
#	keywords	any descriptive keywords (comma sep list)
#
# `#' is a comment. null field is just `_'.
#
# $Id$
# 
# $Log$
# 
agrep%_%1%_%search a file for a string or regular expression, with approximate matching capabilities%grep(1),egrep(1),fgrep(1),sh(1),ed(1)%regular,expression,regex,parse,string,locate
apply%_%1%_%apply a command to a set of arguments%sh(1),eval(1),env(1)%execute,command
apropos%_%1%_%find pertinent online documentation%man(1),whatis(1),whatisin(1),whereis(1)%manual,documentation,help,info,keyword
areacode%_%1%_%disclose an area code's location%phone(5)%_
atob%btoa%1%_%encode/decode binary to printable ASCII%uuencode(1),compress(1),crypt(1)%ascii,binary,file,network,transfer,portable,standard
awk%gawk%1%_%pattern scanning and processing language%perl(1),sed(1),tcsh(1),sh(1),egrep(1)%pattern,match,file,stream
basename%_%1%_%strip directory and suffix from filenames%dirname(1),tcsh(1)%suffix,extension,path,strip
bc%_%1%_%An arbitrary precision calculator language%calc(1),dc(1)%calculator
bison%_%1%_%GNU Project parser generator (yacc replacement)%lex(1)%parse,parser,code,generate,lexical
btoa,atob,tarmail,untarmail%_%1%_%encode/decode binary to printable ASCII%uuencode(1),uudecode(1),compress(1),crypt(1)%ascii,binary,file,network,transfer,portable,standard
cal%_%1%_%print calendar%date(1)%calendar,date
cat%_%1%_%concatenate files and print on the standard output%rcat(1),tac(1),ul(1)%list,file,blank,lines
checknr%_%1%_%check nroff/troff files%nroff(1),troff(1),neqn(1),ms(7),me(7)%nroff,error,debug
chkc%_%1%_%check C program for unmatched comments and strings%cpp(1),lint(1)%C,debug,preprocess,error
chmod%_%1%_%change the access permissions of files%ls(1)%file,access,mode,read,write
clear%_%1%_%clear terminal screen%stty(1),termcap(5)%term,clear
cmp%_%1%_%compare two files%diff(1)%compare,files,binary
cnm%_%1%_%prints the symbol table of a GEMDOS executable%gnm(1)%symbol,table,executable,TOS,C
col%_%1%_%filter reverse line feeds%nroff(1),tbl(1),colcrt(1)%line,feeds,filter,tbl,eqn,nroff,crt
colcrt%_%1%_%filter nroff output for CRT previewing%nroff(1),col(1),more(1),ul(1)%line,feeds,filter,tbl,eqn,nroff,crt
colrm%_%1%_%remove columns from a file%expand(1),join(1),awk(1)%edit,columns,remove,delete
comm%_%1%_%compare two sorted files line by line%diff(1),uniq(1)%compare,sort,files
compress,uncompress,zcat%_%1%_%compress and expand data%zoo(1),arc(1),lha(1),tar(1)%file,stream,compress,pack
cp%_%1%_%copy files%mv(1),ls(1)%copy,files,recursive
cref%_%1%_%cross reference program%ctags(1)%cross,reference,C,tags
csplit%_%1%_%split a file into sections determined by context lines%split(1),fsplit(1)%split,context,C,file
ctags%_%1%_%create a tags file%ex(1),vi(1)%edit,files,macros,functions,tags
cut%_%1%_%remove sections from each line of files%paste(1),join(1),colrm(1)%edit,columns,remove,delete
cvtbase%_%1%_%convert from one base to another%itoh(1)%base,hex,decimal,octal,convert
date%_%1%_%print or set the system date and time%touch(1)%date,change,list,system
dd%_%1%_%convert a file while copying it%tar(1),cp(1)%copy,convert,file,ascii,ebcdic,block
deroff%_%1%_%remove nroff, troff, tbl and eqn constructs%nroff(1),neqn(1),tbl(1)%text,nroff,tbl,eqn,ascii
df%_%1%_%summarize free disk space%ls(1),du(1)%free,space,disk
diction,explain%_%1%_%print wordy sentences; thesaurus for diction%deroff(1),spell(1),style(1)%writing,style,wordy,grammar
diff%_%1%_%differential file and directory comparator%cmp(1),cc(1),comm(1),ed(1),diff3(1)%compare,files,text
diff3%_%1%_%3-way differential file comparison%diff(1)%compare,files,text
dir%ls%1%_%list contents of directories%stat(1)%directory,list,file
dirname%_%1%_%strip filename suffix from pathname%basename(1)%suffix,extension,path,strip
dmp%_%1%_%display contents of a file%udmp(1),od(1),fdump(1)%binary,file,list,hex,ascii,edit
du%_%1%_%summarize disk usage%ls(1),df(1)%disk,utilization,directory
echo%_%1%_%prints arguments%tcsh(1),sh(1),substr(1),printf(1)%shell,programming,script,environment,variables
ed%_%1%_%text editor%ex(1),sed(1),vi(1),emacs(1)%edit,line
egrep%grep%1%_%print lines matching a regular expression%grep(1),agrep(1),fgrep(1),sh(1),ed(1)%regular,expression,regex,parse,string,locate
elvis,ex,vi,view,input%_%1%_%The editor%ctags(1),ref(1),virec(1)%edit,full,screen,vi,emacs,file
emacs%_%1%_%MicroEMACS for ST (v3.9i)%vi(1),ed(1),sed(1)%edit,full,screen,vi,emacs,file
env%_%1%_%run a program in a modified environment%sh(1),tcsh(1),apply(1)%execute,command,environment
expand%_%1%_%convert tabs to spaces%unexpand(1)%tabs,convert
explain,diction%_%1%_%print wordy sentences; thesaurus for diction%deroff(1),spell(1),style(1)%thesaurus
expr%_%1%_%evaluate expressions%sh(1)%evaluate,expression,shell,programming
false%_%1%_%provide truth value%true(1),yes(1),tcsh(1),sh(1)%shell,program,script
fgrep%_%1%_%search a file for a pattern%grep(1),egrep(1),agrep(1),sh(1),ed(1)%parse,string,locate
file%_%1%_%determine file type%magic(5),stat(1),ls(1)%file,type,magic,number,contents
find%_%1%_%find files%sh(1),test(1),ls(1),fs(5)%search,file,directory,where
fixstk%printstk%1%_%print/reset stack size of an executatble%size68(1),size(1),gversion(1),xstrip(1),malloc(3)%stack,C,program,executable,memory,malloc
fixtar%_%1%_%filter to convert absolute pathnames to relative in tar archives%tar(1),tar(5)%absolute,path,tar,file,fix
fiz%_%1%_%analyze damaged zoo archive for data revovery%zoo(1)%zoo,archive,damaged,error,extract,header
flex%_%1%_%fast lexical analyzer generator%flexdoc(1),yacc(1)%lexical,analyzer,code,generate,parse,parser
flexdoc%_%1%_%fast lexical analyzer generator detailed documentation%flex(1),yacc(1)%lexical,analyzer,code,generate,parse,parser
fold%_%1%_%wrap each input line to fit in specified width%cat(1),stty(1)%wrap,lines
gar%gcc-ar%1%_%object library maintainer%gcc(1),gar(5),tar(1)%library,archive,maintain,object,modules,link,GNU,C
gas%gcc-as%1%_%GNU assembler%gcc(1),gld(1)%assembler,programming,object,modules,link,GNU,C
gawk%_%1%_%pattern scanning and processing language%perl(1),sed(1),tcsh(1),sh(1),egrep(1)%pattern,match,file,stream
gcc%_%1%_%GNU project C Compiler (version 1.36)%gas(1),gld(1),gar(1),gdb(1),gmake(1)%GNU,C,compiler,programming
gld%gcc-ld%1%_%GNU link editor%gcc(1),gas(1),gar(1),gar(5)%GNU,C,link,edit,object,module,library,archive,program
gmake%_%1%_%GNU make utility to maintain groups of programs%gcc(1),gmkmake(1),touch(1)%GNU,program,build,make,compile,date
gmkmake%_%1%_%create a makefile for GNU C from all source files in a directory%gmake(1),gcc(1)%makefile,generate,GNU,C
gnm%gcc-nm%1%_%prints the symbols of a GNU archive or object file.%cnm(1),gcc(1)%_
gprof%_%1%_%program profiling tool%gcc(1),gdb(1)%_
grep,egrep%_%1%_%print lines matching a regular expression%agrep(1),egrep(1),fgrep(1),sh(1),ed(1)%regular,expression,regex,parse,string,locate
gtar%_%1%_%process tape archives%tar(5),cpio(1),dd(1),find(1),fixtar(1)%archive,POSIX,standard,tape,file
gversion%_%1%_%set/display version numbers%a.out(5)%_
head%_%1%_%output the first part of files%tail(1),cat(1)%_
id%_%1%_%print real and effective UIDs and GIDs%chown(1)%_
install%_%1%_%copy files and set their attributes%gmake(1),chmod(1),chown(1),chgrp(1),gversion(1)%_
join%_%1%_%join lines of two files on a common field%cut(1),paste(1)%_
kill%_%1%_%send a signal to one or more processes%signal(3),nice(1)%_
less%_%1%_%opposite of more%lesskey(1),more(1),cat(1),man(1)%pager,list,file,more
lesskey%_%1%_%specify key bindings for less%less(1)%map,keys,pager
lex%flex%1%_%fast lexical analyzer generator%flexdoc(1),yacc(1)%lexical,analyzer,code,generate,parse,parser
lha%_%1%_%LHarc for Unix%zoo(1),arc(1)%_
lim%_%1%_%run a program, restricting its resources%tcsh(1),rg(1),nice(1)%_
ln%_%1%_%make links between files%ls(1),link(2)%_
logname%_%1%_%print user's login name%id(1),chown(1)%_
look%_%1%_%find lines in a sorted list%sort(1),grep(1),words(5)%_
lpr%_%1%_%line printer%lpd(8)%_
ls,dir,vdir%_%1%_%list contents of directories%stat(1)%directory,list,file
m4%_%1%_%macro processor%ratfor(1)%_
make%gmake%1%_%GNU make utility to maintain groups of programs%gcc(1),gmkmake(1)%_
man%_%1%_%read online documentation%apropos(1),cat(1),less(1),manpager(1),nroff(1),whatis(1),whatisin(1),whereis(1),man(7)%manpage,documentation,help,info
manpager%_%1%_%a pager for man which handles font changes%less(1),more(1),man(1),nroff(1)%pager,manpages,help
mintvers%_%1%_%print the MiNT version number%init(8),mint(8)%_
mkdir%_%1%_%make directories%rmdir(1),rm(1),tcsh(1),ls(1)%_
mkproto%_%1%_%make prototypes for functions (obsolete)%gcc(1),lint(1)%_
mkptypes%_%1%_%make prototypes for functions%gcc(1),lint(1),mkproto(1)%_
mkstr%_%1%_%create an error message file by massaging C source%lseek(2)%_
more,page%_%1%_%file perusal filter for CRT viewing%csh(1),man(1),msgs(1),script(1),sh(1),environ(7),less(1),cat(1)%pager,list,file
mv%_%1%_%rename files%cp(1)%_
nice%_%1%_%run a program with a different priority%renice(1),kill(1)%_
nrchbar%_%1%_%insert n/troff-style change bars in a file%nroff(1),troff(1)%_
nrfilt%_%1%_%filter for nroff to remove escape sequences from files%nroff(1),ul(1),tr(1)%_
od%_%1%_%octal, decimal, hex, ascii dump%dmp(1),gdb(1)%_
paste%_%1%_%merge lines of files%cut(1)%_
pathchk%_%1%_%check whether pathnames are valid or portable%ls(1),open(2),access(3)%_
pr%_%1%_%convert text files for printing%cat(1),lpr(1)%_
pr2%_%1%_%a simple text formatter similar to `pr'%pr(1)%_
printenv%_%1%_%print all or part of environment%env(1),tcsh(1),sh(1)%_
printf%_%1%_%format and print data%echo(1),substr(1)%shell,programming,script,printf,format
printstk,fixstk%_%1%_%print/reset stack size of an executatble%size68(1),size(1),gversion(1),xstrip(1),malloc(3)%stack,C,program,executable,memory,malloc
ps%_%1%_%print process status information%top(1),kill(1),nice(1)%_
pwd%_%1%_%working directory name%cd(1),tcsh(1),getwd(3)%_
ratfor%_%1%_%ratfor preprocessor%m4(1),f2c(1)%_
rcat%_%1%_%reverse the order of a file%cat(1),tac(1)%_
rdir%_%1%_%read a directory stream%ls(1)%_
rename%_%1%_%change the names of a set of files%mv(1)%_
renice%_%1%_%change priority of a running process%nice(1),limit(1),sh(1),tcsh(1)%_
rev%_%1%_%reverse lines of a file%cat(1),tac(1)%_
rg%_%1%_%run GEM program%gem(8)%_
rm%_%1%_%remove files%cp(1),rmdir(1),mv(1)%_
rmdir%_%1%_%remove empty directories%mkdir(1),rm(1)%_
sed%_%1%_%stream editor (non-interactive text editor)%ed(1),grep(1),awk(1),lex(1)%_
sh,ash%_%1%_%a shell (Bourne)%tcsh(1),echo(1),expr(1),line(1),pwd(1),true(1)%_
sleep%_%1%_%delay for a specified amount of time%tcsh(1),sh(1),sleep(3)%_
soelim%_%1%_%eliminate .so's from nroff input%colcrt(1),more(1)%_
sort%_%1%_%sort lines of text files%comm(1),qsort(3)%_
spell,spellin,spellout%_%1%_%find spelling errors%deroff(1),sort(1),tee(1),sed(1)%_
split%_%1%_%split a file into pieces%csplit(1)%_
stat%_%1%_%print file status information%ls(1),find(1),printf(3S)%_
strings%_%1%_%find the printable strings in a object or other binary file%od(1),dmp(1)%_
stty%_%1%_%set terminal state%fcntl(2M),tty(4)%_
style %_%1%_% analyze surface characteristics of a document%deroff(1),diction(1),spell(1)%_
substr%_%1%_%extract a substring from the input arguments%echo(1)%shell,programming,script,printf,format,environment,variables
sum%_%1%_%sum and count blocks in a file%wc(1)%_
sym-ld%_%1%_%creates the symbol file needed with gdb%gld(1),gdb(1)%_
tabs%_%1%_%set terminal tabs%stty(1),term(7),tset(1)%_
tac%_%1%_%concatenate and print files in reverse%cat(1),rcat(1)%_
tail%_%1%_%output the last part of files%head(1)%_
tar%gtar%1%_%process tape archives%tar(5),cpio(1),dd(1),find(1),fixtar(1)%archive,POSIX,standard,tape,file
tee%_%1%_%read from standard input and write to standard output and files%tcsh(1),sh(1),tpipe(1)%_
test%_%1%_%check file types and compare values%sh(1)%_
testx%_%1%_%test a logical condition%sh(1)%_
time%_%1%_%time a command%tcsh(1)sh(1)%_
toglclr%_%1%_%toggles flag to clear above BSS to end of TPA flag for the GEMDOS loader (TOS 1.4 and above)%fixstk(1),a.out(5)%_
top%_%1%_%repeatedly display system status%ps(1)%_
touch%_%1%_%change file timestamps%gmake(1)%_
tpipe%_%1%_%replicate the standard output into an additional pipeline%tee(1),sh(1),cat(1)%_
tr%_%1%_%translate characters%sed(1),ed(1),ascii(7),expand(1)%_
true%_%1%_%provide truth value%false(1),yes(1),tcsh(1),sh(1)%shell,program,script
tty%_%1%_%get terminal name%logname(1),stty(1)%_
udmp%_%1%_%crude binary editor/convertor%dmp(1),od(1)%_
ul%_%1%_%do underlining%man(1),nroff(1),colcrt(1)%_
uncompress%compress%1%_%compress and expand data%zoo(1),arc(1),lha(1),tar(1)%file,stream,compress,pack
unexpand%_%1%_%convert spaces to tabs%expand(1)%_
uniq%_%1%_%remove duplicate lines from a sorted file%sort(1),cat(1)%_
units%_%1%_%conversion program%_%_
uudecode%uuencode%1%_%encode/decode a binary file for transmission via mail%btoa(1),compress(1)%ascii,binary,file,network,transfer,portable,standard
uuencode,uudecode%_%1%_%encode/decode a binary file for transmission via mail%btoa(1),compress(1),uuencode(5)%ascii,binary,file,network,transfer,portable,standard
vdir%ls%1%_%list contents of directories%stat(1)%directory,list,file
wc%_%1%_%print the number of bytes, words, and lines in files%sum(1)%_
what%_%1%_%show what versions of object modules were used to construct a file%gversion(1),RCS(1),SCCS(1)%_
whatis%_%1%_%show description of word%apropos(1),man(1),whatisin(1),whereis(1)%manual,documentation,help,info
whatisin%_%1%_%show contents of online documentation section%apropos(1),man(1),whatis(1),whereis(1)%manual,documentation,help,info,section
which%_%1%_%give alias, function or path expansion of command%tcsh(1),find(1)%_
whoami%_%1%_%print effective userid%logname(1)%_
xkey%_%1%_%re-program function and cursor keys%stty(1)%_
xstr%_%1%_%extract strings from C programs to implement shared strings%mkstr(1)%_
yacc%bison%1%_%GNU Project parser generator (yacc replacement)%lex(1)%parse,parser,code,generate,lexical
yes%_%1%_%output a string repeatedly until killed%false(1),true(1),tcsh(1),sh(1)%shell,program,script
zcat%compress%1%_%compress and expand data%zoo(1),arc(1),lha(1),tar(1)%file,stream,compress,pack
zoo%_%1%_%manipulate archives of files in compressed form%compress(1),fiz(1)%_
#
# the end...
@EOF
set `sum $sumopt <whatis/whatis._1_`; if test $1 -ne 16383
then
	echo ERROR: whatis/whatis._1_ checksum is $1 should be 16383
fi

chmod 644 whatis/whatis._1_

echo x - whatis/whatis._2_
sed 's/^@//' >whatis/whatis._2_ <<'@EOF'
#WHATIS/ST
#
# NOTE: do NOT sort this file!!!
#
# format:
#
#	name%alias(es)%section%subsection%description%xref%keywords
#
#	name		program/routine/etc name
#	alias		if this sources another manpage or refered by another
#			name
#	section		number (1-8)
#	subsection	single letter (cap)
#	description	what this is
#	xref		basically "SEE ALSO"
#	keywords	any descriptive keywords (comma sep list)
#
# `#' is a comment. null field us just `_'
#
# $Id$
# 
# $Log$
# 
Blitmode%_%2%X%get/set blitter configuration (xbios 0x40)%_%_
Cauxin%_%2%G%read character from AUX: (gemdos 0x03)%_%_
Cauxis%_%2%G%check input status of AUX: (gemdos 0x12)%_%_
Cauxos%_%2%G%check output status of AUX: (gemdos 0x13)%_%_
Cauxout%_%2%G%write character to AUX: (gemdos 0x04)%_%_
Cconin%_%2%G%read character from standard input (gemdos 0x01)%_%_
Cconis%_%2%G%check status of standard input (gemdos 0x0B)%_%_
Cconos%_%2%G%check status of standard output (gemdos 0x10)%_%_
Cconout%_%2%G%write character to standard output (gemdos 0x02)%_%_
Cconrs%_%2%G%read edited string from standard input (gemdos 0x0A)%_%_
Cconws%_%2%G%write string to standard output (gemdos 0x09)%_%_
Cnecin%_%2%G%read character from standard input, no echo (gemdos 0x08)%_%_
Cprnos%_%2%G%check status of PRN: (gemdos 0x11)%_%_
Cprnout%_%2%G%write character to PRN: (gemdos 0x05)%_%_
Crawcin%_%2%G%raw input from standard input (gemdos 0x07)%_%_
Crawio%_%2%G%raw i/o to standard input/output (gemdos 0x02)%_%_
Dclosedir%_%2%M%close a directory%Dopendir(2M),Dreaddir(2M)%_
Dcntl%_%2%M%perform a file system specific operation on a file or directory%Bconmap(2M),Fcntl(2M)%_
Dcreate%_%2%G%create directory (gemdos 0x39)%_%_
Ddelete%_%2%G%delete directory (gemdos 0x3a)%_%_
Dfree%_%2%G%get drive free space (gemdos 0x36)%_%_
Dgetdrv%_%2%G%get default drive (gemdos 0x19)%_%_
Dgetpath%_%2%G%get current directory (gemdos 0x47)%_%_
Dlock%_%2%M%lock or unlock a BIOS disk device%Fxattr(2M)%_
Dopendir%_%2%M%open a directory for reading%Dclosedir(2M),Dreaddir(2M),Drewinddir(2M)%_
Dpathconf%_%2%M%get information about file system configuration%Sysconf(2M)%_
Dreaddir%_%2%M%read directory information%Dclosedir(2M),Dopendir(2M),Drewinddir(2M)%_
Drewinddir%_%2%M%rewind an open directory%Dopendir(2M),Dreaddir(2M)%_
Dsetdrv%_%2%G%set default drive (gemdos 0x0e)%_%_
Dsetpath%_%2%G%set current directory (gemdos 0x3b)%_%_
Fattrib%_%2%G%get/set file attributes (gemdos 0x43)%_%_
Fchmod%_%2%M%set file access permissions%Fattrib(2M),Fxattr(2M)%_
Fchown%_%2%M%change a file's ownership%Fchmod(2M),Fxattr(2M)%_
Fclose%_%2%G%close file (gemdos 0x3e)%_%_
Fcntl%_%2%M%perform various control operations on a file%Fdup(2M),Flock(2M),Fopen(2M),Fxattr(2M),Pgetpgrp(2M),Psetpgrp(2M)%_
Fcreate%_%2%G%create file (gemdos 0x3c)%_%_
Fdatime%_%2%G%get/set file timestamp (gemdos 0x57)%_%_
Fdelete%_%2%G%delete file (gemdos 0x41)%_%_
Fdup%_%2%G%duplicate file handle (gemdos 0x45)%_%_
Fforce%_%2%G%force file handle (gemdos 0x46)%_%_
Fgetchar%_%2%M%read a character from a file%Bconin(2M),Cconin(2M),Cauxin(2M),Fputchar(2M),Fread(2M)%_
Fgetdta%_%2%G%get DTA (Disk Transfer Address) (gemdos 0x2F)%_%_
Finstat%_%2%M%determine input status for a file%Cauxis(2M),Cconis(2M),Fcntl(2M),Foutstat(2M)%_
Flink%_%2%M%create a new link to a file%Frename(2M),Fsymlink(2M)%_
Fmidipipe%_%2%M%redirect MIDI input and output%Fdup(2M),Fforce(2M)%_
Fopen%_%2%G%open file (gemdos 0x3d)%_%_
Foutstat%_%2%M%determine output status for a file%Cauxos(2M),Cconos(2M),Cprnos(2M),Fcntl(2M),Finstat(2M)%_
Fpipe%_%2%M%create a pipe%_%_
Fputchar%_%2%M%read a character from a file%Bconout(2M),Cauxout(2M),Cconout(2M),Crawio(2M),Fgetchar(2M),Fwrite(2M)%_
Fread%_%2%G%read from file (gemdos 0x3f)%_%_
Freadlink%_%2%M%determine contents of a symbolic link%Fsymlink(2M)%_
Frename%_%2%G%rename file (gemdos 0x56)%_%_
Fseek%_%2%G%seek file pointer (gemdos 0x42)%_%_
Fselect%_%2%M%select file descriptors that are ready for reading or writing%Finstat(2M),Foutstat(2M)%_
Fsetdta%_%2%G%set DTA (Disk Transfer Address) (gemdos 0x1A)%_%_
Fsfirst%_%2%G%search first (gemdos 0x4e)%_%_
Fsnext%_%2%G%search next (gemdos 0x4f)%_%_
Fsymlink%_%2%M%create a symbolic link to a file%Flink(2M),Freadlink(2M),Frename(2M)%_
Fwrite%_%2%G%write to file (gemdos 0x40)%_%_
Fxattr%_%2%M%get extended attributes for a file%Fattrib(2M),Fsnext(2M)%_
Malloc%_%2%G%allocate memory (gemdos 0x48)%_%_
Mfree%_%2%G%release memory (gemdos 0x49)%_%_
MiNT%_%2%M%MiNT is Not TOS: A Multitasking Operating System Extension for the Atari ST%_%_
Mshrink%_%2%G%shrink size of allocated block (gemdos 0x4A)%_%_
Pause%_%2%M%suspend process until a signal is received%Psigblock(2M),Psignal(2M),Psigsetmask(2M)%_
Pdomain%_%2%M%get or set process execution domain%_%_
Pexec%_%2%G%load/execute process (gemdos 0x4b)%_%_
Pfork%_%2%M%create a copy of the current process%Pexec(2M),Pvfork(2M)%_
Pgetgid%Pgetuid%2%M%get the current user or group id%Psetuid(2M)%_
Pgetpgrp%_%2%M%get the current process group number%Pkill(2M),Pgetpid(2M),Psetpgrp(2M)%_
Pgetpid%_%2%M%get the current process id%Pgetpgrp(2M),Pgetppid(2M)%_
Pgetppid%_%2%M%get the process id for the parent of the current process%Pgetpgrp(2M),Pgetpid(2M)%_
Pgetuid,Pgetgid%_%2%M%get the current user or group id%Psetuid(2M)%_
Pkill%_%2%M%send a signal to a process%Psetpgrp(2M),Psignal(2M)%_
Pmsg%_%2%M%send and receive brief messages%_%_
Pnice%_%2%M%change process priority for the current process%Prenice(2M)%_
Prenice%_%2%M%change process priority%Pnice(2M)%_
Prusage%_%2%M%get resource usage information%Psetlimit(2M)%_
Psemaphore%_%2%M%create/use/destroy a sempahore%_%_
Psetgid%Psetuid%2%M%change a process' user or group id%Pgetuid(2M)%_
Psetlimit%_%2%M%get or set limits on use of system resources%Prusage(2M)%_
Psetpgrp%_%2%M%set the process group number for a process%Pkill(2M),Pgetpgrp(2M),Pgetpid(2M)%_
Psetuid,Psetgid%_%2%M%change a process' user or group id%Pgetuid(2M)%_
Psigblock,Psigsetmask%_%2%M%block or unblock delivery of signals%Pkill(2M),Psignal(2M),Psigpending(2M)%_
Psignal%_%2%M%change the way a signal is handled%Pkill(2M),Psigblock(2M),Psigreturn(2M)%_
Psigpending%_%2%M%determine which signals have been sent but not delivered%Psigblock(2M),Psignal(2M),Psigsetmask(2M)%_
Psigreturn%_%2%M%exit from a signal handler%Psignal(2M)%_
Psigsetmask%Psigblock%2%M%block or unblock delivery of signals%Pkill(2M),Psignal(2M),Psigpending(2M)%_
Pterm%_%2%G%terminate process (gemdos 0x4c)%_%_
Pterm0%_%2%G%terminate process (gemdos 0x00)%_%_
Ptermres%_%2%G%terminate and stay resident (gemdos 0x31)%_%_
Pumask%_%2%M%set file and directory creation mask%Dcreate(2M),Fchmod(2M),Fcreate(2M)%_
Pusrval%_%2%M%get or set process specific information%_%_
Pvfork%_%2%M%create a copy of the current process%Pexec(2M),Pfork(2M)%_
Pwait%Pwait3%2%M%get exit status of children%Pexec(2M),Pterm(2M),Pterm0(2M),Ptermres(2M)%_
Pwait,Pwait3%_%2%M%get exit status of children%Pexec(2M),Pterm(2M),Pterm0(2M),Ptermres(2M)%_
Super%_%2%G%get/set/inquire supervisor mode (gemdos 0x20)%_%_
Sversion%_%2%G%get GEMDOS version number (gemdos 0x30)%_%_
Syield%_%2%M%give up the processor%Pause(2M),Fselect(2M)%_
Sysconf%_%2%M%get information about operating system configuration%Dpathconf(2M)%_
Talarm%_%2%M%schedule an alarm to occur%Pause(2M),Psignal(2M)%_
Tgetdate%_%2%G%get date (gemdos 0x2a)%_%_
Tgettime%_%2%G%get time (gemdos 0x2c)%_%_
Tsetdate%_%2%G%set date (gemdos 0x2b)%_%_
Tsettime%_%2%G%set time (gemdos 0x2d)%_%_

_exit%_%2%_%terminate a process%_%_
access%_%2%_%determine accessibility of a file%_%_
argv.o%_%2%_%replacement for gemlib _main%_%_
brk%_%2%_%change data segment size%_%_
chdir%_%2%_%change current working directory%_%_
chmod%_%2%_%change file access modes%_%_
chown%_%2%_%change owner and group of a file%_%_
chroot%_%2%_%change root directory name%_%_
close%_%2%_%close a descriptor (file)%_%_
creat%_%2%_%create a new file%_%_
crt0%_%2%_%startup code for Alcyon (GEM application and TOS)%_%_
dup%_%2%_%duplicate a descriptor%_%_
gemdos%_%2%G%atari operating system calls%_%_
intro%_%2%_%introduction to system calls and error numbers%_%_
ioctl%_%2%_%control device%_%_
lseek%_%2%_%move read/write pointer%_%_
mkdir%_%2%_%create a directory%_%_
open%_%2%_%open a file for read/write, or create new file%_%_
read%_%2%_%read input%_%_
rename%_%2%_%change the name of a file%_%_
rmdir%_%2%_%remove a directory%_%_
stat%_%2%_%get file status%_%_
tell%_%2%_%determine current position in a file%_%_
truncate%_%2%_%truncate a file to the specified length%_%_
unlink%_%2%_%remove a directory entry (file)%_%_
write%_%2%_%write on a file%_%_
#
# the end...
@EOF
set `sum $sumopt <whatis/whatis._2_`; if test $1 -ne 34090
then
	echo ERROR: whatis/whatis._2_ checksum is $1 should be 34090
fi

chmod 644 whatis/whatis._2_

echo x - whatis/whatis._4_
cat >whatis/whatis._4_ <<'@EOF'
#WHATIS/ST
#
# NOTE: do NOT sort this file!!!
#
# format:
#
#	name%alias(es)%section%subsection%description%xref%keywords
#
#	name		program/routine/etc name
#	alias		if this sources another manpage or refered by another
#			name
#	section		number (1-8)
#	subsection	single letter (cap)
#	description	what this is
#	xref		basically "SEE ALSO"
#	keywords	any descriptive keywords (comma sep list)
#
# `#' is a comment. null field us just `_'
#
# $Id$
# 
# $Log$
# 
appi%_%4%_%the Atari Page Printer Interface%_%_
auto%_%4%_%all you need to know about the auto folder%ramdisk(8),loadram(1),rdir(1),gemboot(8),ahdi(8)%_
blitter%_%4%_%Bit-Block Transfer Processor (BLiTTER)%_%_
bombs%_%4%_%GEMDOS error codes and exceptions%_%_
disk%_%4%_%interfacing to 1772 (floppy) through DMA channel%_%_
dma%_%4%_%interfacing to 1772 through DMA channel%_%_
fat%_%4%_%ST disk directory format%_%_
fdrives%_%4%_%ST floppy drive mechanisms%_%_
hardware%_%4%_%hardware specification of the Atari ST%_%_
hdrives%_%4%_%list of commonly available hard disks and controllers%_%_
ikbd%_%4%_%intelligent keyboard documantation%_%_
intro%_%4%_%introduction to special files and hardware support%_%_
mega%_%4%_%Mega ST series internal expansion bus documentation%_%_
megafile%_%4%_%specifications for Atari MEGAFILE hard disks%_%_
memory%_%4%_%memory map of the Atari ST%_%_
mfpint%_%4%_%MFP interupts%_%_
sh204%_%4%_%specifications for Atari SH204 hard disk%_%_
sound%_%4%_%sound on the Atari ST%_%_
vector%_%4%_%A Programmer's Eleven Commandments for Coexistent Vector Stealing%_%_
#
# the end...
@EOF
set `sum $sumopt <whatis/whatis._4_`; if test $1 -ne 52074
then
	echo ERROR: whatis/whatis._4_ checksum is $1 should be 52074
fi

chmod 644 whatis/whatis._4_

echo x - whatis/whatis._5_
cat >whatis/whatis._5_ <<'@EOF'
#WHATIS/ST
#
# NOTE: do NOT sort this file!!!
#
# format:
#
#	name%alias(es)%section%subsection%description%xref%keywords
#
#	name		program/routine/etc name
#	alias		if this sources another manpage or refered by another
#			name
#	section		number (1-8)
#	subsection	single letter (cap)
#	description	what this is
#	xref		basically "SEE ALSO"
#	keywords	any descriptive keywords (comma sep list)
#
# `#' is a comment. null field is just `_'
#
# $Id$
# 
# $Log$
# 
magic%_%5%_%data base of magic number checks used by the file(1) utility%file(1)%file,contents,magic,number
unixmode%_%5%_%Extended Filename Standard%tcsh(1),sh(1)%TOS,MiNT,file,glob,links,shell,standard
uuencode%_%5%_%format of an encoded uuencode file%uuencode(1),btoa(1)%ascii,binary,file,network,transfer,portable,standard
whatis%_%5%_%format of whatis(1) database%whatis(1),apropos(1),whatisin(1),mkwhatis(8)%manual,documentation,help,info,file,format
#
# the end...
@EOF
set `sum $sumopt <whatis/whatis._5_`; if test $1 -ne 45770
then
	echo ERROR: whatis/whatis._5_ checksum is $1 should be 45770
fi

chmod 644 whatis/whatis._5_

echo x - whatis/whatis._7_
cat >whatis/whatis._7_ <<'@EOF'
#WHATIS/ST
#
# NOTE: do NOT sort this file!!!
#
# format:
#
#	name%alias(es)%section%subsection%description%xref%keywords
#
#	name		program/routine/etc name
#	alias		if this sources another manpage or refered by another
#			name
#	section		number (1-8)
#	subsection	single letter (cap)
#	description	what this is
#	xref		basically "SEE ALSO"
#	keywords	any descriptive keywords (comma sep list)
#
# `#' is a comment. null field is just `_'
#
# $Id$
# 
# $Log$
# 
ascii%_%7%_%map of ASCII character set%_%ASCII,characters
hier%_%7%_%file system hierarchy%ls(1),whatis(1),whereis(1),which(1),find(1),grep(1)%file,directory,structure,filesystem,hierarchy,unix
intro%_%7%_%miscellaneous useful information pages%_%miscellaneous,introduction,help
man%_%7%_%nroff macro package for manual pages%nroff(1),man(1),manpager(1)%manual,formatting,macros
ms%_%7%_%text formatting macros%nroff(1),man(7)%text,formatting,macros
#
# the end...
@EOF
set `sum $sumopt <whatis/whatis._7_`; if test $1 -ne 34868
then
	echo ERROR: whatis/whatis._7_ checksum is $1 should be 34868
fi

chmod 644 whatis/whatis._7_

echo x - whatis/whatis._8_
cat >whatis/whatis._8_ <<'@EOF'
#WHATIS/ST
#
# NOTE: do NOT sort this file!!!
#
# format:
#
#	name%alias(es)%section%subsection%description%xref%keywords
#
#	name		program/routine/etc name
#	alias		if this sources another manpage or refered by another
#			name
#	section		number (1-8)
#	subsection	single letter (cap)
#	description	what this is
#	xref		basically "SEE ALSO"
#	keywords	any descriptive keywords (comma sep list)
#
# `#' is a comment. null field is just `_'
#
# $Id$
# 
# $Log$
# 
lpd%_%8%_%line printer daemon%lpr(1)%daemon,printer,print,spool,MiNT
mkwhatis%_%8%_%tool for making entries in whatis(1) databases%man(1),whatis(1),whatisin(1),apropos(1),whatis(5)%manual,documentation,help,info,format,tool
#
# the end...
@EOF
set `sum $sumopt <whatis/whatis._8_`; if test $1 -ne 61569
then
	echo ERROR: whatis/whatis._8_ checksum is $1 should be 61569
fi

chmod 644 whatis/whatis._8_

echo x - whatis/whatisin.___
cat >whatis/whatisin.___ <<'@EOF'
# data file for whatisin(1)
#
# conforms to unix conventions (more or less).
# lines starting with '#' are comments.
# lines containing section number must have the section number in first col.
#
# $Id$
#
# $Log$
#
	***************************
	***   Whatisin whatis   ***
	***************************
0	General Information
1	Commands and Applications
2	System Calls
3	Library Calls (C, math, graphics, etc.)
4	Hardware, Device Drivers, and Special Files
5	File Formats
6	Games
7	Miscellaneous
8	Administration Commands
9	Unused Section
l	Local Commands
n	New Commands
o	Old Commands
	******************************************************************
	***   Use col. 1 as an arg to whatisin for detailed contents   ***
	******************************************************************
@EOF
set `sum $sumopt <whatis/whatisin.___`; if test $1 -ne 51736
then
	echo ERROR: whatis/whatisin.___ checksum is $1 should be 51736
fi

chmod 644 whatis/whatisin.___

chmod 755 whatis

exit 0

-- 
Bill Rosenkranz            |UUCP: {uunet,texsun}!convex!rosenkra
Convex Computer Corp.      |ARPA: rosenkra AT convex DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019