Documentation. [jmk] --rw-rw-r-- M 845139 glenda sys 2256 Dec 6 09:46 sys/man/1/vt /n/sourcesdump/2005/1206/plan9/sys/man/1/vt:4,10 - /n/sourcesdump/2005/1207/plan9/sys/man/1/vt:4,10 .SH SYNOPSIS .B vt [ - .B -2aswx + .B -2asx ] [ .B -f /n/sourcesdump/2005/1206/plan9/sys/man/1/vt:27,43 - /n/sourcesdump/2005/1207/plan9/sys/man/1/vt:27,32 The .B -s option changes the color scheme to black text on a white background. - .PP - The - .B -w - option causes - .I vt - to provide a - .B /dev/wctl - file that can be read to learn about window size changes. - In particular, - .IR ssh (1) - will read this file and inform the remote system about size changes. .PP The .B -f Nits. [jmk] --rw-rw-r-- M 845139 glenda sys 2933 Dec 6 09:48 sys/man/3/audio /n/sourcesdump/2005/1206/plan9/sys/man/3/audio:75,81 - /n/sourcesdump/2005/1207/plan9/sys/man/3/audio:75,81 .RI ` source .IR value '. Valid sources depend on the particular audio device, - though all devices have a + though all devices have an .B audio stereo source, which controls the output volume from the D/A converter connected to Nits. [jmk] --rw-rw-r-- M 845139 glenda sys 8972 Dec 6 09:46 sys/man/3/cons /n/sourcesdump/2005/1206/plan9/sys/man/3/cons:84,90 - /n/sourcesdump/2005/1207/plan9/sys/man/3/cons:84,92 is in .IR "raw mode" : characters are not echoed as they are typed, - backspace and + backspace, + .L ^U + and .L ^D are not treated specially, and characters are available to Nits. [jmk] --rw-rw-r-- M 845139 rsc sys 2702 Dec 6 09:47 sys/man/3/fs /n/sourcesdump/2005/1206/plan9/sys/man/3/fs:45,51 - /n/sourcesdump/2005/1207/plan9/sys/man/3/fs:45,51 are handled by sequentially writing to the .I files from right to left (the reverse of - of the order in the control message). + the order in the control message). If any write fails, the write is aborted. Reads from .BI new /n/sourcesdump/2005/1206/plan9/sys/man/3/fs:78,84 - /n/sourcesdump/2005/1207/plan9/sys/man/3/fs:78,84 .IR files ; an 8192-byte block size is assumed. .TP - .BI cat " name files" \fR... + .BI cat " new files" \fR... The device .I new corresponds to the catenation of Nits. [jmk] --rw-rw-r-- M 845139 glenda sys 21677 Dec 6 09:47 sys/man/3/ip /n/sourcesdump/2005/1206/plan9/sys/man/3/ip:165,173 - /n/sourcesdump/2005/1207/plan9/sys/man/3/ip:165,173 .TP .BI iprouting\ n Allow - .RI ( n is missing - or non-zero) or disallow .RI ( n + is missing or non-zero) or disallow + .RI ( n is 0) forwarding packets between this interface and others. .TP /n/sourcesdump/2005/1206/plan9/sys/man/3/ip:341,347 - /n/sourcesdump/2005/1207/plan9/sys/man/3/ip:341,347 (see .IR ndb (8)). .B /net/ndb - may contain up tp 1024 bytes. + may contain up to 1024 bytes. .PP The file .B /net/ipselftab /n/sourcesdump/2005/1206/plan9/sys/man/3/ip:711,717 - /n/sourcesdump/2005/1207/plan9/sys/man/3/ip:711,717 .B header Turn on header mode. Every buffer read from .B data - starts with 4 unsued bytes, and the first 4 bytes + starts with 4 unused bytes, and the first 4 bytes of every buffer written to .B data are ignored. Nits. [jmk] --rw-rw-r-- M 845139 glenda sys 12029 Dec 6 09:47 sys/man/3/proc /n/sourcesdump/2005/1206/plan9/sys/man/3/proc:360,371 - /n/sourcesdump/2005/1207/plan9/sys/man/3/proc:360,371 .IR deadline . The moment of release is dictated by the .I period - and whther the process is + and whether the process is .I sporadic or not. Non-sporadic processes are called .I periodic - and they are released precisely at intervals of their period (but perods can be skipped + and they are released precisely at intervals of their period (but periods can be skipped if the process blocks on I/O). Sporadic processes are released whenever they become runnable (after being blocked by .IR sleep () Nits. [rsc] --rw-rw-r-- M 845139 glenda sys 10112 Dec 6 10:42 sys/man/2/memdraw /n/sourcesdump/2005/1206/plan9/sys/man/2/memdraw:173,179 - /n/sourcesdump/2005/1207/plan9/sys/man/2/memdraw:173,179 .B /dev/draw hierarchy. The - .Bmemdraw + .B memdraw library is the basis for the kernel .IR draw (3) driver and also used by a number of programs that must manipulate 64-bit fix bug fix. [rsc] --rw-rw-r-- M 845139 glenda sys 1437 Dec 6 11:04 sys/src/cmd/sam/list.c /n/sourcesdump/2005/1206/plan9/sys/src/cmd/sam/list.c:16,22 - /n/sourcesdump/2005/1207/plan9/sys/src/cmd/sam/list.c:16,22 else if(l->nused == l->nalloc){ p = erealloc(l->listptr, (l->nalloc+INCR)*esize); l->listptr = p; - memset(p+l->nalloc, 0, INCR*esize); + memset(p+l->nalloc*esize, 0, INCR*esize); l->nalloc += INCR; } } [rsc] --rw-rw-r-- M 845139 glenda sys 12016 Dec 6 11:05 sys/src/cmd/sam/sam.c [rsc] --rw-rw-r-- M 845139 glenda sys 9366 Dec 6 11:04 sys/src/cmd/sam/sam.h /n/sourcesdump/2005/1206/plan9/sys/src/cmd/sam/sam.h:66,77 - /n/sourcesdump/2005/1207/plan9/sys/src/cmd/sam/sam.h:66,76 struct List { - int type; + int type; /* 'p' for pointer, 'P' for Posn */ int nalloc; int nused; union{ void* listp; - Block* blkp; void** voidp; Posn* posnp; String**stringp;