1 \documentstyle[a4j]{jarticle}
2 \setcounter{secnumdepth}{6}
3 \setcounter{tocdepth}{6}
8 \title{tm-body manual (English Version)}
9 \author{Morioka Tomohiko}
18 Installing method is written in README-eng.ol. Please read it and
23 \subsection{tiny-mime.el}
26 Please copy tiny-mime.el to your Emacs lisp directory.
33 \subsubsection{$*$.el}
36 Please copy tm-body.el, tl-list.el and tl-header.el to your Emacs
40 \subsubsection{methods}
43 Please edit methods for your environment, and copy to your
48 \subsubsection{decode-b.c}
51 Please compile decode-b.c by gcc or another ANSI C.
55 % gcc -O decode-b.c -o decode-b
59 And please copy decode-b to your executable directory.
62 However, if you have another decoder (e.g. mmencode in metamail),
63 you can replace decode-b (e.g. You can replace `decode-b $<$' by
64 `mmencode -b -u' in methods).
71 You can designate methods of Content-Types if you set variable
72 `mime/content-decoding-method-alist' in .emacs.
76 ----------------------------------------------------------------------
77 (setq mime/content-decoding-method-alist
78 '(("audio/basic" . "tm-au")
79 ("image/gif" . "tm-image")
80 ("image/jpeg" . "tm-image")
81 ("image/x-pic" . "tm-image")
82 ("video/mpeg" . "tm-mpeg")
83 ("application/octet-stream" . "tm-file")
84 ("text/x-latex" . "tm-latex")
86 ----------------------------------------------------------------------
90 Each methods are shell scripts. Arguments of methods are written in
95 \begin{tabular}{|c|l|}
97 argument & \multicolumn{1}{|c|}{ value }\\
99 \$1 & temporary file name of encoded content \\
100 \$2 & Content-Type (type/sub-type) \\
101 \$3 & encoding \{7bit / quoted-printable / base64 / 8bit / binary / ...\}\\
102 \$4 & decoding-mode \{play / extract / print\} \\
103 \$5 & original file name of content \\
109 Each Content-Types are decoded by methods. Exceptionally,
110 message/partial is decoded by tm-body.el.
114 \section{Limitation or bug}
117 In this version, message/external-body is not supported.
120 Attached base64 decoder `decode-b.c' is not good program, so if it
121 can run normally, please correct it. But It is easy because decode-b.c
122 is too small, so please...(\verb+^+\_\verb+^+;
125 Or you can use mmencode attached in metamail as decoder.
128 In this package, there is no Quoted-Printable decoder, so please use