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
.\"
|