Various character set additions and tweaks.
[rsc] --rw-rw-r-- M 1372441 rsc sys 5244 Jan 27 11:58 sys/src/cmd/tcs/html.c
/n/sourcesdump/2006/0127/plan9/sys/src/cmd/tcs/html.c:324,330 -
/n/sourcesdump/2006/0128/plan9/sys/src/cmd/tcs/html.c:324,330
else if((s = findbyrune(*r)) != nil)
Bprint(&b, "&%s;", s);
else
- Bprint(&b, "&#x%04x;", *r);
+ Bprint(&b, "&#%d;", *r);
}
Bflush(&b);
}
[rsc] --rw-r--r-- M 1372441 rsc sys 16466 Jan 27 12:26 sys/src/cmd/tcs/8859.h
[rsc] --rw-rw-r-- M 1372441 glenda sys 7921 Jan 27 12:26 sys/src/cmd/tcs/cyrillic.h
/n/sourcesdump/2006/0127/plan9/sys/src/cmd/tcs/cyrillic.h:106,138 -
/n/sourcesdump/2006/0128/plan9/sys/src/cmd/tcs/cyrillic.h:106,111
0x0401,0x0451,0x0301,0x0300,0x0301,0x0300,0x2192,0x2190,
0x2193,0x2191,0x00f7,0x00b1,0x2116,0x00a4, -1, -1,
};
- long tabcp1251[256] =
- {
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
- 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
- 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
- 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
- 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
- 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
- 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
- 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
- 0x0402,0x0403,0x201a,0x0453,0x201e,0x2026,0x2020,0x2021,
- -1,0x2030,0x0409,0x2039,0x040a,0x040c,0x040b,0x040f,
- 0x0452,0x2018,0x2019,0x201c,0x201d,0x2022,0x2013,0x2014,
- -1,0x2122,0x0459,0x203a,0x045a,0x045c,0x045b,0x045f,
- 0x00a0,0x040e,0x045e,0x0408,0x00a4,0x0490,0x00a6,0x00a7,
- 0x0401,0x00a9,0x0404,0x00ab,0x00ac,0x00ad,0x00ae,0x0407,
- 0x00b0,0x00b1,0x0406,0x0456,0x0491,0x00b5,0x00b6,0x00b7,
- 0x0451,0x2116,0x0454,0x00bb,0x0458,0x0405,0x0455,0x0457,
- 0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
- 0x0418,0x0419,0x041a,0x041b,0x041c,0x041d,0x041e,0x041f,
- 0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
- 0x0428,0x0429,0x042a,0x042b,0x042c,0x042d,0x042e,0x042f,
- 0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
- 0x0438,0x0439,0x043a,0x043b,0x043c,0x043d,0x043e,0x043f,
- 0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
- 0x0448,0x0449,0x044a,0x044b,0x044c,0x044d,0x044e,0x044f,
- };
long tabov[256] =
{
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
[rsc] --rw-r--r-- M 1372441 rsc sys 19274 Jan 27 12:26 sys/src/cmd/tcs/misc.h
[rsc] --rw-rw-r-- M 1372441 glenda sys 591 Jan 27 12:26 sys/src/cmd/tcs/mkfile
/n/sourcesdump/2006/0127/plan9/sys/src/cmd/tcs/mkfile:24,29 -
/n/sourcesdump/2006/0128/plan9/sys/src/cmd/tcs/mkfile:24,32
tcs.$O gb.$O: gb.h
tcs.$O: cyrillic.h
tcs.$O: conv.h
+ tcs.$O: 8859.h
+ tcs.$O: ms.h
+ tcs.$O: misc.h
conv%.$O: conv.h
conv_ksc.$O: ksc.h
[rsc] --rw-r--r-- M 1372441 rsc sys 44069 Jan 27 12:26 sys/src/cmd/tcs/ms.h
[rsc] --rw-rw-r-- M 1372441 glenda sys 15489 Jan 27 12:26 sys/src/cmd/tcs/tcs.c
[diffs elided - too long]
[diff -c /n/sourcesdump/2006/0127/plan9/sys/src/cmd/tcs/tcs.c /n/sourcesdump/2006/0128/plan9/sys/src/cmd/tcs/tcs.c]
[rsc] --rw-rw-r-- M 1372441 glenda sys 2682 Jan 27 12:46 sys/man/1/tcs
/n/sourcesdump/2006/0127/plan9/sys/man/1/tcs:108,113 -
/n/sourcesdump/2006/0128/plan9/sys/man/1/tcs:108,116
.B 8859-9
Latin-5 (Finnish .. Portuguese)
.TP
+ .B html
+ Unicode as encoded by HTML
+ .TP
.B koi8
KOI-8 (GOST 19769-74)
.TP
/n/sourcesdump/2006/0127/plan9/sys/man/1/tcs:156,161 -
/n/sourcesdump/2006/0128/plan9/sys/man/1/tcs:159,167
Unknown Kanji will be converted into
.B 0xFFFD
characters.
+ .TP
+ .B tcs -t html
+ Convert UTF into character set-independent HTML.
.TP
.B tcs -lv
Print an up to date list of the supported character sets.
Simpler 9fs sources.
[rsc] --rwxrwxr-x M 1372441 glenda sys 986 Jan 27 13:09 rc/bin/9fs
/n/sourcesdump/2006/0127/plan9/rc/bin/9fs:21,28 -
/n/sourcesdump/2006/0128/plan9/rc/bin/9fs:21,27
srv -q il!jukefs && mount /srv/il!jukefs /n/njuke && bind -c /n/njuke/juke /n/juke
case sources
srv -q tcp!sources.cs.bell-labs.com sources /n/sources &&
- { mount /srv/sources /n/sources ||
- mount -n /srv/sources /n/sources }
+ mount -n /srv/sources /n/sources
case sourcesdump
9fs sources
mount /srv/sources /n/sourcesdump main/archive
Add tweaks for htmlroff preparation of documents.
[rsc] --rw-rw-r-- M 1372441 glenda sys 31721 Jan 27 16:15 sys/doc/8½/8½.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/8½/8½.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/8½/8½.ms:1,4
+ .HTML "8½, the Plan 9 Window System
.TL
8½, the Plan 9 Window System
.AU
/n/sourcesdump/2006/0127/plan9/sys/doc/8½/8½.ms:499,505 -
/n/sourcesdump/2006/0128/plan9/sys/doc/8½/8½.ms:500,507
2 bytes of boolean function code
.DE
.KF
- .BP fig1.ps 4.16 5.6 r 0 0
+ .ie h .html - <center><a href="8½.fig1.png"><img src="8½.fig1s.png"></a></center>
+ .el .BP fig1.ps 4.16 5.6 r 0 0
.EP
.IP
Figure 1.
/n/sourcesdump/2006/0127/plan9/sys/doc/8½/8½.ms:657,663 -
/n/sourcesdump/2006/0128/plan9/sys/doc/8½/8½.ms:659,666
.PP
Here is a complete program that runs under 8½.
It prints the string
- .CW \&"hello\ world"
+ .CW \&"hello
+ .CW world"
wherever the left mouse button is depressed, and exits when the
right mouse button is depressed.
It also prints the string in the center of its window, and maintains
[rsc] --rw-rw-r-- M 1372441 glenda sys 84662 Jan 27 16:13 sys/doc/9.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/9.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/9.ms:1,4
+ .HTML "Plan 9 from Bell Labs"
.TL
Plan 9 from Bell Labs
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 65160 Jan 27 16:13 sys/doc/acid.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/acid.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acid.ms:1,4
+ .HTML "Acid Manual
.am DS
.ft I
..
/n/sourcesdump/2006/0127/plan9/sys/doc/acid.ms:1037,1044 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acid.ms:1038,1047
.I item .
.de Ip
.KS
+ .in 0
.LP
- .tl '\f2\\$1\fP\ \ \f(CW\\$2(\f2\\$3\f(CW)\f1''\\$4'
+ .ie h \&\f2\\$1\fP\ \ \f(CW\\$2(\f2\\$3\f(CW)\f1\ \ \ \ \ \ \ \ \\$4
+ .el .tl '\f2\\$1\fP\ \ \f(CW\\$2(\f2\\$3\f(CW)\f1''\\$4'
.IP
..
.de Ex
[rsc] --rw-rw-r-- M 1372441 glenda sys 44851 Jan 27 16:13 sys/doc/acidpaper.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/acidpaper.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acidpaper.ms:1,4
+ .HTML "Acid: A Debugger Built From A Language
.TL
Acid: A Debugger Built From A Language
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 50028 Jan 27 16:15 sys/doc/acme/acme.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/acme/acme.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acme/acme.ms:1,4
+ .HTML "Acme: A User Interface for Programmers
.de EX
.nr x \\$1v
\\!h0c n \\nx 0
/n/sourcesdump/2006/0127/plan9/sys/doc/acme/acme.ms:6,12 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acme/acme.ms:7,13
.KF
.BP \\$1 \\$2
.sp .5v
- .EX \\$2v
+ .if !h .EX \\$2v
.ps -1
.vs -1
..
/n/sourcesdump/2006/0127/plan9/sys/doc/acme/acme.ms:17,22 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acme/acme.ms:18,34
\l'1i'
.KE
..
+ .if h \{\
+ .de FG
+ .B1 10 60
+ .html - <center><a href="\\$1.png"><img src="\\$1s.png" /></a></center>
+ .\" .sp .5v
+ ..
+ .de fg
+ .br
+ .B2
+ ..
+ .\}
.TL
Acme: A User Interface for Programmers
.AU
/n/sourcesdump/2006/0127/plan9/sys/doc/acme/acme.ms:25,32 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acme/acme.ms:37,44
.SP .22i exactly
.AB
.FS
- \l'1i'
- .br
+ .if !h \l'1i'
+ .if !h .br
Originally appeared in
.I
Proc. of the Winter 1994 USENIX Conf.,
/n/sourcesdump/2006/0127/plan9/sys/doc/acme/acme.ms:78,84 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acme/acme.ms:90,96
are geared towards general users, not experts, and certainly
not programmers.
Software developers, at least on time-sharing systems, have been left behind.
- .FG /usr/rob/doc/acme.fig1 5i
+ .FG acme.fig1 5i
Figure 1. A small Acme screen\(emnormally it runs on a larger display\(emdemonstrating
some of the details discussed in the text.
The right column contains some guide files,
/n/sourcesdump/2006/0127/plan9/sys/doc/acme/acme.ms:162,168 -
/n/sourcesdump/2006/0128/plan9/sys/doc/acme/acme.ms:174,180
.SH
User interface
.PP
- .FG /usr/rob/doc/acme.fig2 3i
+ .FG acme.fig2 3i
Figure 2. An Acme window showing a section of code.
The upper line of text is the tag containing the file name,
relevant commands, and a scratch area (right of the vertical bar);
[rsc] --rw-rw-r-- M 1372441 glenda sys 12637 Jan 27 16:13 sys/doc/ape.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/ape.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/ape.ms:1,4
+ .HTML "APE — The ANSI/POSIX Environment
.de XX
.IP \ \ \ \-
..
[rsc] --rw-rw-r-- M 1372441 glenda sys 31516 Jan 27 16:13 sys/doc/asm.ms
[diffs elided - too long]
[diff -c /n/sourcesdump/2006/0127/plan9/sys/doc/asm.ms /n/sourcesdump/2006/0128/plan9/sys/doc/asm.ms]
[rsc] --rw-rw-r-- M 1372441 glenda sys 66854 Jan 27 16:13 sys/doc/auth.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/auth.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/auth.ms:1,4
+ .HTML "Security in Plan 9
.de SS
.NH 2
..
/n/sourcesdump/2006/0127/plan9/sys/doc/auth.ms:46,52 -
/n/sourcesdump/2006/0128/plan9/sys/doc/auth.ms:47,53
has an unusual architecture: it is implemented
as a Plan 9 file server.
.FS
- To appear, in a slightly different form, in
+ Appeared, in a slightly different form, in
.I
Proc. of the 2002 Usenix Security Symposium,
.R
/n/sourcesdump/2006/0127/plan9/sys/doc/auth.ms:155,160 -
/n/sourcesdump/2006/0128/plan9/sys/doc/auth.ms:156,162
[RFC2246];
and began using encryption for all communications within the system.
The overall architecture is illustrated in Figure 1a.
+ .if h .B1 10 60
.KF
.EQ
gsize 9
/n/sourcesdump/2006/0127/plan9/sys/doc/auth.ms:221,226 -
/n/sourcesdump/2006/0128/plan9/sys/doc/auth.ms:223,229
consults it for the user during bootstrap.
.sp
.KE
+ .if h .B2
.EQ
gsize 11
.EN
[rsc] --rw-rw-r-- M 1372441 glenda sys 37832 Jan 27 16:13 sys/doc/comp.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/comp.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/comp.ms:1,4
+ .HTML "How to Use the Plan 9 C Compiler
.TL
How to Use the Plan 9 C Compiler
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 30305 Jan 27 16:13 sys/doc/compiler.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/compiler.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/compiler.ms:1,4
+ .HTML "Plan 9 C Compilers
.TL
Plan 9 C Compilers
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 682 Jan 27 16:16 sys/doc/fs/p0
/n/sourcesdump/2006/0127/plan9/sys/doc/fs/p0:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/fs/p0:1,4
+ .HTML "The Plan 9 File Server
.FP lucidasans
.TL
The Plan 9 File Server
[rsc] --rw-rw-r-- M 1372441 glenda sys 11390 Jan 27 16:15 sys/doc/il/il.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/il/il.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/il/il.ms:1,4
+ .HTML "The IL Protocol
.TL
The IL protocol
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 34107 Jan 27 16:13 sys/doc/lexnames.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/lexnames.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/lexnames.ms:1,4
+ .HTML "Lexical File Names in Plan 9 or Getting Dot-Dot Right
.hw re-create
.hw re-created
.TL
[rsc] --rw-rw-r-- M 1372441 glenda sys 24212 Jan 27 16:13 sys/doc/libmach.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/libmach.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/libmach.ms:1,4
+ .HTML "Adding Application Support for a New Architecture in Plan 9
.TL
Adding Application Support for a New Architecture in Plan 9
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 34456 Jan 27 16:14 sys/doc/mk.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/mk.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/mk.ms:1,4
+ .HTML "Maintaining Files on Plan 9 with Mk
.TL
Maintaining Files on Plan 9 with Mk
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 2393 Jan 27 16:14 sys/doc/mkfile
[diffs elided - too long]
[diff -c /n/sourcesdump/2006/0127/plan9/sys/doc/mkfile /n/sourcesdump/2006/0128/plan9/sys/doc/mkfile]
[rsc] --rw-rw-r-- M 1372441 glenda sys 17910 Jan 27 16:14 sys/doc/mkfiles.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/mkfiles.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/mkfiles.ms:1,4
+ .HTML "Plan 9 Mkfiles
.TL
Plan 9 Mkfiles
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 22143 Jan 27 16:14 sys/doc/names.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/names.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/names.ms:1,4
+ .HTML "The Use of Name Spaces in Plan 9
.TL
The Use of Name Spaces in Plan 9
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 41237 Jan 27 16:15 sys/doc/net/net.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/net/net.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/net/net.ms:1,4
+ .HTML "The Organization of Networks in Plan 9
.TL
The Organization of Networks in Plan 9
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 53312 Jan 27 16:14 sys/doc/plumb.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/plumb.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/plumb.ms:1,4
+ .HTML "Plumbing and Other Utilities
.TL
Plumbing and Other Utilities
.AU
/n/sourcesdump/2006/0127/plan9/sys/doc/plumb.ms:91,96 -
/n/sourcesdump/2006/0128/plan9/sys/doc/plumb.ms:92,98
is by convention the file from which a text editor reads messages requesting it to
open and display a file for editing.
(See Figure 1.)
+ .if h .B1 10 60
.KF
.PS
down
/n/sourcesdump/2006/0127/plan9/sys/doc/plumb.ms:135,140 -
/n/sourcesdump/2006/0128/plan9/sys/doc/plumb.ms:137,143
and some ports are read by multiple applications.
.sp
.KE
+ .if h .B2
.LP
The plumber takes messages from the
.CW send
[rsc] --rw-rw-r-- M 1372441 glenda sys 16719 Jan 27 16:14 sys/doc/port.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/port.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/port.ms:1,4
+ .HTML "The Various Ports
.TL
The Various Ports
.PP
[rsc] --rw-rw-r-- M 1372441 glenda sys 16563 Jan 27 16:14 sys/doc/prog4.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/prog4.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/prog4.ms:1,4
+ .HTML "Changes to the Programming Environment in the Fourth Release of Plan 9
.FP lucidasans
.TL
Changes to the Programming Environment
[rsc] --rw-rw-r-- M 1372441 glenda sys 34404 Jan 27 16:14 sys/doc/rc.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/rc.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/rc.ms:1,4
+ .HTML "Rc — The Plan 9 Shell
. \" /*% refer -k -e -n -l3,2 -s < % | tbl | troff -ms | lp -dfn
.Tm shell programming language g
.de TP \" An indented paragraph describing some command, tagged with the command name
[rsc] --rw-rw-r-- M 1372441 glenda sys 5538 Jan 27 16:14 sys/doc/release3.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/release3.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/release3.ms:1,4
+ .HTML "Plan 9 — Third Edition Release Notes
.TL
Plan 9 From Bell Labs
.br
[rsc] --rw-rw-r-- M 1372441 glenda sys 5207 Jan 27 16:14 sys/doc/release4.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/release4.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/release4.ms:1,4
+ .HTML "Plan 9 — Fourth Edition Release Notes
.TL
Plan 9 From Bell Labs
.br
[rsc] --r--rw-r-- M 1372441 glenda sys 94640 Jan 27 16:15 sys/doc/sam/sam.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/sam/sam.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/sam/sam.ms:1,4
+ .HTML "The Text Editor sam
.Vx 17 11 November 87 1 32 "ROB PIKE" "THE TEXT EDITOR SAM"
.ds DY "31 May 1987
.ds DR "Revised 1 July 1987
/n/sourcesdump/2006/0127/plan9/sys/doc/sam/sam.ms:19,24 -
/n/sourcesdump/2006/0128/plan9/sys/doc/sam/sam.ms:20,29
.vs
.sp
..
+ .de XP
+ .ie h .html - <center><img src="sam.\\$1.png" /></center>
+ .el .BP \\$1.ps \\$2
+ ..
.TL
The Text Editor \&\f(CWsam\fP
.AU
/n/sourcesdump/2006/0127/plan9/sys/doc/sam/sam.ms:255,261 -
/n/sourcesdump/2006/0128/plan9/sys/doc/sam/sam.ms:260,266
For the moment, ignore the presence of multiple files and consider
editing a single file.
.KF L
- .BP fig1.ps 3.5i
+ .XP fig1 3.5i
.Cs
Figure 1. A typical
.CW sam
/n/sourcesdump/2006/0127/plan9/sys/doc/sam/sam.ms:1272,1278 -
/n/sourcesdump/2006/0128/plan9/sys/doc/sam/sam.ms:1277,1283
dot is always highlighted (see Figure 2).
.WS 1
.KF
- .BP fig3.ps 2.04i
+ .XP fig3 2.04i
.Cs
Figure 2. A
.CW sam
/n/sourcesdump/2006/0127/plan9/sys/doc/sam/sam.ms:1357,1363 -
/n/sourcesdump/2006/0128/plan9/sys/doc/sam/sam.ms:1362,1368
window the current window,
causing subsequent typing to be interpreted as commands.
.KF
- .BP fig2.ps 2.74i
+ .XP fig2 2.74i
.Cs
Figure 3. The menu on button 3.
The black rectangle on the left is a scroll bar; the menu is limited to
/n/sourcesdump/2006/0127/plan9/sys/doc/sam/sam.ms:1449,1455 -
/n/sourcesdump/2006/0128/plan9/sys/doc/sam/sam.ms:1454,1460
forward for the next occurrence of a match for the expression.
.WS 1
.KF
- .BP fig4.ps 1.20i
+ .XP fig4 1.20i
.Cs
Figure 4. The menu on button 2.
The bottom entry tracks the most recently used regular expression, which may
[rsc] --rw-rw-r-- M 1372441 glenda sys 15272 Jan 27 16:14 sys/doc/sleep.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/sleep.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/sleep.ms:1,4
+ .HTML "Process Sleep and Wakeup on a Shared-memory Multiprocessor
.TL
Process Sleep and Wakeup on a Shared-memory Multiprocessor
.AU
[rsc] --rw-rw-r-- M 1372441 glenda sys 41735 Jan 27 16:14 sys/doc/utf.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/utf.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/utf.ms:1,4
+ .HTML "Hello World or Καλημέρα κόσμε or こんにちは 世界
.TL
Hello World
.br
[rsc] --rw-rw-r-- M 1372441 glenda sys 5409 Jan 27 16:13 sys/doc/contents.ms
[diffs elided - too long]
[diff -c /n/sourcesdump/2006/0127/plan9/sys/doc/contents.ms /n/sourcesdump/2006/0128/plan9/sys/doc/contents.ms]
[rsc] --rw-rw-r-- M 1372441 rsc sys 31439 Jan 27 16:13 sys/doc/fossil.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/fossil.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/fossil.ms:1,4
+ .HTML "Fossil, an Archival File Server
... .FP times
... .fp 1 R R.nomath
... .fp 5 CW LucidaSansCW83
[rsc] --rw-rw-r-- M 1372441 glenda sys 67493 Jan 27 16:14 sys/doc/spin.ms
/n/sourcesdump/2006/0127/plan9/sys/doc/spin.ms:1,3 -
/n/sourcesdump/2006/0128/plan9/sys/doc/spin.ms:1,4
+ .HTML "Using SPIN
.\" runoff as:
.\" eqn file | tbl | troff -ms
.\"
Add htmlroff(1) to distribution
[rsc] --rw-rw-r-- M 1372441 rsc sys 1950 Jan 27 16:13 sys/lib/tmac/tmac.html
[rsc] --rw-rw-r-- M 1372441 glenda sys 23086 Jan 27 16:13 sys/lib/tmac/tmac.s
/n/sourcesdump/2006/0127/plan9/sys/lib/tmac/tmac.s:308,316 -
/n/sourcesdump/2006/0128/plan9/sys/lib/tmac/tmac.s:308,318
.di WT
.na
.fi
+ .ie h .ll \\n(LLu
+ .el \{\
.ll 5.0i
.if n .if \\n(TN .ll 29
- .if t .if \\n(TN .ll 3.5i
+ .if t .if \\n(TN .ll 3.5i \}
.ft 3
.ps \\n(PS
.if !\\n(TN \{\
/n/sourcesdump/2006/0127/plan9/sys/lib/tmac/tmac.s:318,323 -
/n/sourcesdump/2006/0128/plan9/sys/lib/tmac/tmac.s:320,326
. vs \\n(.s+2
. rm CS\}
.hy 0
+ .if h .ce 999
..
.de TX
.rs
/n/sourcesdump/2006/0127/plan9/sys/lib/tmac/tmac.s:358,363 -
/n/sourcesdump/2006/0128/plan9/sys/lib/tmac/tmac.s:361,367
. ft 3
. ll 16\}\}
.ps \\n(PS
+ .if h .ce 999
..
.de AX
.ft 1
/n/sourcesdump/2006/0127/plan9/sys/lib/tmac/tmac.s:1259,1265 -
/n/sourcesdump/2006/0128/plan9/sys/lib/tmac/tmac.s:1263,1270
.ta \\n(JQu \\n(TYuR
.if \\n(.$ \{\
.ti \\n(I\\n(IRu
- \&\\$1\t\c\}
+ \&\\$1\t\c
+ .\}
..
. \"LP - left aligned (block) paragraph
.de LP
[rsc] --rw-r--r-- M 1372441 rsc sys 1831 Jan 27 16:07 sys/man/1/htmlroff
[rsc] --rw-r--r-- M 1372441 rsc sys 6608 Jan 27 16:12 sys/man/6/htmlroff
[rsc] --rw-r--r-- M 1372441 rsc sys 1710 Jan 27 16:07 sys/man/6/mhtml
[rsc] d-rwxrwxr-x M 1372441 rsc sys 0 Jan 27 16:08 sys/src/cmd/htmlroff
[rsc] --rw-rw-r-- M 1372441 rsc sys 3200 Jan 27 16:07 sys/src/cmd/htmlroff/a.h
[rsc] --rw-rw-r-- M 1372441 rsc sys 2178 Jan 27 16:07 sys/src/cmd/htmlroff/char.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 3991 Jan 27 16:07 sys/src/cmd/htmlroff/html.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 3147 Jan 27 16:07 sys/src/cmd/htmlroff/input.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1065 Jan 27 16:08 sys/src/cmd/htmlroff/main.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 330 Jan 27 16:08 sys/src/cmd/htmlroff/mkfile
[rsc] --rw-rw-r-- M 1372441 rsc sys 10842 Jan 27 16:08 sys/src/cmd/htmlroff/roff.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 2816 Jan 27 16:08 sys/src/cmd/htmlroff/t1.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1911 Jan 27 16:08 sys/src/cmd/htmlroff/t10.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1200 Jan 27 16:08 sys/src/cmd/htmlroff/t11.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 600 Jan 27 16:08 sys/src/cmd/htmlroff/t12.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 210 Jan 27 16:08 sys/src/cmd/htmlroff/t13.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 561 Jan 27 16:08 sys/src/cmd/htmlroff/t14.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 138 Jan 27 16:08 sys/src/cmd/htmlroff/t15.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 2270 Jan 27 16:08 sys/src/cmd/htmlroff/t16.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1711 Jan 27 16:08 sys/src/cmd/htmlroff/t17.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1125 Jan 27 16:08 sys/src/cmd/htmlroff/t18.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 2353 Jan 27 16:08 sys/src/cmd/htmlroff/t19.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 4079 Jan 27 16:08 sys/src/cmd/htmlroff/t2.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1025 Jan 27 16:08 sys/src/cmd/htmlroff/t20.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 851 Jan 27 16:08 sys/src/cmd/htmlroff/t3.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1974 Jan 27 16:08 sys/src/cmd/htmlroff/t4.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1749 Jan 27 16:08 sys/src/cmd/htmlroff/t5.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1135 Jan 27 16:08 sys/src/cmd/htmlroff/t6.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 8626 Jan 27 16:08 sys/src/cmd/htmlroff/t7.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 6245 Jan 27 16:08 sys/src/cmd/htmlroff/t8.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 47 Jan 27 16:08 sys/src/cmd/htmlroff/t9.c
[rsc] --rw-rw-r-- M 1372441 rsc sys 1615 Jan 27 16:08 sys/src/cmd/htmlroff/util.c
|