aboutsummaryrefslogtreecommitdiffstats
path: root/w3m-doc
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:05:14 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:05:14 +0000
commit72f72d64a422d6628c4796f5c0bf2e508f134214 (patch)
tree0c9ea90cc53310832c977265521fb44db24a515e /w3m-doc
parentAdding upstream version 0.3 (diff)
downloadw3m-72f72d64a422d6628c4796f5c0bf2e508f134214.tar.gz
w3m-72f72d64a422d6628c4796f5c0bf2e508f134214.zip
Adding upstream version 0.5.1upstream/0.5.1
Diffstat (limited to 'w3m-doc')
-rw-r--r--w3m-doc/README.html75
-rw-r--r--w3m-doc/community.html.in48
-rw-r--r--w3m-doc/configuration.html.in182
-rw-r--r--w3m-doc/contain.wd14
-rw-r--r--w3m-doc/copyright.html.in45
-rw-r--r--w3m-doc/define.wd9
-rw-r--r--w3m-doc/detail.html.in32
-rw-r--r--w3m-doc/development.html.in77
-rw-r--r--w3m-doc/faq.html.in45
-rw-r--r--w3m-doc/function.html.in71
-rw-r--r--w3m-doc/index.html.in113
-rw-r--r--w3m-doc/install.html.in389
-rwxr-xr-xw3m-doc/mkdocs57
-rw-r--r--w3m-doc/operation.html.in50
-rw-r--r--w3m-doc/outline.html.in352
-rw-r--r--w3m-doc/prologue.html.in99
-rw-r--r--w3m-doc/sample/README41
-rw-r--r--w3m-doc/sample/define.wd4
-rw-r--r--w3m-doc/sample/html.wd18
-rwxr-xr-xw3m-doc/sample/keymap.cgi268
-rw-r--r--w3m-doc/sample/s.wd8
-rw-r--r--w3m-doc/sample/sample.html6
-rw-r--r--w3m-doc/sample/sample.wd11
-rwxr-xr-xw3m-doc/sample/w3mdoc.pl102
-rwxr-xr-xw3m-doc/w3mdoc.pl102
25 files changed, 2218 insertions, 0 deletions
diff --git a/w3m-doc/README.html b/w3m-doc/README.html
new file mode 100644
index 0000000..1caa3cd
--- /dev/null
+++ b/w3m-doc/README.html
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+
+<HTML>
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>w3m $B%I%-%e%a%s%H@0Hw$NJ}?K(B</TITLE>
+</HEAD>
+
+<BODY>
+
+<DIV ALIGN="center">
+w3m $B%I%-%e%a%s%H@0Hw$NJ}?K(B
+</DIV>
+<DIV ALIGN="right">
+Yoshinobu Sakane February 15, 2001
+</DIV>
+
+<OL>
+<H1><LI>$BJ}?K(B</H1>
+<DIV>
+ <P>
+ w3m$B$K4X$9$k%I%-%e%a%s%HN`$r0J2<$NJ}?K$G@0Hw$7$?$$$H9M$($F$$$^$9!#(B
+ <P>
+ <UL>
+ <LI>$B8=;~E@(B(w3m-0.1.11-pre)$B$G;6J8$7$F$$$k%I%-%e%a%s%H$r0lDj$N%k!<%k$N$b$H$K$^$H$a$k(B
+ <LI>$BF~LgDxEY$N%I%-%e%a%s%H$H?<$_$K$O$a$k(B:-)$B$?$a$N%I%-%e%a%s%H$rMQ0U$9$k(B
+ <LI>HTML$BHG$H%W%l%$%s%F%-%9%HHG$rMQ0U$9$k!#$?$@$7!"%=!<%9$H$J$k%I%-%e%a%s%H$O0l$D(B
+ </UL>
+</DIV>
+<BR>
+
+<H1><LI>$B9|AH$_%I%-%e%a%s%H$N@bL@(B</H1>
+<DIV>
+ <P>
+ <TABLE BORDER>
+ <CAPTION>$B!T%3%s%F%s%D!U(B</CAPTION>
+ <TR>
+ <TD><A HREF="w3mdoc.pl">w3mdoc.pl</A></TD>
+ <TD><A HREF="http://www2u.biglobe.ne.jp/~hsaka/">$B:dK\$5$s(B</A>$B$46`@=$N(Bperl$B%9%/%j%W%H(B</TD>
+ <TR>
+ <TD><A HREF="mkdocs">mkdocs</A></TD>
+ <TD>$B%I%-%e%a%s%H@07AMQ%7%'%k%9%/%j%W%H(B</TD>
+ <TR>
+ <TD>README.html</TD>
+ <TD>$B$3$N%U%!%$%k(B</TD>
+ <TR>
+ <TD>*.html.in</TD>
+ <TD>$B3F>O!?@aKh$N%I%-%e%a%s%H%=!<%9(B</TD>
+ <TR>
+ <TD>*.wd</TD>
+ <TD>$B3F<oDj5A%U%!%$%k(B</TD>
+ </TABLE>
+ <P>
+ w3mdoc.pl$B$N;H$$J}$K$D$$$F$O!":dK\$5$s$,=q$+$l$?(B<A HREF="sample/README">README</A>$B!"5Z$S!"%5%s%W%k%=!<%9$r;2>H$7$F$/$@$5$$!#(B<br>
+</DIV>
+<BR>
+
+<H1><LI>$B%I%-%e%a%s%H@0Hw$N?J$aJ}(B</H1>
+<DIV>
+ <P>
+ <UL>
+ <LI>$BM-;V(B($B0J9_!"(B<B>w3m-doc$B%a%s%P(B</B>$B$H5-$9(B)$B$K$h$kJ,3d:n6H(B
+ <LI>$BJ,3d$NC10L$O(Bw3m-doc$B%a%s%P4V$GD4@0(B
+ <LI>$B:#2s<($99|AH$_$O$"$/$^$G;X?K!#>u67!?ET9g$K$h$j(Bw3m-doc$B%a%s%P4V$GD4@0$7JQ99$9$k(B
+ <LI>$B$^$:$OF|K\8lHG$N%I%-%e%a%s%H$r:n$j!">u67$r8+$F1QLu$9$k(B
+ <LI>$B$"$kDxEY$G$-$?$H$3$m$+$i!"C`<!!"(Bw3m-dev ML$B%a%s%P$N%l%S%e!<$r<u$1$k(B
+ </UL>
+ <P>
+ $B$H!"9M$($F$$$^$9!#(B
+</DIV>
+
+</OL>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/community.html.in b/w3m-doc/community.html.in
new file mode 100644
index 0000000..2868287
--- /dev/null
+++ b/w3m-doc/community.html.in
@@ -0,0 +1,48 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>W3M&nbsp;COMMUNITY&nbsp;- w3m $B%3%_%e%K%F%#(B -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">w3m $B%3%_%e%K%F%#(B</A></H1>
+<DIV>
+<!-- w3m$B%3%_%e%K%F%#$K4X$7$F(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="#ML">$B%a!<%j%s%0%j%9%H(B</A>
+ <LI><A HREF="#links">$B4XO"(B Web</A>
+ </UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="ML">$B%a!<%j%s%0%j%9%H(B</A></H2>
+<!-- w3m-dev, w3m-dev-en ML$B$N>R2p(B -->
+<DIV>
+<P>w3m $B3+H/<TMQ%a!<%j%s%0%j%9%H(B
+</DIV>
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="links">$B4XO"(B Web</A></H2>
+<!-- w3m$B$K4X78$7$F$$$k(BWeb -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/configuration.html.in b/w3m-doc/configuration.html.in
new file mode 100644
index 0000000..136768f
--- /dev/null
+++ b/w3m-doc/configuration.html.in
@@ -0,0 +1,182 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>CONFIGURATION&nbsp;- $B3F<o@_Dj(B -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">$B3F<o@_Dj(B</A></H1>
+<DIV>
+<!-- w3m$B$N3F<o@_Dj$N>\:Y$r5-$9(B -->
+ <UL>
+ <LI><A HREF="#option">$B5/F0%*%W%7%g%s(B</A>
+ <LI><A HREF="#environment">$B4D6-JQ?t(B</A>
+ <LI><A HREF="#bookmark">bookmark $B%U%!%$%k(B</A>
+ <LI><A HREF="#option_panel">$B%*%W%7%g%s%Q%M%k(B</A>
+ <UL>
+ <LI><A HREF="#external_viewer">$B30It%S%e!<%"$NJT=8(B</A>
+ </UL>
+ <LI><A HREF="#other_customize">$B$=$NB>%+%9%?%^%$%:(B</A>
+ <UL>
+ <LI><A HREF="#keymap">keymap</A>
+ <LI><A HREF="#menu">menu</A>
+ </UL>
+ </UL>
+</DIV>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="option">$B5/F0%*%W%7%g%s(B</A></H2>
+<!-- $B%*%W%7%g%s$K$D$$$F$N@bL@(B -->
+<DIV>
+<P>w3m $B$N5/F0%*%W%7%g%s$O0J2<$NDL$j$G$9!#(B
+<BLOCKQUOTE>
+<DL>
+<DT>-t $B%?%VI}(B
+ <DD>$B%?%V$NI}$r;XDj$9$k!#%G%U%)%k%H$O(B<B>8</B>$B!#(B
+<DT>-r
+ <DD>text/plain $B$NJ8>O$rI=<($9$k>l9g!"=E$MBG$A$K$h$k6/D4J8;z$rI=<($7$J$$!#$3$N0z?t$r;XDj$7$J$$>l9g!"(B``A^H_''$B$O(B A $B$N(B<U>$B%"%s%@!<%i%$%s(B</U>$B$H$7$FI=<($5$l!"(B``A^HA'' $B$O(B A $B$N(B<B>$B%\!<%k%I(B</B>$B$H$7$FI=<($5$l$k!#(B
+<DT>-l $B9T?t(B
+ <DD>$BI8=`F~NO$NFbMF$rI=<($9$k;~$KJ]B8$5$l$k:GBg9T?t$r;XDj$9$k!#%G%U%)%k%H$O(B <B>10000</B>$B!#(B
+<DT>-s
+ <DD>Shift_JIS $B%3!<%I$GI=<($9$k!#(B
+<DT>-j
+ <DD>JIS(ISO-2022-JP) $B%3!<%I$GI=<($9$k!#(B
+<DT>-e
+ <DD>EUC-JP $B%3!<%I$GI=<($9$k!#(B
+<DT>-O e|s|j|N|m|n
+ <DD>$BI=<($9$k4A;z%3!<%I$r;XDj$9$k!#(B
+<DT>-I e|s
+ <DD>$BF~NO%U%!%$%k$N4A;z%3!<%I$r;XDj$9$k!#(B
+<DT>-B
+ <DD>Bookmark $B%U%!%$%k$r%m!<%I$9$k!#(B
+<DT>-bookmark $B%U%!%$%kL>(B
+ <DD>Bookmark $B%U%!%$%k$r;XDj$N%U%!%$%k$K$9$k!#(B
+<DT>-T $B%?%$%W(B
+ <DD>$BI=<($9$kJ8=q$N%?%$%W$r;XDj$9$k!#$3$N;XDj$,$J$$>l9g!"%U%!%$%kL>$N3HD%;R$K$h$C$F<+F0H=JL$5$l$k!#H=JL$G$-$J$$>l9g$O(B text/plain $B$H$_$J$5$l$k!#(B
+ <P>
+ $BNc(B:<BR>
+ <U>$BI8=`F~NO$+$i(B HTML $B%U%!%$%k$rFI$s$GI=<($9$k(B</U>
+<PRE>
+ cat hoge.html | w3m -T text/html
+</PRE><P>
+ <U>HTML$B%U%!%$%k$N%=!<%9$rI=<($9$k(B</U>
+<PRE>
+ w3m -T text/plain hoge.html
+</PRE>
+<DT>-m
+ <DD>Internet message $B%b!<%I$GI=<($9$k!#(BInternet message $B%b!<%I$N>l9g!"%X%C%@$NFbMF$r8+$F!"(BContent-Type: $B$,$"$l$P$=$l$r;29M$K$9$k!#EE;R%a!<%k$d%M%C%H%K%e!<%9$N5-;v$rFI$`;~$KJXMx!#(B
+<DT>-v
+ <DD>$B$3$N%*%W%7%g%s$r;XDj$9$k$H!"(Bw3m $B$N%9%?!<%H%"%C%W!&%Z!<%8$rI=<($9$k!#(B
+<DT>-M
+ <DD>$B%+%i!<I=<($r$7$J$$(B($B%b%N%/%mI=<($9$k(B)$B!#(B
+<DT>-F
+ <DD>$B%U%l!<%`$r<+F0I=<($9$k!#(B
+<DT>-cols $BI}(B
+ <DD>-dump $B%*%W%7%g%s$r;H$&>l9g$K!"J8=q$NI}$r;XDj$9$k!#(B
+<DT>-ppc $B%T%/%;%k?t(B
+ <DD>$BJ8;z$NI}$r;XDj$9$k!#%G%U%)%k%H$O(B<B>8.0</B>$B!#(B
+<DT>-dump
+ <DD>URL $B$G;XDj$5$l$?(B WWW $B$NFbMF$rFI$_9~$_!"@07A$5$l$?%P%C%U%!$NFbMF$rI8=`=PNO$K=q$-=P$9!#J8=q$NI}$O(B 80 $B7e$H2>Dj$5$l$k!#$3$NI}$O(B -cols $B%*%W%7%g%s$GJQ992DG=!#(B
+<DT>-dump_head
+ <DD>URL $B$G;XDj$5$l$?(B WWW $B$NFbMF$rFI$_9~$_!"$=$N%X%C%@>pJs$N$_$rI8=`=PNO$K=q$-=P$9!#(B
+<DT>-dump_source
+ <DD>URL $B$G;XDj$5$l$?(B WWW $B$NFbMF$rFI$_9~$_!"@07A$;$:$KI8=`=PNO$K=q$-=P$9!#4A;z%3!<%I$NJQ49$b9T$o$J$$!#(B
+<DT>-dump_both
+ <DD>-dump_head $B$H(B -dump_souce $B$NN>J}$N8z2L(B
+<DT>-dump_extra
+ <DD>-dump_both $B$K2C$(!"3HD%>pJs(B(extra information)$B$rI8=`=PNO$K=q$-=P$9!#(B
+<DT>-post $B%U%!%$%kL>(B
+ <DD>$B;XDj$7$?%U%!%$%k$NFbMF$G(B POST $B%a%=%C%I$rMQ$$$k!#(B
+<DT>-header $BJ8;zNs(B
+ <DD>insert string as a header ($B$C$F2?!)(B)
+<DT>+$B9THV9f(B
+ <DD>w3m $B5/F08e$K!";XDj$N9THV9f$K0\F0$9$k!#(B
+<DT>-num
+ <DD>$B9THV9f$rI=<($9$k!#(B
+<DT>-no-proxy
+ <DD>$B%W%m%-%7$rMxMQ$7$J$$!#(B
+<DT>-no-mouse
+ <DD>$B%^%&%9$rMxMQ$7$J$$!#(B
+<DT>-cookie
+ <DD>$B%/%C%-!<$r=hM}$9$k!#(B
+<DT>-no-cookie
+ <DD>$B%/%C%-!<$r=hM}$7$J$$!#(B
+<DT>-S
+ <DD>tet/plain $B$NJ8=q$rI=<($9$k>l9g!"J#?t$N6u9T$r(B 1$B$D$K$^$H$a$FI=<($9$k!#(B
+<DT>-W
+ <DD>$BJ8;zNs8!:w;~!"@^$jJV$7%5!<%A$r;H$&$+$I$&$+$r@Z$j49$($k!#(B
+<DT>-X
+ <DD>w3m $B=*N;;~$K!"(Bw3m $B5/F0A0$N2hLL$KLa$i$J$$!#(B
+<DT>-o option=value
+ <DD>w3m $B$K4X$9$k$5$^$6$^$J(B option $B$KBP$7$F(B $BCM(B (value) $B$r%;%C%H$9$k!#(B``w3m -o''$B$H<B9T$7$?>l9g!"(Busage $B$KB3$$$F!";XDj2DG=$J(B option $B$H$=$N@bL@$rI=<($9$k!#(B
+<DT>-config $B%U%!%$%kL>(B
+ <DD>w3m $B$N(B config $B%U%!%$%k$r;XDj$9$k!#(B
+<!--
+<DT>-debug
+ <DD>$B%G%P%C%0MQ$J$N$G!";XDj$7$J$$$3$H!#(B
+-->
+</DL>
+</BLOCKQUOTE>
+</DIV>
+
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="environment">$B4D6-JQ?t(B</A></H2>
+<!-- w3m $B$,;2>H$9$k4D6-JQ?t$K$D$$$F(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="bookmark">bookmark $B%U%!%$%k(B</A></H2>
+<!-- bookmark $B%U%!%$%k$K$D$$$F$N@bL@(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="option_panel">$B%*%W%7%g%s%Q%M%k(B</A></H2>
+<!-- $B%*%W%7%g%s%Q%M%k$K$D$$$F$N@bL@(B -->
+
+<H3><A NAME="external_viewer">$B30It%S%e!<%"$NJT=8(B</A></H3>
+<!-- $B30It%S%e!<%"$NJT=8$K$D$$$F$N@bL@(B -->
+
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="other_customize">$B$=$NB>%+%9%?%^%$%:(B</A></H2>
+<!-- $B$=$NB>$N%+%9%?%^%$%:9`L\$K$D$$$F$N@bL@(B -->
+
+<H3><A NAME="keymap">keymap</A></H3>
+<!-- keymap $B$N%+%9%?%^%$%:$K$D$$$F$N@bL@(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H3><A NAME="menu">menu</A></H3>
+<!-- menu $B$N%+%9%?%^%$%:$K$D$$$F$N@bL@(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/contain.wd b/w3m-doc/contain.wd
new file mode 100644
index 0000000..8d48872
--- /dev/null
+++ b/w3m-doc/contain.wd
@@ -0,0 +1,14 @@
+@define
+DOC.index index.html
+DOC.prologue prologue.html
+DOC.copyright copyright.html
+DOC.outline outline.html
+DOC.detail detail.html
+DOC.install install.html
+DOC.operation operation.html
+DOC.configuration configuration.html
+DOC.function function.html
+DOC.FAQ faq.html
+DOC.developement developement.html
+DOC.community community.html
+@end
diff --git a/w3m-doc/copyright.html.in b/w3m-doc/copyright.html.in
new file mode 100644
index 0000000..67c2ca1
--- /dev/null
+++ b/w3m-doc/copyright.html.in
@@ -0,0 +1,45 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>COPYRIGHT&nbsp;- Copyright -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">Copyright</A></H1>
+<DIV>
+<!-- w3m$B$N(BCopyright$B$K4X$7$F(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="#copyright">$BCx:n8"!"%i%$%;%s%9(B</A>
+ <LI><A HREF="#thanks">$B<U<-(B</A>
+ </UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="copyright">$BCx:n8"!"%i%$%;%s%9(B</A></H2>
+<!-- w3m $B$NCx:n8"!"%i%$%;%s%9$K$D$$$F$N@bL@(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="thanks">$B<U<-(B</A></H2>
+<!-- $B<U<-(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/define.wd b/w3m-doc/define.wd
new file mode 100644
index 0000000..d2df71d
--- /dev/null
+++ b/w3m-doc/define.wd
@@ -0,0 +1,9 @@
+@define
+W3M.version w3m-0.2.2
+W3M.author Akinori ITO
+W3M.home http://w3m.sourceforge.net/
+AITO.mail aito@fw.ipsj.or.jp
+W3M.bbs http://mi.med.tohoku.ac.jp/~satodai/w3m/bbs/spool/log.html
+W3M.note http://www2u.biglobe.ne.jp/~hsaka/w3mnote.cgi
+README.fm ../doc/ja/README.fm
+@end
diff --git a/w3m-doc/detail.html.in b/w3m-doc/detail.html.in
new file mode 100644
index 0000000..6836657
--- /dev/null
+++ b/w3m-doc/detail.html.in
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>DETAIL&nbsp;- $B>\:YJT(B -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">$B>\:YJT(B</A></H1>
+<DIV>
+<!-- w3m$B$N3F<o5!G=$K$D$$$F$N>\:Y$r5-$9(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="@DOC.install@">$B%$%s%9%H!<%k$N>\:Y(B</A>
+ <LI><A HREF="@DOC.operation@">w3m $BA`:nK!(B</A> <!-- $B%-!<A`:n@bL@(B -->
+ <LI><A HREF="@DOC.configuration@">$B3F<o@_Dj(B</A>
+ <LI><A HREF="@DOC.function@">$B5!G=>\:Y(B</A>
+ <LI><A HREF="@DOC.FAQ@">FAQ</A>
+ <LI><A HREF="@DOC.developement@">$B3+H/%I%-%e%a%s%H(B</A>
+ <LI><A HREF="@DOC.community@">w3m $B%3%_%e%K%F%#(B</A>
+ <LI><A HREF="@DOC.copyright@">Copiright</A>
+ </UL>
+<HR>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/development.html.in b/w3m-doc/development.html.in
new file mode 100644
index 0000000..38b56fd
--- /dev/null
+++ b/w3m-doc/development.html.in
@@ -0,0 +1,77 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>DEVELOPMENT&nbsp;-$B3+H/%I%-%e%a%s%H(B-</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">w3m$B3+H/%I%-%e%a%s%H(B</A></H1>
+<DIV>
+<!-- w3m$B$N3+H/$K4X$7$F$$$m$$$m$H5-$9(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="#story">w3m$B$N3+H/$K$D$$$F(B</A>
+ <LI><A HREF="#known_bugs">$B8=:_H=L@$7$F$$$k%P%0(B</A>
+ <LI><A HREF="#ToDo">ToDo</A>
+ <LI><A HREF="#history">$BMzNr(B</A>
+ <LI><A HREF="#policy">$B3+H/%]%j%7!<(B</A>
+ <LI><A HREF="#tips">$B3+H/<T8~$1(BTips</A>
+ </UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="story">w3m$B$N3+H/$K$D$$$F(B</A></H2>
+<!-- doc-jp/STORY.html$B$+$i0zMQ(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="known_bugs">$B8=:_H=L@$7$F$$$k%P%0(B</A><H2>
+<!-- $B8=:_H=L@$7$F$$$k%P%0(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="ToDo">ToDo</A><H2>
+<!-- $B$d$i$M$P$J$i$s$3$H!?$d$m$&$+$J$!$J$3$H(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="history">$BMzNr(B</A><H2>
+<!-- w3m$B3+H/MzNr(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="policy">$B3+H/%]%j%7!<(B</A><H2>
+<!-- w3m$B$NL\;X$9$3$H!?3+H/>e$N$3$@$o$j(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="tips">$B3+H/<T8~$1(BTips</A><H2>
+<!-- w3m$B$r3+H/$9$k$&$($G$N>.5;(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/faq.html.in b/w3m-doc/faq.html.in
new file mode 100644
index 0000000..7da0392
--- /dev/null
+++ b/w3m-doc/faq.html.in
@@ -0,0 +1,45 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>FAQ&nbsp;- FAQ -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">FAQ</A></H1>
+<DIV>
+<!-- w3m $B$K4X$7$FNI$/J9$+$l$k(B($B$G$"$m$&(B)$B<ALd$H$=$NEz$(!"$*$h$S!"(BTips $B$r5-$9(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="#faq">$B$h$/J9$+$l$k<ALd$H$=$NEz$((B</A>
+ <LI><A HREF="#tips">Tips</A>
+ </UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="faq">$B$h$/J9$+$l$k<ALd$H$=$NEz$((B</A></H2>
+<!-- w3m $B$K4X$7$FNI$/J9$+$l$k<ALd$H$=$NEz$($K$D$$$F(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="tips">Tips</A></H2>
+<!-- Tips ($B>.5;(B) -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/function.html.in b/w3m-doc/function.html.in
new file mode 100644
index 0000000..9590838
--- /dev/null
+++ b/w3m-doc/function.html.in
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>FUNCTION&nbsp;- $B5!G=>\:Y(B -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">$B5!G=>\:Y(B</A></H1>
+<DIV>
+<!-- w3m $B$N3F5!G=$K$D$$$F$N>\:Y@bL@$r5-$9(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="#url">$BBP1~$7$F$$$k(B URL</A>
+ <LI><A HREF="#html">$BBP1~$7$F$$$k(B HTML</A>
+ <LI><A HREF="#ssl">SSL</A>
+ <LI><A HREF="#cookie">cookie</A>
+ <LI><A HREF="#local_CGI">$B%m!<%+%k(B CGI $B5!G=(B</A>
+ </UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="url">$BBP1~$7$F$$$k(B URL</A></H2>
+<!-- w3m $B$,2r<a2DG=$J(B URL $B$K$D$$$F$N@bL@(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="html">$BBP1~$7$F$$$k(B HTML</A></H2>
+<!-- w3m $B$,BP1~$7$F$$$k(B HTML $B$K$D$$$F(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="ssl">SSL</A></H2>
+<!-- SSL $B$K$D$$$F$N@bL@(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="cookie">cookie</A></H2>
+<!-- cookie $B$K$D$$$F$N@bL@(B -->
+
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="local_CGI">$B%m!<%+%k(B CGI $B5!G=(B</A></H2>
+<!-- $B%m!<%+%k(B CGI $B5!G=$K$D$$$F$N@bL@(B -->
+
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/index.html.in b/w3m-doc/index.html.in
new file mode 100644
index 0000000..7871c48
--- /dev/null
+++ b/w3m-doc/index.html.in
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>THE DOCUMENTS FOR W3M</TITLE>
+</HEAD>
+
+<BODY>
+
+<!-- $B$3$N$"$?$j$K(B w3m $B$N%m%4(B($B$C$F$J$$$+!)(B) $B$H$+(B -->
+<!-- w3m: WWW wo Miru Tool version @W3M.version@ $B$H$+(B -->
+<!-- (C) Copyright by @W3M.author@ March 23, 1999 $B$H$+(B -->
+<!-- $B$rF~$l$F$*$/$Y$-$+$J!)(B -->
+
+<H1><A NAME="index">$B:w0z(B</A></H1>
+<OL>
+ <LI><A HREF="@DOC.prologue@" NAME="prologue">$B$O$8$a$K(B</A> <!-- README $B$N!H(B1. $B$O$8$a$K!I$NItJ,(B -->
+ <UL>
+ <LI><A HREF="@DOC.prologue@#summary">w3m $B$H$O(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.prologue@#glossary">$BMQ8l$N@bL@(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.prologue@#disclaimer">$BCm0U;v9`(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.copyright@">$BCx:n8"!"%i%$%;%s%9(B</A>
+ <LI><A HREF="@DOC.prologue@#confirmation">$BF0:n3NG'(B OS</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ </UL>
+ <LI><A HREF="@DOC.outline@" NAME="outline">$B35MWJT(B</A>
+ <UL>
+ <LI><A HREF="@DOC.outline@#install">$B%$%s%9%H!<%k$N35MW(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.outline@#operation">$BA`:nJ}K!$N35MW(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <UL>
+ <LI><A HREF="@DOC.outline@#display">$BI=<(FbMF$N@bL@(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.outline@#basic">$B4pK\E*$J;H$$J}(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.outline@#help">$B%X%k%W$N;2>H(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ </UL>
+ </UL>
+ <LI><A HREF="@DOC.detail@" NAME="detail">$B>\:YJT(B</A>
+ <UL>
+ <LI><A HREF="@DOC.install@" NAME="install">$B%$%s%9%H!<%k$N>\:Y(B</A>
+ <UL>
+ <LI><A HREF="@DOC.install@#get_w3m">w3m $BF~<jJ}K!(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <UL>
+ <LI><A HREF="@DOC.install@#w3m_home">w3m Homepage</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.install@#BBS">w3m $B$K4X$9$k7G<(HD(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ </UL>
+ <LI><A HREF="@DOC.install@#require">$BI,MW$JJ*(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.install@#configure">configure $B$K$D$$$F(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.install@#config_h">config.h $B$K$D$$$F(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.install@#make">make $B$K$D$$$F(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.install@#tips">$BB>$N(B OS $B$G%$%s%9%H!<%k$9$k:]$N(B Tips</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ </UL>
+ <LI><A HREF="@DOC.operation@" NAME="operation">w3m $BA`:nK!(B</A> <!-- $B%-!<A`:n@bL@(B -->
+ <UL>
+ <LI><A HREF="@DOC.operation@#buffer">$B%P%C%U%!A`:n(B</A>
+ <LI><A HREF="@DOC.operation@#mouse">$B%^%&%9A`:n(B</A>
+ <LI><A HREF="@DOC.operation@#line_edit">$B:G2<9TF~NO(B</A>
+ <LI><A HREF="@DOC.operation@#menu">$B%a%K%e!<A`:n(B</A>
+ </UL>
+ <LI><A HREF="@DOC.configuration@" NAME="configuration">$B3F<o@_Dj(B</A>
+ <UL>
+ <LI><A HREF="@DOC.configuration@#option">$B5/F0%*%W%7%g%s(B</A><IMG SRC=dummy ALT="[$B:Q(B]">
+ <LI><A HREF="@DOC.configuration@#environment">$B4D6-JQ?t(B</A>
+ <LI><A HREF="@DOC.configuration@#bookmark">bookmark $B%U%!%$%k(B</A>
+ <LI><A HREF="@DOC.configuration@#option_panel">$B%*%W%7%g%s%Q%M%k(B</A>
+ <UL>
+ <LI><A HREF="@DOC.configuration@#external_viewer">$B30It%S%e!<%"$NJT=8(B</A>
+ </UL>
+ <LI><A HREF="@DOC.configuration@#other_customize">$B$=$NB>%+%9%?%^%$%:(B</A>
+ <UL>
+ <LI><A HREF="@DOC.configuration@#keymap">keymap</A>
+ <LI><A HREF="@DOC.configuration@#menu">menu</A>
+ </UL>
+ </UL>
+ <LI><A HREF="@DOC.function@" NAME="function">$B5!G=>\:Y(B</A>
+ <UL>
+ <LI><A HREF="@DOC.function@#url">$BBP1~$7$F$$$k(B URL</A>
+ <LI><A HREF="@DOC.function@#html">$BBP1~$7$F$$$k(B HTML</A>
+ <LI><A HREF="@DOC.function@#ssl">SSL</A>
+ <LI><A HREF="@DOC.function@#cookie">cookie</A>
+ <LI><A HREF="@DOC.function@#local_CGI">$B%m!<%+%k(B CGI $B5!G=(B</A>
+ </UL>
+ <LI><A HREF="@DOC.FAQ@" NAME="faq">FAQ</A>
+ <UL>
+ <LI><A HREF="@DOC.FAQ@#faq">$B$h$/J9$+$l$k<ALd$H$=$NEz$((B</A>
+ <LI><A HREF="@DOC.FAQ@#tips">Tips</A>
+ </UL>
+ <LI><A HREF="@DOC.developement@" NAME="developement">$B3+H/%I%-%e%a%s%H(B</A>
+ <UL>
+ <LI><A HREF="@DOC.developement@#story">w3m $B$N3+H/$K$D$$$F(B</A>
+ <LI><A HREF="@DOC.developement@#known_bugs">$B8=:_H=L@$7$F$$$k%P%0(B</A>
+ <LI><A HREF="@DOC.developement@#ToDo">ToDo</A>
+ <LI><A HREF="@DOC.developement@#history">$BMzNr(B</A>
+ <LI><A HREF="@DOC.developement@#policy">$B3+H/%]%j%7!<(B</A>
+ <LI><A HREF="@DOC.developement@#tips">$B3+H/<T8~$1(BTips</A>
+ </UL>
+ <LI><A HREF="@DOC.community@" NAME="community">w3m $B%3%_%e%K%F%#(B</A>
+ <UL>
+ <LI><A HREF="@DOC.community@#ML">$B%a!<%j%s%0%j%9%H(B</A>
+ <LI><A HREF="@DOC.community@#links">$B4XO"(B Web</A>
+ </UL>
+ <LI><A HREF="@DOC.copyright@" NAME="copyright">Copyright</A>
+ <UL>
+ <LI><A HREF="@DOC.copyright@#copyright">$BCx:n8"!"%i%$%;%s%9(B</A>
+ <LI><A HREF="@DOC.copyright@#thanks">$B<U<-(B</A>
+ </UL>
+ </UL>
+</OL>
+
+</BODY>
+
+</HTML>
diff --git a/w3m-doc/install.html.in b/w3m-doc/install.html.in
new file mode 100644
index 0000000..8e27f03
--- /dev/null
+++ b/w3m-doc/install.html.in
@@ -0,0 +1,389 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>INSTALL&nbsp;- $B%$%s%9%H!<%k$N>\:Y(B -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">$B%$%s%9%H!<%k$N>\:Y(B</A></H1>
+<DIV>
+<!-- w3m $B$N%$%s%9%H!<%k$N>\:Y$r5-$9(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="#get_w3m">w3m $BF~<jJ}K!(B</A>
+ <UL>
+ <LI><A HREF="#w3m_home">w3m Homepage</A>
+ <LI><A HREF="#BBS">w3m $B$K4X$9$k7G<(HD(B</A>
+ </UL>
+ <LI><A HREF="#require">$BI,MW$JJ*(B</A>
+ <LI><A HREF="#configure">configure $B$K$D$$$F(B</A>
+ <LI><A HREF="#config_h">config.h $B$K$D$$$F(B</A>
+ <LI><A HREF="#make">make $B$K$D$$$F(B</A>
+ <LI><A HREF="#tips">$BB>$N(B OS $B$G%$%s%9%H!<%k$9$k:]$N(B Tips</A>
+ </UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="get_w3m">w3m $BF~<jJ}K!(B</A></H2>
+<!-- w3m $BF~<jJ}K!(B -->
+<DIV>
+<P>w3m $B$N:G?7HG$O!"0J2<$N(B<A HREF="#w3m_home">w3m home</A> $B$K$b<($7$F$"$k!"(B
+<BLOCKQUOTE>
+<A HREF="http://prdownloads.sourceforge.net/w3m/">http://prdownloads.sourceforge.net/w3m/</A>
+</BLOCKQUOTE>
+$B$+$i<j$KF~$j$^$9!#(B
+<P>$B$A$J$_$K!"8=:_$N:G?7%P!<%8%g%s$O!"(B<B>@W3M.version@</B> $B$G$9!#(B
+<P>$B$J$*!"(Bw3m $B$K4X$9$k>pJs(B($B:G?7HG$d%Q%C%AEy!9(B)$B$K$D$$$F$O!"(B<A HREF="@DOC.community@">w3m $B%3%_%e%K%F%#(B</A>$B$r;2>H$7!"%a!<%j%s%0%j%9%H!"(BWeb BBS $BEy$+$iF~<j$7$F$/$@$5$$!#(B
+</DIV>
+
+<H3><A NAME="w3m_home">w3m Homepage</A></H3>
+<!-- w3m Homepage$B$K$D$$$F(B -->
+<DIV>
+<P>w3m $B$N(B Homepage $B$O(B
+<BLOCKQUOTE>
+<TABLE BORDER="0">
+<TR><TD><A HREF="@W3M.home@">W3M Homepage</A></TD>
+ <TD>@W3M.home@</TD>
+</TABLE>
+</BLOCKQUOTE>
+$B$G$9!#(B
+</DIV>
+
+<H3><A NAME="BBS">w3m $B$K4X$9$k7G<(HD(B</A></H3>
+<!-- $B7G<(HD(B -->
+<DIV>
+<P>w3m $B$K4X$9$k7G<(HD$K$O0J2<$NDL$j$G$9!#(B
+<BLOCKQUOTE>
+<TABLE BORDER="0">
+<TR><TD><A HREF="@W3M.bbs@">w3m $BO"MmD"(B</A></TD>
+ <TD>@W3M.bbs@</TD>
+ <TD>&nbsp;</TD>
+<TR><TD><A HREF="@W3M.note@">w3m $B$*$\$($,$-(B</A></TD>
+ <TD>@W3M.note@</TD>
+ <TD>&nbsp;</TD>
+</TABLE>
+</BLOCKQUOTE>
+</DIV>
+
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="require">$BI,MW$JJ*(B</A></H2>
+<!-- w3m $B$r(B make $B$9$k$&$($GI,MW$JJ*!?$"$l$PNI$$J*(B -->
+<DIV>
+<P>w3m $B$r(B make $B$9$k$&$($G!"I,?\$J$b$N!"$*$h$S!"$"$l$PNI$$$b$N$O0J2<$NDL$j$G$9!#(B
+<P>
+<UL><LI>$BI,?\$J$b$N(B
+ <UL><LI>ANSI-C $B8_49(B C $B%3%s%Q%$%i(B
+ </UL>
+ <LI>$B$"$l$PNI$$$b$N(B
+ <UL><LI>SSLeay/OpenSSL $B%i%$%V%i%j(B
+ <UL><LI>Secure HTTP(https:$B!A(B) $B$r;HMQ$9$k>l9g(B
+ </UL>
+ <LI>GNU patch$B%3%^%s%I(B
+ <UL><LI>w3m $B$K(B patch $B$rE,MQ$9$k>l9g(B
+ </UL>
+ <LI>Perl
+ <UL><LI>w3m $B$G(B $B%G%#%l%/%H%j%j%9%H$rI=<($9$k>l9g$N%m!<%+%k(B CGI $B$G;HMQ$9$k(B
+ </UL>
+ </UL>
+</UL>
+
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="configure">configure $B$K$D$$$F(B</A></H2>
+<!-- configure $B<B9T;~$N@bL@(B -->
+<DIV>
+<P>w3m $B$N%"!<%+%$%V%U%!%$%k$rE83+$7$?%G%#%l%/%H%j$K$"$k(B <B>./configure</B> $B$r<B9T$7$^$9!#$$$/$D$+<ALd$5$l$k$N$G!"$=$l$KEz$($F$/$@$5$$!#(B
+<P>$B0J2<$O!"(B<B>./configure</B> $B<B9T;~$K!"<B:]$KJ9$+$l$k<ALd$N@bL@$G$9!#$J$*!"(B<B>./configure</B> $B$O3F<ALd$KBP$9$kEz$($N4{DjCM(B(default)$B$r;}$C$F$$$^$9!#J8;zNs$rF~NO$;$:$K%j%?!<%s!&%-!<$@$1$r2!$7$?>l9g$O!"$3$N4{DjCM$,;XDj$5$l$?;v$K$J$j$^$9!#(B
+<P><DL>
+<DT>Which directory do you want to put the binary?
+ <DD>$B4{DjCM(B: <U>/usr/local/bin</U><BR>
+ w3m $B$r$I$3$N%G%#%l%/%H%j$N2<$K%$%s%9%H!<%k$9$k$+$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Which directory do you want to put the support binary files?
+ <DD>$B4{DjCM(B: <U>/usr/local/lib/w3m</U><BR>
+ w3m $B$,;2>H$9$k%i%$%V%i%j$rCV$/>l=j$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Which directory do you want to put the helpfile?
+ <DD>$B4{DjCM(B: <U>/usr/local/lib/w3m</U><BR>
+ w3m $B$N%X%k%W%U%!%$%k$rCV$/>l=j$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Which language do you prefer?
+ <DD>
+ <TABLE BORDER="0">
+ <TR><TD>1</TD><TD>-</TD><TD NOWRAP>Japanese (charset ISO-2022-JP, EUC-JP, Shift_JIS)</TD>
+ <TR><TD>2</TD><TD>-</TD><TD NOWRAP>English (charset US_ASCII, ISO-8859-1, etc.)</TD>
+ </TABLE>
+ $B4{DjCM(B: <U>1</U><BR>
+ w3m $B$G;HMQ$9$k8@8l$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Input your display kanji code.
+ <DD>
+ <TABLE BORDER="0">
+ <TR><TD>S</TD><TD>-</TD><TD>Shift JIS</TD>
+ <TR><TD>E</TD><TD>-</TD><TD>EUC-JP</TD>
+ <TR><TD>j</TD><TD>-</TD><TD>JIS: ESC $@ - ESC (J</TD>
+ <TR><TD>N</TD><TD>-</TD><TD>JIS: ESC $B - ESC (J</TD>
+ <TR><TD>n</TD><TD>-</TD><TD>JIS: ESC $B - ESC (B</TD>
+ <TR><TD>m</TD><TD>-</TD><TD>JIS: ESC $@ - ESC (B</TD>
+ </TABLE>
+ $B4{DjCM(B: $BL5$7(B<BR>
+ $B$"$J$?$N%7%9%F%`$GI=<($KMQ$$$i$l$k4A;z%3!<%I$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Do you want to use Lynx-like key binding?
+ <DD>$B4{DjCM(B: <U>n</U><BR>
+ w3m $B$r(B Lynx $BIw$N%-!<%P%$%s%G%#%s%0$G;HMQ$9$k$+$I$&$+$r;XDj$7$^$9!#;HMQ$9$k>l9g$O(B``<B>y</B>''$B$r!";HMQ$7$J$$>l9g$O(B``<B>n</B>''$B$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Do you want to use 2-byte character for table border, item, etc.
+ <DD>$B4{DjCM(B: <U>y</U><BR>
+ $B%F!<%V%k$NOH$K7S@~$rMQ$$$?$j!"%"%$%F%`$K4A;z%7%s%\%k$r;HMQ$9$k$+$I$&$+$r;XDj$7$^$9!#;HMQ$9$k>l9g$O(B``<B>y</B>''$B$r!";HMQ$7$J$$>l9g$O(B``<B>n</B>''$B$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Do you want to automatically generate domain parts of passwords for anonymous FTP logins
+ <DD>$B4{DjCM(B: <U>n</U><BR>
+ $B%"%N%K%^%9(B ftp $B$G(B login $B$9$k:]$N%Q%9%o!<%I$r%m%0%$%sL>$H%I%a%$%sL>$+$i<+F0@8@.$9$k$+$I$&$+$r;XDj$7$^$9!#;HMQ$9$k>l9g$O(B``<B>y</B>''$B$r!";HMQ$7$J$$>l9g$O(B``<B>n</B>''$B$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Do you want listing of options
+ <DD>$B4{DjCM(B: <U>n</U><BR>
+ w3m $B$N(B usage $BI=<(;~$K!":Y$+$J%*%W%7%g%s$K$D$$$F$b%j%9%HI=<($9$k$+$I$&$+$r;XDj$7$^$9!#;HMQ$9$k>l9g$O(B``<B>y</B>''$B$r!";HMQ$7$J$$>l9g$O(B``<B>n</B>''$B$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Do you want NNTP support
+ <DD>$B4{DjCM(B: <U>n</U><BR>
+ w3m $B$G(B NNTP $B$r%5%]!<%H$9$k$+$I$&$+$r;XDj$7$^$9!#;HMQ$9$k>l9g$O(B``<B>y</B>''$B$r!";HMQ$7$J$$>l9g$O(B``<B>n</B>''$B$r;XDj$7$^$9!#(B``<B>y</B>''$B$r;XDj$7$?>l9g!"!H(B<U>news:$B!A(B</U>$B!I$N(B URI $B$,;HMQ$G$-$k$h$&$K$J$k!#(B
+ </DD>
+<DT>Do you want ANSI color escape sequences supprot?
+ <DD>$B4{DjCM(B: <U>n</U><BR>
+ HTML$BJ8=q(B<U>$B0J30(B</U>$B$,!"(BANSI $B$N%+%i!<MQ%(%9%1!<%W!&%7!<%1%s%9$KBP1~$9$k$+$I$&$+$r;XDj$7$^$9!#;HMQ$9$k>l9g$O(B``<B>y</B>''$B$r!";HMQ$7$J$$>l9g$O(B``<B>n</B>''$B$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Let's do some configurations. Choose config option among the list.
+ <DD>
+ <TABLE BORDER="0">
+ <TR><TD>1</TD><TD>-</TD><TD>Baby model</TD><TD>(no color, no menu, no mouse, no cookie, no SSL)</TD>
+ <TR><TD>2</TD><TD>-</TD><TD>Little model</TD><TD>(color, menu, no mouse, no cookie, no SSL)</TD>
+ <TR><TD>3</TD><TD>-</TD><TD>Mouse model</TD><TD>(color, menu, mouse, no cookie, no SSL)</TD>
+ <TR><TD>4</TD><TD>-</TD><TD>Cookie model</TD><TD>(color, menu, mouse, cookie, no SSL)</TD>
+ <TR><TD>5</TD><TD>-</TD><TD>Monster model</TD><TD>(with everything; you need openSSL library)</TD>
+ <TR><TD>6</TD><TD>-</TD><TD>Customize</TD>
+ </TABLE>
+ $B4{DjCM(B: $BL5$7(B<BR>
+ make $B$9$k(B w3m $B$N%b%G%k$r;XDj$7$^$9!#(B``<B>6</B>''$B$r;XDj$7$?>l9g!"8DJL$K%*%W%7%g%s$N;HMQ$rA*Br$7$^$9!#(B<BR>
+ $BA*Br$9$k%*%W%7%g%s$O0J2<$NDL$j!#(B<BR>
+ <BLOCKQUOTE>
+ <TABLE BORDER="0">
+ <TR><TD>color</TD><TD>-</TD><TD>$B%+%i!<I=<((B</TD>
+ <TR><TD>menu</TD><TD>-</TD><TD>$B%a%K%e!<I=<((B</TD>
+ <TR><TD>mouse</TD><TD>-</TD><TD>$B%^%&%9BP1~(B</TD>
+ <TR><TD>cookie</TD><TD>-</TD><TD>cookie $BBP1~(B</TD>
+ <TR><TD>SSL</TD><TD>-</TD><TD>SSL$BBP1~(B($BJLES!"(BopenSSL$B$,I,MW(B)</TD>
+ </TABLE>
+ </BLOCKQUOTE>
+ </DD>
+<DT>Input your favorite editor program.
+ <DD>$B4{DjCM(B: <U>/usr/bin/vi</U><BR>
+ $B%(%G%#%?!&%W%m%0%i%`$r;XDj$7$^$9!#$3$N@_Dj$O8e$G(B<A HREF="@DOC.configuration@">$B8D?MKh$KJQ99!&@_Dj(B</A>$B$G$-$^$9(B
+ </DD>
+<DT>Input your favorite mailer program.
+ <DD>$B4{DjCM(B: <U>/usr/bin/mailx</U>$B!"$^$?$O!"(B<U>/usr/bin/mail</U><BR>
+ $B%a%$%i!<!&%W%m%0%i%`$r;XDj$7$^$9!#$3$N@_Dj$O8e$G(B<A HREF="@DOC.configuration@">$B8D?MKh$KJQ99!&@_Dj(B</A>$B$G$-$^$9!#(B
+ </DD>
+<DT>Input your favorite external browser program.
+ <DD>$B4{DjCM(B: <U>netscape</U>$B!"$^$?$O!"(B<U>iexplore</U>$B!"$^$?$O!"(B<U>lynx</U><BR>
+ $BBeBX%V%i%&%6!&%W%m%0%i%`$r;XDj$7$^$9!#$3$N@_Dj$O8e$G(B<A HREF="@DOC.configuration@">$B8D?MKh$KJQ99!&@_Dj(B</A>$B$G$-$^$9!#(B
+ </DD>
+<DT>Input your favorite C-compiler.
+ <DD>$B4{DjCM(B: <U>gcc</U>$B!"$^$?$O!"(B<U>cc</U><BR>
+ $B;HMQ$9$k(B C $B%3%s%Q%$%i$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Input your favorite C flags.
+ <DD>$B4{DjCM(B: <U>-O</U><BR>
+ C $B%3%s%Q%$%i$G;HMQ$9$k%3%s%Q%$%k%*%W%7%g%s$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Which terminal library do you want to use? (type "none" if you do not need one)
+ <DD>$BC<Kv@)8fMQ%i%$%V%i%j$r;XDj$7$^$9!#(B
+ </DD>
+<DT>Input additional LD flags other than listed above, if any:
+ <DD>$B%j%s%/;~$KDI2C$9$Y$-%i%$%V%i%j!"%U%i%0$,$"$l$P$=$l$r;XDj$7$^$9!#(B
+ </DD>
+</DL>
+<P>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="config_h">config.h $B$K$D$$$F(B</A></H2>
+<!-- config.h $B$G(B define $B$9$k$b$NEy$K$D$$$F(B -->
+<DIV>
+<P><A HREF="#configure">configure</A> $B$G$O@_Dj$5$l$J$$$=$NB>$N5!G=$r;H$$$?$$>l9g$K$O!"(B<B>config.h</B> $B$rJQ99$9$kI,MW$,$"$j$^$9!#(B
+<P>$B0J2<$K(B config.h $B$G;XDj$G$-$k3F(B define $B$NL>>N$H35MW$r5-$7$^$9!#(B
+<P><DL>
+<DT>DICT
+ <DD><B>$B<-=q0z$-5!G=(B</B>$B$rM-8z$K$7$^$9!#(B<BR>
+ $BD4$Y$?$$C18l$K%+!<%=%k$r9g$o$;!"!H(B<B>ESC&nbsp;W</B>$B!I$G(B <B>w3mdict</B> $B%3%^%s%I$r8F$S=P$7$^$9!#(B<BR>
+ <B>w3mdict</B> $B%3%^%s%I$O(B w3m $B$N%"!<%+%$%V$K$OF1:-$5$l$F$$$J$$$N$G!"<+?H$N4D6-$K9g$o$;$F:n@.$7$F$/$@$5$$!#(B<BR>
+ $B$?$H$($P!"$b$C$H$b4JC1$JNc$H$7$F!"(B<B>man</B> $B%3%^%s%I$K(B wrap $B$9$k>l9g!"0J2<$N$h$&$K$7$^$9!#(B<BR>
+ <BLOCKQUOTE>
+ % cat w3mdict<BR>
+ #!/bin/sh<BR>
+ <BR>
+ man $*<BR>
+ </BLOCKQUOTE>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>USE_MARK
+ <DD><B>$B%^!<%/A`:n(B</B>$B$rM-8z$K$7$^$9!#$$$o$f$k(B vi $B$N%^!<%/A`:n$HF1Ey$N$b$N$G$9!#(B<BR>
+ $B$3$l$r(B define $B$9$k$H!"0J2<$N5!G=$r;H$($k$h$&$K$J$j$^$9!#(B
+ <UL>
+ <LI>$B!H(B<B>CTRL-SPC</B>$B!I(B: $B%^!<%/$N@_Dj!?2r=|(B($B%H%0%k(B)
+ <LI>$B!H(B<B>ESC p</B>$B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+ <DD>$B1QC18l$r(B fill $B$7$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>USE_GOPHER
+ <DD>GOPHER $B%W%m%H%3%k$r%5%]!<%H$7$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>USE_NNTP
+ <DD>NNTP $B$r%5%]!<%H$7$^$9!#(B<BR>
+ $B$3$N(B define $B$O(B <A HREF="#configure">configure</A> $B$G@_Dj$5$l$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>ANSI_COLOR
+ <DD>$B%Z!<%8%c%b!<%I$G(B ANSI color $B%(%9%1!<%W%7!<%1%s%9$KBP1~$7$^$9!#(B<BR>
+ HTML $B$N;~$d!"%(%9%1!<%W%7!<%1%s%9$,L5$$>l9g$K$OBP1~$7$^$;$s!#(B<BR>
+ $B$3$N(B define $B$O(B <A HREF="#configure">configure</A> $B$G@_Dj$5$l$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#define</B> $B$G$9!#(B
+ </DD>
+<DT>ID_EXT
+ <DD>HTML4.0 $B$N(B ID $BB0@-$r%j%s%/$GC)$l$k$h$&$K$7$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#define</B> $B$G$9!#(B
+ </DD>
+<DT>BUFINFO
+ <DD>$B%+%l%s%H$J%P%C%U%!$N(B URL $B$r(B ~/.w3m/bufinfo $B%U%!%$%k$K=q$-=P$9$h$&$K$7$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#define</B> $B$G$9!#(B
+ </DD>
+<DT>USE_EGD
+ <DD>EGD(Entropy Gathering Daemon)$B$KBP1~$7Mp?t$N%7!<%I$rF@$^$9!#(B<BR>
+ SSL $B$rAH$_9~$s$@(B w3m $B$N>l9g$KM-8z$G$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>EMACS_LIKE_LINEEDIT
+ <DD>$B:G2<9T$G$NF~NO;~!"(BEmacs $B%i%$%/$J%-!<3d$jEv$F$K$J$j$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>ENABLE_REMOVE_TRAILINGSPACES
+ <DD>$B9TKv$N6uGr$r<h$j=|$-$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>LABEL_TOPLINE
+ <DD>$B%i%Y%k$KHt$s$@:]$N%+!<%=%k0LCV$r2hLL$N@hF,$K$7$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+<DT>NEXTPAGE_TOPLINE
+ <DD>$B%Z%$%80\F0$G!"<!$N2hLL$K0\F0$7$?:]$N%+!<%=%k0LCV$rI,$:2hLL$N@hF,$K$7$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(Bundef $B$N>l9g!"J8=q$NKvHx0J9_$K6u9T$,F~$i$J$$$h$&$KD4@0$5$l$k$?$a!"I,$:$7$b%+!<%=%k0LCV$O2hLL$N@hF,$KMh$^$;$s!#(B
+ </DD>
+<P><DIV ALIGN="left"><B>###&nbsp;$B0J9_$N(B define $B$O(B @W3M.version@ $B$G$O(B unofficial $B$JJ*$G$9(B&nbsp;###</B></DIV>
+<P>
+<DT>MENU_THIN_FRAME
+ <DD>$B%a%K%e!<OH$K:Y$$7S@~$r;HMQ$7$^$9!#(B<BR>
+ $B4{DjCM$O(B <B>#undef</B> $B$G$9!#(B
+ </DD>
+</DL>
+
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="make">make $B$K$D$$$F(B</A></H2>
+<!-- make $B;~$N@bL@(B -->
+<DIV>
+<P><A HREF="#configure">configure</A> $B$r<B9T$7$F!"I,MW$K1~$8$F(B <A HREF="config_h">config.h $B$N=$@5(B</A>$B$r9T$C$?8e!"(B<B>make</B> $B$r<B9T$7$^$9!#(B
+<P>make $B;~$K%3%s%Q%$%k%(%i!<$,H/@8$9$k$h$&$G$"$l$P!"(B
+<BLOCKQUOTE>
+ % make | &amp; tee MAKE.log
+</BLOCKQUOTE>
+$B$r<B9T$7$F!"%m%0%U%!%$%k$r85$KLdBj$N2r7h$r9T$C$F$/$@$5$$!#(B
+<P>$B$^$?!";vA0$K3:Ev%P!<%8%g%s$G$N(B w3m $B$N%Q%C%A$rF~<j$7$F$$$k>l9g$K$O!"(B<B>patch</B> $B$r<B9T$7$F$+$i(B make $B$r9T$C$F$/$@$5$$!#(B
+<P>make $B$,40N;$7!"%$%s%9%H!<%k$9$k>l9g$K$O!"(Broot $B$K$J$C$F!"(B
+<BLOCKQUOTE>
+ % make install
+</BLOCKQUOTE>
+$B$r<B9T$7$F$/$@$5$$!#(B
+<P>$B0J>e$G%$%s%9%H!<%k$O=*N;$G$9!#(B
+<P><A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="tips">$BB>$N(B OS $B$G%$%s%9%H!<%k$9$k:]$N(B Tips</A></H2>
+<!-- $B3F<o(B OS $B>e$G(B w3m $B$r%$%s%9%H!<%k$9$k:]$N(B Tips -->
+<DIV>
+<P><DL>
+<DT>HP-UX
+ <DD>HP $B$N(B (gcc $B$G$O$J$$(B) C $B%3%s%Q%$%i$G%3%s%Q%$%k$9$k>l9g!"(B<A HREF="#configure">configure</A> $B$N(B
+ <BLOCKQUOTE>
+ Input your favorite C-compiler.<BR>
+ (Default: cc)
+ </BLOCKQUOTE>
+ $B$K!"(B<B>cc -Aa -D_HPUX_SOURCE</B> $B$HEz$($F$/$@$5$$!#(B<B>cc</B> $B$@$1$@$H%3%s%Q%$%k$,DL$j$^$;$s!#(B<B>gcc</B> $B$J$i$PIaDL$K%3%s%Q%$%k$ODL$j$^$9$,!"(Bgcc $B$N%P!<%8%g%s$,8E$a$N>l9g$K$O(B <B>-g</B> $B$r(B<U>$BIU$1$J$$(B</U>$B$G$/$@$5$$!#(B
+ </DD>
+<DT>OS/2
+ <DD><B>emx</B> $B$r;H$&;v$G(B w3m $B$r%3%s%Q%$%k$9$k;v$,$G$-$^$9!#(B<BR>
+ $B$^$::G=i$K!"(B
+ <BLOCKQUOTE>
+ % cd gc
+ % make -f EMX_MAKEFILE
+ </BLOCKQUOTE>
+ $B$r<B9T$7$F(B GC $B%i%$%V%i%j$r%3%s%Q%$%k$7$F$*$$$F$+$i!"(Bw3m $BK\BN$r%3%s%Q%$%k$7$^$9!#$J$*!"%+%i!<I=<($,JQ$K$J$k$i$7$$$N$G!"%b%N%/%mMQ$K%3%s%Q%$%k$7$?J}$,NI$$$G$7$g$&!#(B
+ </DD>
+<DT>Windows
+ <DD><A HREF="README.cygwin">README.cygwin</A> $B$r$4Mw$/$@$5$$!#(B
+ </DD>
+<DT>MS-DOS
+ <DD><A HREF="README.dj">README.dj</A> $B$r$4Mw$/$@$5$$!#(B
+ </DD>
+</DL>
+
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/mkdocs b/w3m-doc/mkdocs
new file mode 100755
index 0000000..560c2dc
--- /dev/null
+++ b/w3m-doc/mkdocs
@@ -0,0 +1,57 @@
+#!/bin/sh
+
+convert()
+{
+ SRC=$1
+ HTML=`echo ${SRC} | ${SED} 's/\.in$//p'`
+ DOC=`echo ${HTML} | ${SED} 's/\.html$//p' | ${TR} '[a-z]' '[A-Z]'`
+ echo "converting ${SRC} to ${HTML_TOP_DIR}/${_JA_DIR}/${HTML} ... \c"
+ ${NKF} -e ${SRC} | ${SED} -e 's/。/./gp' -e 's/、/,/gp' | ${NKF} -j | ${W3MDOC} > ${HTML_TOP_DIR}/${_JA_DIR}/${HTML}
+ echo "done.\nconverting ${HTML} to ${DOC_TOP_DIR}/${_JA_DIR}/${DOC} ... \c"
+ ${W3M} -dump -e ${HTML_TOP_DIR}/${_JA_DIR}/${HTML} > ${DOC_TOP_DIR}/${_JA_DIR}/${DOC}
+ echo "done."
+}
+
+W3MDOC="./w3mdoc.pl"
+W3M="w3m"
+if [ -x ${HOME}/bin/pre_w3m ]; then
+ W3M=${HOME}/bin/pre_w3m
+fi
+
+NKF="/usr/local/bin/nkf"
+SED="/usr/bin/sed"
+TR="/usr/bin/tr"
+
+HTML_TOP_DIR="html"
+DOC_TOP_DIR="doc"
+_JA_DIR="ja"
+#HTML_DIR="html"
+#DOC_DIR="doc"
+
+if [ ! -d ${HTML_TOP_DIR} ]; then
+ mkdir ${HTML_TOP_DIR}
+ if [ ! -d ${HTML_TOP_DIR}/${_JA_DIR} ]; then
+ mkdir ${HTML_TOP_DIR}/${_JA_DIR}
+ fi
+fi
+if [ ! -d ${DOC_TOP_DIR} ]; then
+ mkdir ${DOC_TOP_DIR}
+ if [ ! -d ${DOC_TOP_DIR}/${_JA_DIR} ]; then
+ mkdir ${DOC_TOP_DIR}/${_JA_DIR}
+ fi
+fi
+
+if [ $# -eq 0 ]; then
+ for _IN in *.in
+ do
+ convert ${_IN}
+ done
+else
+ for _IN in $*
+ do
+ case ${_IN} in
+ *.in) convert ${_IN};;
+ *) ;;
+ esac
+ done
+fi
diff --git a/w3m-doc/operation.html.in b/w3m-doc/operation.html.in
new file mode 100644
index 0000000..7195159
--- /dev/null
+++ b/w3m-doc/operation.html.in
@@ -0,0 +1,50 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>OPERATION&nbsp;- w3m $BA`:nK!(B -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">w3m $BA`:nK!(B</A></H1>
+<DIV>
+<!-- w3m $B$rA`:n$9$k>e$G$N>\:Y$r5-$9(B -->
+</DIV>
+ <UL>
+ <LI><A HREF="#buffer">$B%P%C%U%!A`:n(B</A>
+ <LI><A HREF="#mouse">$B%^%&%9A`:n(B</A>
+ <LI><A HREF="#line_edit">$B:G2<9TF~NO(B</A>
+ <LI><A HREF="#menu">$B%a%K%e!<(B</A>
+ </UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="buffer">$B%P%C%U%!A`:n(B</A></H2>
+<!-- $B%P%C%U%!A`:n;~$N@bL@(B -->
+
+<H3><A NAME="mouse">$B%^%&%9A`:n(B</A></H3>
+<!-- $B%^%&%9A`:n;~$N@bL@(B -->
+
+<H3><A NAME="line_edit">$B:G2<9TF~NO(B</A></H3>
+<!-- $B:G2<9TF~NO;~$NA`:n$K$D$$$F$N@bL@(B -->
+
+<H3><A NAME="menu">$B%a%K%e!<A`:n(B</A></H3>
+<!-- $B%a%K%e!<A`:n;~$N@bL@(B -->
+
+<DIV>
+<A HREF="#index">$B$3$N%Z!<%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/outline.html.in b/w3m-doc/outline.html.in
new file mode 100644
index 0000000..60bda47
--- /dev/null
+++ b/w3m-doc/outline.html.in
@@ -0,0 +1,352 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>OUTLINE&nbsp;- $B35MWJT(B -</TITLE>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">$B35MWJT(B</A></H1>
+<UL>
+ <LI><A HREF="#install">$B%$%s%9%H!<%k$N35MW(B</A>
+ <LI><A HREF="#operation">$BA`:nJ}K!$N35MW(B</A>
+ <UL>
+ <LI><A HREF="#display">$BI=<(FbMF$N@bL@(B</A>
+ <LI><A HREF="#basic">$B4pK\E*$J;H$$J}(B</A>
+ <LI><A HREF="#help">$B%X%k%W$N;2>H(B</A>
+ <UL>
+ <LI><A HREF="#w3m_original">w3m $B%*%j%8%J%k$N%-!<A`:n(B</A>
+ <LI><A HREF="#like_lynx">Lynx $BIw$N%-!<A`:n(B</A>
+ </UL>
+ </UL>
+</UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+
+<HR>
+
+<H2><A NAME="install">$B%$%s%9%H!<%k$N35MW(B</A></H2>
+<!-- $B%$%s%9%H!<%k$N35MW(B -->
+<DIV>
+<P>w3m$B$r%$%s%9%H!<%k$9$k$K$O!"<!$N$h$&$K$7$^$9!#$J$*!"$3$3$G$O35MW$r=R$Y$k$K;_$a$F$*$-$^$9!#>\:Y$K$D$$$F$O(B<A HREF="@DOC.install@">$B%$%s%9%H!<%k$N>\:Y(B</A>$B$r;2>H$7$F$/$@$5$$!#(B
+<P><OL>
+ <LI>configure $B$r<B9T$9$k!#$$$/$D$+<ALd$5$l$k$N$G!"$=$l$KEz$($^$9!#(B
+ <LI>make $B$r<B9T(B
+ <LI>make install $B$r<B9T(B
+ </OL>
+<P>$B0J>e$G%$%s%9%H!<%k$O=*$o$j$G$9!#(B<BR>
+<BR>
+<A HREF="index">$B$3$N%Z%$%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="operation">$BA`:nJ}K!$N35MW(B</A></H2>
+<!-- $BA`:nJ}K!$N35MW(B -->
+<P>
+w3m $B$N5/F0;~$N;XDj$O<!$NDL$j$G$9!#(B
+<P>
+<PRE>
+ w3m [options] [file | URL]
+</PRE>
+<P>
+$B0z?t$K%m!<%+%k%U%!%$%kL>$r;XDj$9$l$P$=$N%U%!%$%k$rI=<($7!"(BURL $B$r;XDj$9$l$P$=$N(B URL $B$G<($5$l$k(B WWW $B$NFbMF$rI=<($7$^$9!#(B<BR>
+$B2?$b;XDj$7$J$1$l$P!"I8=`F~NO$NFbMF$rI=<($7$^$9!#$?$@$7!"I8=`F~NO$,(B tty $B$G$"$k>l9g$K$O!"(Busage$B$r=PNO$7$F=*N;$7$^$9!#(B
+<P>
+$B;XDj$G$-$k0z?t$K$D$$$F$O!"(B<A HREF="@DOC.configuration#option">$B5/F0%*%W%7%g%s(B</A> $B$r;2>H$7$F$/$@$5$$!#(B
+
+<HR>
+
+<H3><A NAME="display">$BI=<(FbMF$N@bL@(B</A></H3>
+<!-- $BI=<(FbMF$N@bL@(B -->
+<P>
+HTML$BJ8=q$rI=<($7$F$$$k$H$-$K$O!"<!$N$h$&$JI=<($K$J$j$^$9!#(B
+<P>
+<DIV ALIGN="center">
+<TABLE BORDER="1">
+<TR><TH>&nbsp;</TH><TH>$B%+%i!<I=<(;~(B</TH><TH>$B%b%N%/%mI=<(;~(B</TH>
+<TR><TD>$B%j%s%/(B</TD><TD ALIGN="center">$B@D?'(B</TD><TD ALIGN="center">$B2<@~(B</TD>
+<TR><TD>$B%$%s%i%$%s2hA|(B</TD><TD ALIGN="center">$BNP?'(B</TD><TD ALIGN="center">$BH?E>I=<((B</TD>
+<TR><TD>$B%U%)!<%`$NF~NOItJ,(B</TD><TD ALIGN="center">$B@V?'(B</TD><TD ALIGN="center">$BH?E>I=<((B</TD>
+</TABLE>
+</DIV>
+<P>
+$B%+%i!<I=<(;~$N?'$O!"%*%W%7%g%s@_Dj%Q%M%k$GJQ99$9$k;v$,$G$-$^$9!#(B
+
+<HR>
+
+<H3><A NAME="basic">$B4pK\E*$J;H$$J}(B</A></H3>
+<!-- $B4pK\E*$J;H$$J}(B -->
+<P>
+w3m $B$r5/F0$7$?8e$O!"(B1$BJ8;z$N%3%^%s%I$r%-!<%\!<%I$+$iF~NO$9$k;v$GA`:n$7$^$9!#4pK\E*$J;H$$J}$K$D$$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3>
+<!-- $B%X%k%W$N;2>H(B -->
+<P>
+w3m $B$N(Bmake$B;~$K;XDj$7$?%-!<A`:n$K$h$C$F!"%X%k%W%U%!%$%k$,0[$J$j$^$9!#(B
+<UL>
+ <LI><A HREF="#w3m_original">w3m $B%*%j%8%J%k$N%-!<A`:n(B</A>
+ <LI><A HREF="#like_lynx">Lynx $BIw$N%-!<A`:n(B</A>
+</UL>
+<P>
+<HR>
+
+<P>
+<H4><A NAME="w3m_original">w3m $B%*%j%8%J%k$N%-!<A`:n(B</A></H4>
+
+<H5>$B%Z!<%8(B/$B%+!<%=%k0\F0(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>SPC,C-v</TD> <TD>$B<!%Z!<%8(B</TD></TR>
+ <TR> <TD>b,ESC v</TD> <TD>$BA0%Z!<%8(B</TD></TR>
+ <TR> <TD>l,C-f</TD> <TD>$B%+!<%=%k$r1&$X0\F0(B</TD></TR>
+ <TR> <TD>h,C-b</TD> <TD>$B%+!<%=%k$r:8$X0\F0(B</TD></TR>
+ <TR> <TD>j,C-n</TD> <TD>$B%+!<%=%k$r2<$X0\F0(B</TD></TR>
+ <TR> <TD>k,C-p</TD> <TD>$B%+!<%=%k$r>e$X0\F0(B</TD></TR>
+ <TR> <TD>J</TD><TD>$B0l9T>e$K%9%/%m!<%k(B($B?J$`(B)</TD></TR>
+ <TR> <TD>K</TD><TD>$B0l9T2<$K%9%/%m!<%k(B($BLa$k(B)</TD></TR>
+ <TR> <TD>w</TD><TD>$B<!$NC18l$K0\F0(B</TD></TR>
+ <TR> <TD>W</TD><TD>$BA0$NC18l$K0\F0(B</TD></TR>
+ <TR> <TD>&gt;</TD> <TD>$B1&$K0l2hLLJ,%7%U%H(B</TD></TR>
+ <TR> <TD>&lt;</TD> <TD>$B:8$K0l2hLLJ,%7%U%H(B</TD></TR>
+ <TR> <TD>.</TD> <TD>$B1&$K0lJ8;zJ,%7%U%H(B</TD></TR>
+ <TR> <TD>,</TD> <TD>$B:8$K0lJ8;zJ,%7%U%H(B</TD></TR>
+ <TR> <TD>g</TD> <TD>$B%Z!<%8$N@hF,9T$K0\F0(B</TD></TR>
+ <TR> <TD>G</TD> <TD>$B%Z!<%8$N:G=*9T$K0\F0(B</TD></TR>
+ <TR> <TD>ESC g</TD> <TD>$B;XDj9T$K0\F0(B</TD></TR>
+ <TR> <TD>TAB</TD> <TD>$B<!$N%O%$%Q!<%j%s%/$K0\F0(B</TD></TR>
+ <TR> <TD>C-u, ESC TAB</TD> <TD>$BA0$N%O%$%Q!<%j%s%/$K0\F0(B</TD></TR>
+ <TR> <TD>[</TD> <TD>$B:G=i$N%O%$%Q!<%j%s%/$K0\F0(B</TD></TR>
+ <TR> <TD>]</TD> <TD>$B:G8e$N%O%$%Q!<%j%s%/$K0\F0(B</TD></TR>
+</TABLE>
+
+<H5>$B%O%$%Q!<%j%s%/A`:n(B</H5>
+
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>RET</TD> <TD>$B%+!<%=%k2<$N%j%s%/$XHt$V(B</TD></TR>
+ <TR> <TD>a, ESC RET</TD> <TD>$B%j%s%/@h$NJ8=q$r%U%!%$%k$KJ]B8(B</TD></TR>
+ <TR> <TD>ESC I</TD> <TD>$B%j%s%/@h$N2hA|$r%U%!%$%k$KJ]B8(B</TD></TR>
+ <TR> <TD>u</TD> <TD>$B%j%s%/@h(B URL $B$NI=<((B</TD></TR>
+ <TR> <TD>I</TD> <TD>$B%$%s%i%$%s%$%a!<%8$NI=<((B</TD></TR>
+ <TR> <TD>:</TD> <TD>URL$B$N$h$&$JJ8;z$r%"%s%+!<$H$7$F%^!<%/(B</TD></TR>
+ <TR> <TD>ESC :</TD> <TD>Message-ID $B$N$h$&$JJ8;z$r%"%s%+!<$H$7$F%^!<%/(B</TD></TR>
+ <TR> <TD>c</TD> <TD>$B8=%Z!<%8$N(B URL $B$rI=<((B</TD></TR>
+ <TR> <TD>=</TD> <TD>$B8=%I%-%e%a%s%H$N>pJs$rI=<((B</TD></TR>
+ <TR> <TD>F</TD> <TD>$B%U%l!<%`$rI=<($9$k(B</TD></TR>
+ <TR> <TD>M</TD> <TD>$B8=%Z!<%8$r30It%V%i%&%6$GI=<($9$k(B(2M,3M $B$G(B2$BHVL\$H(B3$BHVL\$N%V%i%&%6$r8F$S$@$9(B)</TD></TR>
+ <TR> <TD>ESC M</TD> <TD>$B%j%s%/@h$r30It%V%i%&%6$GI=<($9$k(B(2ESC M,3ESC M $B$G(B2$BHVL\$H(B3$BHVL\$N%V%i%&%6$r8F$S$@$9(B)</TD></TR>
+</TABLE>
+
+<H5>$B%U%!%$%k(B/$B%9%H%j!<%`A`:n(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>U</TD> <TD>URL$B$r;XDj(B</TD></TR>
+ <TR> <TD>V</TD> <TD>$B%U%!%$%k$r3+$/(B</TD></TR>
+ <TR> <TD>@</TD> <TD>$B%7%'%k$r5/F0$7FI$_9~$`(B</TD></TR>
+ <TR> <TD>#</TD> <TD>$B%7%'%k$r5/F0$7FI$_9~$`(B</TD></TR>
+</TABLE>
+
+<H5>$B%P%C%U%!A`:n(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>B</TD> <TD>$BA0$N%P%C%U%!$K0\F0(B</TD></TR>
+ <TR> <TD>v</TD> <TD>HTML$B%=!<%9$rI=<((B</TD></TR>
+ <TR> <TD>s</TD> <TD>$B%P%C%U%!$rA*Br(B</TD></TR>
+ <TR> <TD>E</TD> <TD>$B%P%C%U%!$N%=!<%9$rJT=8(B</TD></TR>
+ <TR> <TD>R</TD> <TD>$B%P%C%U%!$r:FFI$_9~$_(B</TD></TR>
+ <TR> <TD>S</TD> <TD>$B%P%C%U%!$rJ]B8(B</TD></TR>
+ <TR> <TD>ESC s</TD> <TD>HTML $B%=!<%9$rJ]B8(B</TD></TR>
+ <TR> <TD>ESC e</TD> <TD>$B%P%C%U%!$NI=<(%$%a!<%8$rJT=8(B</TD></TR>
+</TABLE>
+
+<H5>$B%V%C%/%^!<%/A`:n(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>ESC b</TD> <TD>$B%V%C%/%^!<%/$rFI$_9~$`(B</TD></TR>
+ <TR> <TD>ESC a</TD> <TD>$B8=%Z!<%8$r%V%C%/%^!<%/$KDI2C(B</TD></TR>
+</TABLE>
+
+<H5>$B8!:w(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>/,C-s</TD> <TD>$BA0J}8!:w(B</TD></TR>
+ <TR> <TD>?,C-r</TD> <TD>$B8eJ}8!:w(B</TD></TR>
+ <TR> <TD>n</TD> <TD>$B<!$r8!:w(B</TD></TR>
+ <TR> <TD>N</TD> <TD>$BA0$r8!:w(B</TD></TR>
+</TABLE>
+
+<H5>$B%^!<%/A`:n(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>C-SPC</TD> <TD>$B%^!<%/$N@_Dj(B/$B>C5n(B</TD></TR>
+ <TR> <TD>ESC p</TD> <TD>$BA0$N%^!<%/$X0\F0(B</TD></TR>
+ <TR> <TD>ESC n</TD> <TD>$B<!$N%^!<%/$X0\F0(B</TD></TR>
+ <TR> <TD>"</TD> <TD>$B@55,I=8=$K$h$k%^!<%/(B</TD></TR>
+</TABLE>
+
+<H5>$B$=$NB>(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>!</TD> <TD>$B%7%'%k$N<B9T(B</TD></TR>
+ <TR> <TD>H</TD> <TD>$B%X%k%W(B($B$3$N%U%!%$%k$rI=<((B)</TD></TR>
+ <TR> <TD>o</TD> <TD>$B%*%W%7%g%s@_Dj(B</TD></TR>
+ <TR> <TD>C-k</TD> <TD>$B%/%C%-!<0lMw$rI=<((B</TD></TR>
+ <TR> <TD>C-c</TD> <TD>$BJ8=q$NFI$_9~$_$rCfCG(B</TD></TR>
+ <TR> <TD>C-z</TD> <TD>$B%5%9%Z%s%I(B</TD></TR>
+ <TR> <TD>q</TD> <TD>w3m $B$r=*N;(B($B3NG'$"$j(B)</TD></TR>
+ <TR> <TD>Q</TD> <TD>w3m $B$r=*N;(B($B3NG'$J$7(B)</TD></TR>
+</TABLE>
+
+<H5>$B9TJT=8%b!<%I(B</H5>
+<TABLE CELLPADDING=0>
+ <TR> <TD WIDTH=100>C-f</TD> <TD>$B%+!<%=%k$r1&$X0\F0(B</TD></TR>
+ <TR> <TD>C-b</TD> <TD>$B%+!<%=%k$r:8$X0\F0(B</TD></TR>
+ <TR> <TD>C-h</TD> <TD>$BA0$NJ8;z$r:o=|(B</TD></TR>
+ <TR> <TD>C-d</TD> <TD>$B%+!<%=%k0LCV$NJ8;z$r:o=|(B</TD></TR>
+ <TR> <TD>C-k</TD> <TD>$B%+!<%=%k$N8eJ}$rA4$F:o=|(B</TD></TR>
+ <TR> <TD>C-u</TD> <TD>$B%+!<%=%k$NA0$^$G$rA4$F:o=|(B</TD></TR>
+ <TR> <TD>C-a</TD> <TD>$B9TF,$K0\F0(B</TD></TR>
+ <TR> <TD>C-e</TD> <TD>$B9TKv$X0\F0(B</TD></TR>
+ <TR> <TD>C-p</TD> <TD>$B%R%9%H%j$+$i0l$DA0$NJ8;zNs$r<h$j=P$9(B</TD></TR>
+ <TR> <TD>C-n</TD> <TD>$B%R%9%H%j$+$i<!$NJ8;zNs$r<h$j=P$9(B</TD></TR>
+ <TR> <TD>TAB,SPC</TD> <TD>$B%U%!%$%kL>$NJd40(B</TD></TR>
+ <TR> <TD>RETURN</TD> <TD>$BF~NO=*N;(B</TD></TR>
+</TABLE>
+<HR>
+
+<P>
+<H4><A NAME="like_lynx">Lynx $BIw$N%-!<A`:n(B</A></H4>
+
+<H5>$B%Z!<%8(B/$B%+!<%=%k0\F0(B</H5>
+<table cellpadding=0>
+<TR><TD>SPC,C-v<TD>$B<!$N%Z!<%8$rI=<($7$^$9!%(B
+<TR><TD>b,ESC v<TD>$BA0$N%Z!<%8$rI=<($7$^$9!%(B
+<TR><TD>l<TD>$B%+!<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$l$F$$$k7A<0$N$^$^%(%G%#%?$GJT=8$7$^$9!%(B
+</table>
+
+<H5>$B%P%C%U%!A*Br%b!<%I(B</H5>
+"s" $B$G%P%C%U%!A*Br%b!<%I$KF~$C$?$H$-$N%-!<A`:n$G$9!%(B
+<table cellpadding=0>
+<TR><TD WIDTH=100>k,C-p<TD>$B0l$D>e$N%P%C%U%!$rA*Br$7$^$9!%(B
+<TR><TD>j,C-n<TD>$B0l$D2<$N%P%C%U%!$rA*Br$7$^$9!%(B
+<TR><TD>D<TD>$B8=:_A*Br$7$F$$$k%P%C%U%!$r:o=|$7$^$9!%(B
+<TR><TD>RET<TD>$B8=:_A*Br$7$F$$$k%P%C%U%!$rI=<($7$^$9!%(B
+</table>
+
+<H5>$B%V%C%/%^!<%/A`:n(B</H5>
+<table cellpadding=0>
+<TR><TD WIDTH=100>v, ESC b<TD>$B%V%C%/%^!<%/$rFI$_9~$_$^$9!%(B
+<TR><TD>a, ESC a<TD>$B8=:_8+$F$$$k%Z!<%8$r%V%C%/%^!<%/$KDI2C$7$^$9!%(B
+</table>
+
+<H5>$B8!:w(B</H5>
+<table cellpadding=0>
+<TR><TD WIDTH=100>/<TD>$B8=:_$N%+!<%=%k0LCV$+$i%U%!%$%kKvHx$K8~$+$C$F@55,I=8=$r8!:w$7$^$9!%(B
+<TR><TD>?<TD>$B8=:_$N%+!<%=%k0LCV$+$i%U%!%$%k$N@hF,$K8~$+$C$F@55,I=8=$r8!:w$7$^$9!%(B
+<TR><TD>n<TD>$B<!$r8!:w$7$^$9!%(B
+</table>
+
+<H5>$B%^!<%/A`:n(B</H5>
+<table cellpadding=0>
+<TR><TD WIDTH=100>C-SPC<TD>$B%^!<%/$r@_Dj!?2r=|$7$^$9!%%^!<%/$OH?E>I=<($5$l$^$9!%(B
+<TR><TD>ESC p<TD>$B0l$DA0$N%^!<%/$K0\F0$7$^$9!%(B
+<TR><TD>ESC n<TD>$B0l$D8e$N%^!<%/$K0\F0$7$^$9!%(B
+<TR><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zNs$N:G8e$K0\F0$7$^$9!%(B
+<TR><TD>SPC<TD>$B%U%!%$%kL>F~NO;~$K!$%U%!%$%kL>$rJd40$7$^$9!%(B
+<TR><TD>RETURN<TD>$BF~NO$r=*N;$7$^$9!%(B
+</table>
+
+<DIV>
+<A HREF="index">$B$3$N%Z%$%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+
+</BODY>
+</HTML>
+
diff --git a/w3m-doc/prologue.html.in b/w3m-doc/prologue.html.in
new file mode 100644
index 0000000..922bc4b
--- /dev/null
+++ b/w3m-doc/prologue.html.in
@@ -0,0 +1,99 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+@include define.wd
+@include contain.wd
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
+<TITLE>PROLOGUE&nbsp;- $B$O$8$a$K(B -</title>
+</HEAD>
+
+<BODY>
+
+<H1><A NAME="index">$B$O$8$a$K(B</A></H1>
+
+<UL>
+ <LI><A HREF="#summary">w3m $B$H$O(B</A>
+ <LI><A HREF="#glossary">$BMQ8l$N@bL@(B</A>
+ <LI><A HREF="#disclaimer">$BCm0U;v9`(B</A>
+ <LI><A HREF="@DOC.copyright@">$BCx:n8"!"%i%$%;%s%9(B</A>
+ <LI><A HREF="#confirmation">$BF0:n3NG'(B OS</A>
+</UL>
+
+<DIV>
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="summary">w3m $B$H$O(B</A></H2>
+<!-- w3m $B$H$O(B -->
+<DIV>
+<P>$B!!(Bw3m $B$O!"(BWorld Wide Web $B$KBP1~$7$?%F%-%9%H%Y!<%9$N%Z!<%8%c$G$9!#(Bkterm $B$J$I$N%-%c%i%/%?C<Kv>e$G!"%m!<%+%k%U%!%$%k$r8+$?$j!"(BWWW $B$NFbMF$r8+$?$j$9$k$3$H$,$G$-$^$9!#(B<BR>
+<P>$B!!(Bw3m $B$O!"(Bfm $B$H$$$&%Z!<%8%c$r%Y!<%9$H$7$F:n$i$l$^$7$?!#(Bfm $B$K$D$$$F$N>\:Y$O!"(B<A HREF="@README.fm@">README.fm</A> $B$r$*FI$_$/$@$5$$!#(Bw3m $B$N%Z!<%8%c$H$7$F$N4pK\E*$JFCD'$O!"(Bfm $B$H$[$H$s$IF1$8$G$9!#(B<BR>
+<P>$B!!(Bw3m $BFH<+$NFCD'$H$7$F$O!"<!$N$h$&$J$b$N$,$"$j$^$9!#(B<BR>
+<P><UL>
+ <LI>WWW $BBP1~$J$N$G!"(BHTML $B$NJ8>O$rFI$s$G$$$k;~$K$O!"$=$NCf$N%j%s%/$rC)$C$?$j2hA|$r8+$k;v$,$G$-$k!#(B
+ <LI>Internet message $BI=<($N$?$a$N%b!<%I$,$"$k!#$3$N;~!"(BContent-Type: $B$,(B text/html $B$N>l9g$O!"<+F0E*$K(B HTML $B$NJ8=q$H$7$FI=<($9$k!#$^$?!"<+NO$G(B MIME header $B$N%G%3!<%I$r$9$k!#(B
+ <LI>$B8+$F$$$k(B plain text $BJ8=qCf$K(B URL $BI=5-$,$"$C$?>l9g!"$=$NItJ,$+$i%j%s%/$r$?$I$k;v$,$G$-$k!#(B
+ </UL>
+<BR>
+<A HREF="#index">$B$3$N%Z%$%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="glossary">$BMQ8l$N@bL@(B</A></H2>
+<!-- $B@bL@$NET9g>e$KI,MW$JMQ8l@bL@(B -->
+<DIV>
+<A HREF="#index">$B$3$N%Z%$%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="disclaimer">$BCm0U;v9`(B</A></H2>
+<!-- $BCm0U;v9`(B -->
+<DIV>
+<P>$B$3$N%=%U%H%&%'%"$K$h$C$FMxMQ<T$^$?$OBh;0<T$,2?$i$+$NHo32$r<u$1$?>l9g!":n<T$O$=$N@UG$$r0l@Z$*$$$^$;$s!#$3$N;v$r>5Bz$9$k8B$j$K$*$$$F!"$3$N%=%U%H%&%'%"$O!"C/$G$b:n<T$KCG$j$J$/MxMQ!&2~JQ!&G[I[$G$-$^$9!#(B<BR>
+<P>
+<A HREF="#index">$B$3$N%Z%$%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2>$BCx:n8"!"%i%$%;%s%9(B</H2>
+<DIV>
+<P>$B!!(B<A HREF="@DOC.copyright@">$BCx:n8"!"%i%$%;%s%9(B</A>$B$r;2>H$/$@$5$$!#(B
+</DIV>
+<DIV>
+<A HREF="#index">$B$3$N%Z%$%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<H2><A NAME="confirmation">$BF0:n3NG'(BOS</A></H2>
+<!-- $BF0:n3NG'(BOS -->
+<DIV>
+<P>$B!!8=:_!"F0:n$,3NG'$5$l$F$$$k(B OS $B$O0J2<$NDL$j$G$9!#(B
+<BLOCKQUOTE>
+ <TABLE BORDER="0">
+ <TR><TD ALIGN="left">SunOS4.1.x</TD>
+ <TR><TD ALIGN="left">HP-UX 9.x, 10.x</TD>
+ <TR><TD ALIGN="left">Soraris2.5.x</TD>
+ <TR><TD ALIGN="left">Linux 2.0.30</TD>
+ <TR><TD ALIGN="left">FreeBSD 2.2.8, 3.1, 3.2, 4.6</TD>
+ <TR><TD ALIGN="left">NetBSD/macppc, m68k</TD>
+ <TR><TD ALIGN="left">EWS4800 Release12.2 Rev.A</TD>
+ <TR><TD ALIGN="left">Digital UNIX: v3.2D, v4.0D</TD>
+ <TR><TD ALIGN="left">IRIX 5.3, IRIX 6.5</TD>
+ <TR><TD ALIGN="left">OS/2 with emx</TD>
+ <TR><TD ALIGN="left">Windows 9x/NT with Cygwin32 b20.1</TD>
+ <TR><TD ALIGN="left">MS-DOS with DJGPP and WATT32 packet drive</TD>
+ <TR><TD ALIGN="left">MacOS X Server</TD>
+ <TR><TD ALIGN="left">MacOS X 10.1, 10.2</TD>
+ </TABLE>
+</BLOCKQUOTE>
+<A HREF="#index">$B$3$N%Z%$%8$N@hF,$KLa$k(B</A>
+</DIV>
+<HR>
+
+<A HREF="@DOC.index@">$B%H%C%W%Z%$%8$KLa$k(B</A>
+
+</BODY>
+</HTML>
diff --git a/w3m-doc/sample/README b/w3m-doc/sample/README
new file mode 100644
index 0000000..7bb9dab
--- /dev/null
+++ b/w3m-doc/sample/README
@@ -0,0 +1,41 @@
+
+使い方
+ perl w3mdoc.pl sample.wd > sample.html
+
+展開されるもの
+
+* @xxx.yyy@
+
+ @define 〜 @end 内で定義された値に展開される。
+
+* @YYY(xxx)@
+
+ @code 〜 @end 内で定義された関数を呼び出して展開される。
+
+ 例)
+ URL(xxx) xxx.url
+ LINK(xxx) <A HREF="xxx.url">xxx.title</A>
+ MAILTO(xxx) <A HREF="mailto:xxx.address">xxx.name</A>
+
+コマンド一覧
+
+* 定義
+ @define
+ xxx.yyy zzz
+ @end
+
+ xxx.yyy を zzz と定義する。xxx は以下の関数の引数にもなる。
+ 例は define.wd を参照。
+
+* コード(関数定義)
+ @code
+ コード
+ @end
+
+ w3mdoc を実装している言語のコードを直接書く。とりあえず perl5。
+ 例は html.wd を参照。
+
+* インクルード
+ @include file
+
+ ファイルを include する。
diff --git a/w3m-doc/sample/define.wd b/w3m-doc/sample/define.wd
new file mode 100644
index 0000000..f588f4c
--- /dev/null
+++ b/w3m-doc/sample/define.wd
@@ -0,0 +1,4 @@
+@define
+hsaka.url http://www2u.biglobe.ne.jp/~hsaka/
+hsaka.title 坂本浩則のホームページ
+@end
diff --git a/w3m-doc/sample/html.wd b/w3m-doc/sample/html.wd
new file mode 100644
index 0000000..1b1d7f2
--- /dev/null
+++ b/w3m-doc/sample/html.wd
@@ -0,0 +1,18 @@
+@code
+sub URL {
+ $_[0]->CHECK(qw(url));
+ $_[0]->{url};
+}
+sub LINK {
+ $_[0]->CHECK(qw(url title));
+ "<A HREF=\"$_[0]->{url}\">$_[0]->{title}</A>";
+}
+sub LINK_SEC {
+ $_[0]->CHECK(qw(url section title));
+ "<A HREF=\"$_[0]->{url}\">$_[0]->{section} $_[0]->{title}</A>";
+}
+sub MAILTO {
+ $_[0]->CHECK(qw(address name));
+ "<A HREF=\"mailto:$_[0]->{address}\">$_[0]->{name}</A>";
+}
+@end
diff --git a/w3m-doc/sample/keymap.cgi b/w3m-doc/sample/keymap.cgi
new file mode 100755
index 0000000..f68f5fb
--- /dev/null
+++ b/w3m-doc/sample/keymap.cgi
@@ -0,0 +1,268 @@
+#!/usr/local/bin/perl
+
+$QUERY = $ENV{'QUERY_STRING'};
+$KEYMAP = "$ENV{'HOME'}/.w3m/keymap";
+
+if ($QUERY) {
+ # &write_keymap($QUERY);
+ print <<EOF;
+Content-Type: text/html
+w3m-control: DELETE_PREVBUF
+w3m-control: BACK
+
+EOF
+ exit;
+}
+&init_func();
+@key = ();
+@func = ();
+@data = ();
+open(KEYMAP, $KEYMAP);
+while (<KEYMAP>) {
+ s/^keymap\s+// || next;
+ (($k, $_) = &getQWord($_)) || next;
+ (($f, $_) = &getWord($_)) || next;
+ $FUNC_EXIST{$f} || next;
+ ($d, $_) = &getQWord($_);
+ push(@key, $k);
+ push(@func, $f);
+ push(@data, $d);
+}
+close(KEYMAP);
+
+$N = @key;
+
+print <<EOF;
+Content-Type: text/html
+
+<head><title>Keymap Setting</title></head>
+<h1>Keymap Setting</h1>
+<form action="file:///\$LIB/keymap.cgi">
+<table>
+<tr><td>&nbsp;Key<td>&nbsp;Command<td>&nbsp;Argument
+<tr><td><input name=k_$N size=6>
+<td><select name=f_$N>
+EOF
+&print_func();
+print <<EOF;
+</select>
+<td><input name=d_$N>
+<td><input type=submit name=ok value=Ok>
+<tr><td colspan=4><hr>
+EOF
+$i = 0;
+while(@key) {
+ $k = &Q(shift @key);
+ $f = shift @func;
+ $d = &Q(shift @data);
+ print <<EOF;
+<tr><td><input type=hidden name=k_$i value=\"$k\">&nbsp;$k
+<td><select name=f_$i>
+EOF
+ &print_func($f);
+ print <<EOF;
+</select>
+<td><input name=d_$i value=\"$d\">
+<td><input type=checkbox name=del_$i>Delete
+EOF
+ $i++;
+}
+print <<EOF;
+</table>
+</form>
+EOF
+
+sub write_keymap {
+ local($query) = @_;
+ @key = ();
+ @func = ();
+ @data = ();
+
+ for $q (split('&', $query)) {
+ ($_, $d) = split('=', $q);
+ if (s/^k_//) {
+ $key[$_] = $d;
+ } elsif (s/^f_//) {
+ $func[$_] = $d;
+ } elsif (s/^d_//) {
+ $data[$_] = $d;
+ } elsif (s/^del_//) {
+ $del[$_] = 1;
+ }
+ }
+ open(KEYMAP, "> ${KEYMAP}") || next;
+ while(@key) {
+ $k = &UQ(shift @key);
+ $f = shift @func;
+ $d = &UQ(shift @data);
+ ($f =~ /^\w/) || next;
+ (shift @del) && next;
+ print KEYMAP "keymap\t$k\t$f";
+ if ($d ne '') {
+ if ($d =~ /[\"\'\\\s]/) {
+ $d =~ s/([\"\\])/\\$1/g;
+ print KEYMAP "\t\t\"$d\"";
+ } else {
+ $d =~ s/([\"\\])/\\$1/g;
+ print KEYMAP "\t\t$d";
+ }
+ }
+ print KEYMAP "\n";
+ }
+ close(KEYMAP);
+}
+
+sub UQ {
+ local($_) = @_;
+ s/\+/ /g;
+ s/%([\da-f][\da-f])/pack('c', hex($1))/egi;
+ return $_;
+}
+
+sub Q {
+ local($_) = @_;
+ s/\&/\&amp;/g;
+ s/\</\&lt;/g;
+ s/\>/\&gt;/g;
+ s/\"/\&quot;/g;
+ return $_;
+}
+
+sub getQWord {
+ local($_) = @_;
+ local($x) = '';
+ s/^\s+//;
+ while($_ ne '') {
+ if (s/^\'(([^\'\\]|\\.)*)\'// ||
+ s/^\"(([^\"\\]|\\.)*)\"// ||
+ s/^([^\'\"\\\s]+)// || s/^\\(.)//) {
+ $x .= $1;
+ } else {
+ last;
+ }
+ }
+ return ($x, $_);
+}
+
+sub getWord {
+ local($_) = @_;
+ s/^\s+//;
+ s/^(\S+)// || return ();
+ return ($1, $_);
+}
+
+sub print_func {
+ local($f) = @_;
+ for(@FUNC_LIST) {
+ if ($f eq $_) {
+ print "<option selected>$_\n";
+ } else {
+ print "<option>$_\n";
+ }
+ }
+}
+
+sub init_func {
+ @FUNC_LIST = ();
+ %FUNC_EXIST = ();
+ while(<DATA>) {
+ chop;
+ push(@FUNC_LIST, $_);
+ $FUNC_EXIST{$_} = 1;
+ }
+}
+
+__END__
+- - - - - - -
+ABORT
+ADD_BOOKMARK
+BACK
+BEGIN
+BOOKMARK
+CENTER_H
+CENTER_V
+COOKIE
+DELETE_PREVBUF
+DICT_WORD
+DICT_WORD_AT
+DOWN
+DOWNLOAD
+EDIT
+EDIT_SCREEN
+END
+ESCBMAP
+ESCMAP
+EXEC_SHELL
+EXIT
+EXTERN
+EXTERN_LINK
+FRAME
+GOTO
+GOTO_LINE
+GOTO_LINK
+HELP
+HISTORY
+INFO
+INIT_MAILCAP
+INTERRUPT
+LEFT
+LINE_BEGIN
+LINE_END
+LINE_INFO
+LINK_BEGIN
+LINK_END
+LOAD
+MAIN_MENU
+MARK
+MARK_MID
+MARK_URL
+MENU
+MOUSE
+MOUSE_TOGGLE
+MOVE_DOWN
+MOVE_LEFT
+MOVE_RIGHT
+MOVE_UP
+NEXT_LINK
+NEXT_MARK
+NEXT_PAGE
+NEXT_WORD
+NOTHING
+NULL
+OPTIONS
+PCMAP
+PEEK
+PEEK_LINK
+PIPE_SHELL
+PREV_LINK
+PREV_MARK
+PREV_PAGE
+PREV_WORD
+PRINT
+QUIT
+READ_SHELL
+REDRAW
+REG_MARK
+RELOAD
+RIGHT
+SAVE
+SAVE_IMAGE
+SAVE_LINK
+SAVE_SCREEN
+SEARCH
+SEARCH_BACK
+SEARCH_FORE
+SEARCH_NEXT
+SEARCH_PREV
+SELECT
+SHELL
+SHIFT_LEFT
+SHIFT_RIGHT
+SOURCE
+SUSPEND
+UP
+VIEW
+VIEW_BOOKMARK
+VIEW_IMAGE
+WHEREIS
+WRAP_TOGGLE
diff --git a/w3m-doc/sample/s.wd b/w3m-doc/sample/s.wd
new file mode 100644
index 0000000..02ae4ce
--- /dev/null
+++ b/w3m-doc/sample/s.wd
@@ -0,0 +1,8 @@
+@include html.wd
+@include define.wd
+
+これはサンプルです。
+<P>
+\@hsaka.url\@ = @hsaka.url@
+<BR>
+\@LINK(hsaka)\@ = @LINK(hsaka)@
diff --git a/w3m-doc/sample/sample.html b/w3m-doc/sample/sample.html
new file mode 100644
index 0000000..b58b0c7
--- /dev/null
+++ b/w3m-doc/sample/sample.html
@@ -0,0 +1,6 @@
+
+これはサンプルです。
+<P>
+@hsaka.url@ = http://www2u.biglobe.ne.jp/~hsaka/
+<BR>
+@LINK(hsaka)@ = <A HREF="http://www2u.biglobe.ne.jp/~hsaka/">坂本浩則のホームページ</A>
diff --git a/w3m-doc/sample/sample.wd b/w3m-doc/sample/sample.wd
new file mode 100644
index 0000000..0edfd0c
--- /dev/null
+++ b/w3m-doc/sample/sample.wd
@@ -0,0 +1,11 @@
+@include html.wd
+@define
+hsaka.url http://www2u.biglobe.ne.jp/~hsaka/
+hsaka.title 坂本浩則のホームページ
+@end
+
+これはサンプルです。
+<P>
+\@hsaka.url\@ = @hsaka.url@
+<BR>
+\@LINK(hsaka)\@ = @LINK(hsaka)@
diff --git a/w3m-doc/sample/w3mdoc.pl b/w3m-doc/sample/w3mdoc.pl
new file mode 100755
index 0000000..6097926
--- /dev/null
+++ b/w3m-doc/sample/w3mdoc.pl
@@ -0,0 +1,102 @@
+#!/usr/local/bin/perl
+
+package w3mdoc;
+
+sub CHECK {
+ my($a, @b) = @_;
+ for(@b) {
+ defined($a->{$_}) || die("\"$a->{id}.$_\" is not defined.\n");
+ }
+}
+
+sub DEF {
+ my($a, $b, $c) = @_;
+
+ if (! defined($data->{$a})) {
+ $data->{$a} = bless { id => $a };
+ }
+ $data->{$a}{$b} = $c;
+}
+
+sub SUB {
+ local($_) = @_;
+ my($a, $b);
+
+ if (/^\@(\w+)\.(\w+)\@$/) {
+ ($a, $b) = ($1, $2);
+ defined($data->{$a}) || die("\"$a.$b\" is not defined.\n");
+ $data->{$a}->CHECK($b);
+ return $data->{$a}{$b};
+ }
+ if (/^\@(\w+)\((\w+)\)\@$/) {
+ ($a, $b) = ($1, $2);
+ defined(&{$a}) || die("\"$a()\" is not defined.\n");
+ defined($data->{$b}) || die("\"$a($b)\" is not defined.\n");
+ return $data->{$b}->$a();
+ }
+ return '@';
+}
+
+package main;
+
+@ARGV || unshift(@ARGV, "-");
+while(@ARGV) {
+ $file = shift @ARGV;
+ &make_doc($file);
+}
+
+sub make_doc {
+ my($file) = @_;
+ my($in_def, $in_code, $code, $a, $b);
+ local(*F);
+ local($_);
+
+ open(F, $file) || die("$file: $!\n");
+ $in_def = 0;
+ $in_code = 0;
+ while(<F>) {
+ if ($in_def) {
+ if (/^\@end/) {
+ $in_def = 0;
+ next;
+ }
+ s/^\s+//;
+ s/^(\w+)\.(\w+)// || next;
+ ($a, $b) = ($1, $2);
+ s/^\s+//;
+ s/\s+$//;
+ &w3mdoc::DEF($a, $b, $_);
+ next;
+ }
+ if ($in_code) {
+ if (/^\@end/) {
+ eval "package w3mdoc; $code";
+ $in_code = 0;
+ next;
+ }
+ $code .= $_;
+ next;
+ }
+ if (/^\@define/) {
+ $in_def = 1;
+ next;
+ }
+ if (/^\@code/) {
+ $in_code = 1;
+ $code = "";
+ next;
+ }
+ if (s/^\@include\s+//) {
+ s/\s+$//;
+ &make_doc($_);
+ next;
+ }
+ if (/^\@/) {
+ die("unknown command: $_");
+ }
+ s/(\\@|\@(\w+(\.\w+|\(\w+\)))\@)/&w3mdoc::SUB($1)/eg;
+ print;
+ }
+ close(F);
+}
+
diff --git a/w3m-doc/w3mdoc.pl b/w3m-doc/w3mdoc.pl
new file mode 100755
index 0000000..6097926
--- /dev/null
+++ b/w3m-doc/w3mdoc.pl
@@ -0,0 +1,102 @@
+#!/usr/local/bin/perl
+
+package w3mdoc;
+
+sub CHECK {
+ my($a, @b) = @_;
+ for(@b) {
+ defined($a->{$_}) || die("\"$a->{id}.$_\" is not defined.\n");
+ }
+}
+
+sub DEF {
+ my($a, $b, $c) = @_;
+
+ if (! defined($data->{$a})) {
+ $data->{$a} = bless { id => $a };
+ }
+ $data->{$a}{$b} = $c;
+}
+
+sub SUB {
+ local($_) = @_;
+ my($a, $b);
+
+ if (/^\@(\w+)\.(\w+)\@$/) {
+ ($a, $b) = ($1, $2);
+ defined($data->{$a}) || die("\"$a.$b\" is not defined.\n");
+ $data->{$a}->CHECK($b);
+ return $data->{$a}{$b};
+ }
+ if (/^\@(\w+)\((\w+)\)\@$/) {
+ ($a, $b) = ($1, $2);
+ defined(&{$a}) || die("\"$a()\" is not defined.\n");
+ defined($data->{$b}) || die("\"$a($b)\" is not defined.\n");
+ return $data->{$b}->$a();
+ }
+ return '@';
+}
+
+package main;
+
+@ARGV || unshift(@ARGV, "-");
+while(@ARGV) {
+ $file = shift @ARGV;
+ &make_doc($file);
+}
+
+sub make_doc {
+ my($file) = @_;
+ my($in_def, $in_code, $code, $a, $b);
+ local(*F);
+ local($_);
+
+ open(F, $file) || die("$file: $!\n");
+ $in_def = 0;
+ $in_code = 0;
+ while(<F>) {
+ if ($in_def) {
+ if (/^\@end/) {
+ $in_def = 0;
+ next;
+ }
+ s/^\s+//;
+ s/^(\w+)\.(\w+)// || next;
+ ($a, $b) = ($1, $2);
+ s/^\s+//;
+ s/\s+$//;
+ &w3mdoc::DEF($a, $b, $_);
+ next;
+ }
+ if ($in_code) {
+ if (/^\@end/) {
+ eval "package w3mdoc; $code";
+ $in_code = 0;
+ next;
+ }
+ $code .= $_;
+ next;
+ }
+ if (/^\@define/) {
+ $in_def = 1;
+ next;
+ }
+ if (/^\@code/) {
+ $in_code = 1;
+ $code = "";
+ next;
+ }
+ if (s/^\@include\s+//) {
+ s/\s+$//;
+ &make_doc($_);
+ next;
+ }
+ if (/^\@/) {
+ die("unknown command: $_");
+ }
+ s/(\\@|\@(\w+(\.\w+|\(\w+\)))\@)/&w3mdoc::SUB($1)/eg;
+ print;
+ }
+ close(F);
+}
+