update venti man pages and the man mkfile to clean up warnings. also drag along change to complete man page Reference: /n/atom/patch/applied2013/ventiman Date: Wed Jun 26 05:03:35 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/man/mkfile Wed Jun 26 05:02:46 2013 +++ /sys/man/mkfile Wed Jun 26 05:02:47 2013 @@ -5,7 +5,7 @@ default:V: check indices:V: - for (i in [0-9]*){ + for (i in [0-9] [1-9][0-9]){ $LIB/secindex $i > $i/INDEX $LIB/mkhtmlindex $i > $i/INDEX.html } @@ -18,14 +18,13 @@ echo .am TH echo .tm '\\$1' '\\$2' '\\n%' echo .. - for (i in [0-9]*){ + for (i in [1-9][0-9]){ builtin cd $i - # for(i in /sys/man/[0-9]*/[0-9a-z]*)doctype $i | grep '^(pic|grap|tbl|eqn) ' for(j in [a-z0-9]*) switch($i/$j){ case 1/tbl tbl $j - case 1/eqn 2/encode 3/usb 8/iops + case 1/eqn 3/realtime 6/auth eqn $j case 1/pic pic $j @@ -42,18 +41,18 @@ mk out > /dev/null >[2] /dev/null old-check:V: checksource - awk -f $LIB/checkman.awk [0-9]*/* | sed '/\/(cda|av|midi|pub|weather|service\.9net|isdn)(\/|\))/d' + awk -f $LIB/checkman.awk [0-9]/* [1-9][0-9]/* | sed '/\/(cda|av|midi|pub|weather|service\.9net|isdn)(\/|\))/d' punccheck: - grep -n '^\.[IB][^PRIB].+[.;,:]$' [0-9]*/* | grep -v '\.\.\.' + grep -n '^\.[IB][^PRIB].+[.;,:]$' [0-9]/* [1-9][0-9]/* | grep -v '\.\.\.' check:V: indices checksource - awk -f $LIB/checkman.awk [0-9]*/* + awk -f $LIB/checkman.awk [0-9]/* [1-9][0-9]/* checksource:QV: sam -d >[2]/dev/null <<'!' f input - < cat [0-9]*/[0-9a-z]* + < cat [0-9]/[0-9a-z]* [1-9][0-9]/* B output b input ,x/^\.SH SOURCE/ .,/^\.SH/ x g/^\.B/t "output @@ -81,7 +80,7 @@ {echo -n $FONTS; cat $LIB/preface} | troff -ms {echo -n $FONTS; echo ' '} | troff { - for (i in [0-9]*){ + for (i in [0-9] [1-9][0-9]){ builtin cd $i for(j in [a-z0-9]*) switch($i/$j){ --- /sys/man/2/venti-conn Wed Jun 26 05:02:48 2013 +++ /sys/man/2/venti-conn Wed Jun 26 05:02:48 2013 @@ -1,7 +1,7 @@ .TH VENTI-CONN 2 .SH NAME VtConn, vtconn, vtdial, vtfreeconn, vtsend, vtrecv, vtversion, -vtdebug, vthangup \- Venti network connections +vtdebug, vthangup, vtsendproc, vtrecvproc \- Venti network connections .SH SYNOPSIS .PP .ft L --- /sys/man/2/venti-client Wed Jun 26 05:02:49 2013 +++ /sys/man/2/venti-client Wed Jun 26 05:02:50 2013 @@ -1,6 +1,6 @@ .TH VENTI-CLIENT 2 .SH NAME -vtconnect, vthello, vtread, vtwrite, vtreadpacket, vtwritepacket, vtsync, vtping, vtrpc, ventidoublechecksha1 \- Venti client +vtconnect, vthello, vtread, vtwrite, vtreadpacket, vtwritepacket, vtsync, vtping, vtgoodbye, vtrpc, ventidoublechecksha1 \- Venti client .SH SYNOPSIS .ft L #include @@ -50,6 +50,9 @@ int vtping(VtConn *z) .PP .B +int vtgoodbye(VtConn *z) +.PP +.B extern int ventidoublechecksha1; /* default 1 */ .SH DESCRIPTION These routines execute the client side of the @@ -141,6 +144,9 @@ .PP .I Vtping executes a ping transaction with the server. +.PP +.I Vtgoodbye +closes the connection. .PP By default, .I vtread --- /sys/man/2/complete Wed Jun 26 05:02:50 2013 +++ /sys/man/2/complete Wed Jun 26 05:02:51 2013 @@ -1,6 +1,6 @@ .TH COMPLETE 2 .SH NAME -complete \- file name completion +complete, freecompletion \- file name completion .SH SYNOPSIS .B #include .br --- /sys/man/2/venti-log Wed Jun 26 05:02:52 2013 +++ /sys/man/2/venti-log Wed Jun 26 05:02:52 2013 @@ -8,6 +8,7 @@ vtlognames, vtlogopen, vtlogprint, +vtlogvprint, vtlogremove, vtlogopen, ventilogging \- Venti logs @@ -27,6 +28,9 @@ void vtlogprint(VtLog *log, char *fmt, ...); .PP .B +void vtlogvprint(VtLog *log, va_list arg); +.PP +.B void vtlogclose(VtLog *log); .PP .B @@ -68,7 +72,9 @@ .IR vtlogopen . .PP .I Vtlogprint -writes to +and +.I vtlogvprint +write to .IR log , which must be open. .PP --- /sys/man/2/memdraw Wed Jun 26 05:02:53 2013 +++ /sys/man/2/memdraw Wed Jun 26 05:02:54 2013 @@ -9,6 +9,7 @@ memimagemove, allocmemimage, allocmemimaged, +memdrawallocinit, readmemimage, creadmemimage, writememimage, @@ -103,6 +104,7 @@ .nf Memimage* allocmemimage(Rectangle r, ulong chan) Memimage* allocmemimaged(Rectangle r, ulong chan, Memdata *data) +Memimage* memdrawallocinit(void) Memimage* readmemimage(int fd) Memimage* creadmemimage(int fd) int writememimage(int fd, Memimage *i) @@ -230,11 +232,13 @@ points back at the .B Memdata structure, so that the -memory allocator (see +memory allocator (such as .IR pool (2)) can compact image memory using .IR memimagemove . +The allocator is initialized with +.IR memdrawallocinit . .PP Because images can have different coordinate systems, the --- /sys/man/1/INDEX Wed Jun 26 05:02:55 2013 +++ /sys/man/1/INDEX Wed Jun 26 05:02:55 2013 @@ -115,7 +115,8 @@ doctype doctype docx2troff docx2troff docx2txt docx2troff -word2troff word2txt docx2troff +word2troff docx2troff +word2txt docx2troff du du echo echo ecp ecp @@ -190,6 +191,7 @@ tga jpg togif jpg toico jpg +tojpg jpg topng jpg toppm jpg towbmp jpg @@ -234,7 +236,6 @@ nedmail nedmail netstat netstat news news -nl nl nm nm ns ns p p @@ -247,6 +248,7 @@ tpic pic pipefile pipefile plot plot +Local plumb plumb plumb pr pr kprof prof @@ -291,6 +293,7 @@ block rune case rune compose rune +decompose rune fold rune rune rune type rune @@ -380,8 +383,10 @@ who who whois who winwatch winwatch +wire wire xb xb xd xd +xdepth xdepth excel2txt xlsx2txt xlsx2txt xlsx2txt yacc yacc --- /sys/man/1/INDEX.html Wed Jun 26 05:02:57 2013 +++ /sys/man/1/INDEX.html Wed Jun 26 05:02:58 2013 @@ -192,7 +192,7 @@
docx2troff - translate Microsoft™ Office™ documents -
docx2troff, docx2txt, word2troff word2txt +
docx2troff, docx2txt, word2troff, word2txt
du - disk usage @@ -328,7 +328,7 @@
jpg - view and convert pictures -
jpg, gif, png, ppm, bmp, v210, tga, wbmp, yuv, ico, togif, toppm, topng, toico, towbmp +
jpg, gif, png, ppm, bmp, v210, tga, wbmp, yuv, ico, togif, tojpg, toppm, topng, toico, towbmp
kbmap - show a list of available keyboard maps and switch between them. @@ -434,10 +434,6 @@ - print news items
news -
nl -- number lines -
nl -
nm - name list (symbol table)
nm @@ -480,7 +476,7 @@
plumb - send message to plumber -
plumb +
plumb, Local
pr - print file @@ -544,7 +540,7 @@
rune - rune transformations -
block, case, compose, fold, type, uconv, unfold +
block, case, compose, decompose, fold, type, uconv, unfold
rwd - maintain remote working directory @@ -750,6 +746,10 @@ - monitor rio windows
winwatch +
wire +- wire processes to processors +
wire +
xb - XML beautifier
xb @@ -757,6 +757,10 @@
xd - hex, octal, decimal, or ASCII dump
xd + +
xdepth +- convert stdin to arguments +
xdepth
xlsx2txt - translate OpenML Microsoft Excel™ documents --- /sys/man/2/INDEX Wed Jun 26 05:03:00 2013 +++ /sys/man/2/INDEX Wed Jun 26 05:03:01 2013 @@ -272,6 +272,7 @@ color color rgb2cmap color complete complete +freecompletion complete Control control Controlset control activate control @@ -928,6 +929,7 @@ loadmemimage memdraw memarc memdraw memdraw memdraw +memdrawallocinit memdraw memellipse memdraw memfillcolor memdraw memfillpoly memdraw @@ -1250,6 +1252,7 @@ utfutf rune runeclass runeclass runecompose runeclass +runedecompose runeclass runestrcat runestrcat runestrchr runestrcat runestrcmp runestrcat @@ -1463,11 +1466,6 @@ tmpfile tmpfile tmpnam tmpfile types types -altsems upsem -downsem upsem -initsem upsem -semstats upsem -upsem upsem CSP usb classname usb closedev usb @@ -1510,6 +1508,7 @@ venti-client venti-client ventidoublechecksha1 venti-client vtconnect venti-client +vtgoodbye venti-client vthello venti-client vtping venti-client vtread venti-client @@ -1526,7 +1525,9 @@ vtfreeconn venti-conn vthangup venti-conn vtrecv venti-conn +vtrecvproc venti-conn vtsend venti-conn +vtsendproc venti-conn vtversion venti-conn VtEntry venti-fcall VtFcall venti-fcall @@ -1582,6 +1583,7 @@ vtlogopen venti-log vtlogprint venti-log vtlogremove venti-log +vtlogvprint venti-log venti-mem venti-mem vtbrk venti-mem vtfree venti-mem --- /sys/man/2/INDEX.html Wed Jun 26 05:03:03 2013 +++ /sys/man/2/INDEX.html Wed Jun 26 05:03:04 2013 @@ -124,7 +124,7 @@
complete - file name completion -
complete +
complete, freecompletion
control - interactive graphical controls @@ -336,7 +336,7 @@
isalpharune - Unicode character classes and cases -
isalpharune, isbaserune, isdigitrune, islowerrune, isspacerune, istitlerune, isupperrune, tobaserune, tolowerrune, totitlerune, toupperrune +
isalpharune, isbaserune, islowerrune, isspacerune, istitlerune, isupperrune, isdigitrune, tobaserune, tolowerrune, totitlerune, toupperrune
keyboard - keyboard control @@ -360,7 +360,7 @@
memdraw - drawing routines for memory-resident images -
Memimage, Memdata, Memdrawparam, memimageinit, wordaddr, byteaddr, memimagemove, allocmemimage, allocmemimaged, readmemimage, creadmemimage, writememimage, freememimage, memsetchan, loadmemimage, cloadmemimage, unloadmemimage, memfillcolor, memarc, mempoly, memellipse, memfillpoly, memimageline, memimagedraw, drawclip, memlinebbox, memlineendsize, allocmemsubfont, openmemsubfont, freememsubfont, memsubfontwidth, getmemdefont, memimagestring, iprint, hwdraw +
Memimage, Memdata, Memdrawparam, memimageinit, wordaddr, byteaddr, memimagemove, allocmemimage, allocmemimaged, memdrawallocinit, readmemimage, creadmemimage, writememimage, freememimage, memsetchan, loadmemimage, cloadmemimage, unloadmemimage, memfillcolor, memarc, mempoly, memellipse, memfillpoly, memimageline, memimagedraw, drawclip, memlinebbox, memlineendsize, allocmemsubfont, openmemsubfont, freememsubfont, memsubfontwidth, getmemdefont, memimagestring, iprint, hwdraw
memlayer - windows of memory-resident images @@ -512,7 +512,7 @@
runeclass - Unicode character equivalence -
runeclass, runecompose +
runeclass, runecompose, runedecompose
runestrcat - rune string operations @@ -606,10 +606,6 @@ - c type system
types -
upsem -- optimistic user level semaphores -
upsem, downsem, altsems, initsem, semstats -
usb - USB device driver library
usbcmd, classname, closedev, configdev, devctl, finddevs, loaddevstr, matchdevcsp, opendev, opendevdata, openep, startdevs, unstall CSP @@ -628,11 +624,11 @@
venti-client - Venti client -
vtconnect, vthello, vtread, vtwrite, vtreadpacket, vtwritepacket, vtsync, vtping, vtrpc, ventidoublechecksha1 +
vtconnect, vthello, vtread, vtwrite, vtreadpacket, vtwritepacket, vtsync, vtping, vtgoodbye, vtrpc, ventidoublechecksha1
venti-conn - Venti network connections -
VtConn, vtconn, vtdial, vtfreeconn, vtsend, vtrecv, vtversion, vtdebug, vthangup +
VtConn, vtconn, vtdial, vtfreeconn, vtsend, vtrecv, vtversion, vtdebug, vthangup, vtsendproc, vtrecvproc
venti-fcall - venti data formats @@ -644,7 +640,7 @@
venti-log - Venti logs -
VtLog, VtLogChunk, vtlog, vtlogclose, vtlogdump, vtlognames, vtlogopen, vtlogprint, vtlogremove, vtlogopen, ventilogging +
VtLog, VtLogChunk, vtlog, vtlogclose, vtlogdump, vtlognames, vtlogopen, vtlogprint, vtlogvprint, vtlogremove, vtlogopen, ventilogging
venti-mem - error-checking memory allocators --- /sys/man/3/INDEX Wed Jun 26 05:03:05 2013 +++ /sys/man/3/INDEX Wed Jun 26 05:03:05 2013 @@ -43,6 +43,7 @@ sdahci sdahci addaoe sdaoe sdaoe sdaoe +addloop sdloop sdloop sdloop sdodin sdodin segment segment @@ -55,3 +56,4 @@ uart uart usb usb vga vga +ws ws --- /sys/man/3/INDEX.html Wed Jun 26 05:03:06 2013 +++ /sys/man/3/INDEX.html Wed Jun 26 05:03:07 2013 @@ -144,7 +144,7 @@
sdloop - loopback storage device interface -
sdloop +
sdloop, addloop
sdodin - Marvell Odin II SAS/SATA drivers @@ -185,5 +185,9 @@
vga - VGA controller device
vga + +
ws +- wait statistics +
ws --- /sys/man/4/INDEX Wed Jun 26 05:03:08 2013 +++ /sys/man/4/INDEX Wed Jun 26 05:03:08 2013 @@ -39,6 +39,7 @@ warning keyfs kfs kfs lnfs lnfs +relnfs lnfs unlnfs lnfs mntgen mntgen namespace namespace --- /sys/man/4/INDEX.html Wed Jun 26 05:03:09 2013 +++ /sys/man/4/INDEX.html Wed Jun 26 05:03:10 2013 @@ -100,7 +100,7 @@
lnfs - long name file system -
lnfs, unlnfs +
lnfs, relnfs, unlnfs
mntgen - automatically generate mount points for file systems --- /sys/man/8/INDEX Wed Jun 26 05:03:11 2013 +++ /sys/man/8/INDEX Wed Jun 26 05:03:11 2013 @@ -56,6 +56,7 @@ dsa2pub dsa dsa2ssh dsa dsagen dsa +etheroui etheroui flashpart flashpart flashprep flashpart fossilcons fossilcons @@ -118,6 +119,7 @@ lp lp dump9660 mk9660 mk9660 mk9660 +mkcpuboot mkcpuboot mkflashfs mkflashfs mkext mkfs mkfs mkfs @@ -160,6 +162,7 @@ wwnoui oui P p p p +powerof p partfs partfs pci pci pcirw pci @@ -189,6 +192,7 @@ pxeof pxeof qer qer runq qer +rdb rdb realemu realemu reboot reboot applychanges replica @@ -262,3 +266,4 @@ vga vga watchdog watchdog wol wol +wsprint wsprint --- /sys/man/8/INDEX.html Wed Jun 26 05:03:12 2013 +++ /sys/man/8/INDEX.html Wed Jun 26 05:03:13 2013 @@ -110,6 +110,10 @@ - generate and format dsa keys
dsagen, asn12dsa, dsa2pub, dsa2ssh +
etheroui +- lookup vendor by MAC or OUI +
etheroui +
flashpart - partition and prepare flash partitions
flashpart, flashprep @@ -186,6 +190,10 @@ - create an ISO-9660 CD image
dump9660, mk9660 +
mkcpuboot +- build cpu server boot media +
mkcpuboot +
mkflashfs - make a journalling file system for flash memory
mkflashfs @@ -252,7 +260,7 @@
p - activate power switch -
P +
P, powerof
partfs - serve file, with partitions @@ -302,6 +310,10 @@ - queue management for spooled files
qer, runq +
rdb +- remote kernel debugging +
rdb +
realemu - software emulation of /dev/realmode
realemu @@ -441,5 +453,9 @@
wol - send wake-on-lan Ethernet packet
wol + +
wsprint +- format kernel wait statistics +
wsprint