diff options
| author | Charles.Forsyth <devnull@localhost> | 2009-06-26 15:57:37 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2009-06-26 15:57:37 +0000 |
| commit | 7cdb1d14cab5ad4eceb9edfc484ea272cf8a062d (patch) | |
| tree | 48ea95b449080a7a228ac4d5869c870b6a81564e | |
| parent | 0008406096b970ebb73cda0ede4cb1e1aba824e4 (diff) | |
20090626-1657
| -rw-r--r-- | appl/cmd/man2html.b | 6 | ||||
| -rw-r--r-- | dis/man2html.dis | bin | 16391 -> 16401 bytes | |||
| -rw-r--r-- | include/version.h | 2 | ||||
| -rw-r--r-- | man/10/atoi | 2 | ||||
| -rw-r--r-- | man/10/devattach | 1 |
5 files changed, 5 insertions, 6 deletions
diff --git a/appl/cmd/man2html.b b/appl/cmd/man2html.b index f32c4fbd..033504b4 100644 --- a/appl/cmd/man2html.b +++ b/appl/cmd/man2html.b @@ -318,11 +318,12 @@ Global: adt { }; header := "<HTML><HEAD>"; +initial := ""; trailer := "</BODY></HTML>"; usage() { - sys->fprint(stderr, "Usage: man2html [-h header] [-t trailer] file [section]\n"); + sys->fprint(stderr, "Usage: man2html [-h header] [-i initialtext] [-t trailer] file [section]\n"); raise "fail:usage"; } @@ -753,6 +754,7 @@ g_SH(g: ref Global, argl: list of string) closeall(g, 1); # .SH is top-level list item if (g.example) g_EE(g); + g_fi(g); if (g.fill && ! g.sop) g.print("<P>"); g.print("<DT><H4>"); @@ -1359,6 +1361,6 @@ title(g: ref Global, t: string, search: int) g.print(header+"\n"); g.print(sprint("<TITLE>Inferno's %s</TITLE>\n", demark(t))); g.print("</HEAD>\n"); - g.print("<BODY bgcolor=\"#FFFFFF\">\n"); + g.print("<BODY>"+initial+"\n"); } diff --git a/dis/man2html.dis b/dis/man2html.dis Binary files differindex edd98ae2..88aa173e 100644 --- a/dis/man2html.dis +++ b/dis/man2html.dis diff --git a/include/version.h b/include/version.h index 139cd1f2..cfc16254 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20090616)" +#define VERSION "Fourth Edition (20090624)" diff --git a/man/10/atoi b/man/10/atoi index 6281ac2e..676fc53b 100644 --- a/man/10/atoi +++ b/man/10/atoi @@ -2,7 +2,6 @@ .SH NAME atoi, atol, charstod, strtod, strtol, strtoul, strtoll \- convert text to numbers .SH SYNOPSIS -.nf .ta \w'\fLdouble 'u .B int atoi(char *nptr) @@ -24,7 +23,6 @@ ulong strtoul(char *nptr, char **rptr, int base) .PP .B vlong strtoll(char *nptr, char **rptr, int base) -.fi .SH DESCRIPTION .IR Atoi and diff --git a/man/10/devattach b/man/10/devattach index 718fe9b8..48d48c8d 100644 --- a/man/10/devattach +++ b/man/10/devattach @@ -2,7 +2,6 @@ .SH NAME devattach, devclone, devdir, devgen, devwalk, devdirread, devstat, devopen, devbread, devbwrite, devcreate, devremove, devwstat, devreset, devinit, devshutdown, openmode \- common device driver support .SH SYNOPSIS -.nf .ta \w'\fLBlock* 'u +10n .B typedef int |
