summaryrefslogtreecommitdiff
path: root/fml/doc/ja/tutorial/command
diff options
context:
space:
mode:
authorfukachan <fukachan>2006-01-15 13:49:56 +0000
committerfukachan <fukachan>2006-01-15 13:49:56 +0000
commite3150321fd9909a486b7b324e2c7bebf124ff9ca (patch)
tree114bae46932863af8d94d69b2c2c4c54576cf699 /fml/doc/ja/tutorial/command
parentbc66f3b372f993a8e9977af320642a49d6bb972c (diff)
downloadfml8-e3150321fd9909a486b7b324e2c7bebf124ff9ca.tar.gz
fml8-e3150321fd9909a486b7b324e2c7bebf124ff9ca.tar.bz2
fml8-e3150321fd9909a486b7b324e2c7bebf124ff9ca.zip
add topics picked up at fml bible.
Diffstat (limited to 'fml/doc/ja/tutorial/command')
-rw-r--r--fml/doc/ja/tutorial/command/recipes.sgml126
1 files changed, 125 insertions, 1 deletions
diff --git a/fml/doc/ja/tutorial/command/recipes.sgml b/fml/doc/ja/tutorial/command/recipes.sgml
index 8b7ee674..115d0a03 100644
--- a/fml/doc/ja/tutorial/command/recipes.sgml
+++ b/fml/doc/ja/tutorial/command/recipes.sgml
@@ -1,7 +1,8 @@
<!--
- $FML$
+ $FML: recipes.sgml,v 1.1 2005/11/18 11:44:54 fukachan Exp $
-->
+
<qandaset>
@@ -9,6 +10,129 @@
<question>
<para>
+コマンドメールなどの返事は Reply-To: ではなく From: へ
+</para>
+</question>
+
+<answer>
+<para>
+コマンドメールの送信者(From:)へ返事を返すのがデフォルトの挙動です。
+<screen>
+
+</screen>
+
+</para>
+</answer>
+
+</qandaentry>
+
+
+<qandaentry>
+
+<question>
+<para>
+help などのメッセージをアップグレードする
+</para>
+</question>
+
+<answer>
+<para>
+アップグレードすれば自動的にアップグレードされます。
+&fml4; と異なり &fml8; では help コマンドのメッセージテンプレートは
+次のようなパスに存在するからです。
+<screen>
+/usr/local/share/fml/$VERSION/message/euc-jp/user/help
+/usr/local/share/fml/$VERSION/message/us-ascii/user/help
+</screen>
+</para>
+
+<para>
+ただしMLのホームディレクトリに help ファイルがある場合は
+それが help コマンドの返事に使われています。
+よって help ファイルを自分で用意しているなら
+自分で編集してください。
+</para>
+
+</answer>
+
+</qandaentry>
+
+
+<qandaentry>
+
+<question>
+<para>
+help メッセージの元ファイルをカスタマイズする。
+</para>
+</question>
+
+<answer>
+<para>
+&fml8; では help コマンドのメッセージテンプレートは次のようなパスに存
+在します。これを編集してしまうというのが第一案。ただし、これをするとバー
+ジョンアップをした際に変更点が無効になってしまいます。
+<screen>
+/usr/local/share/fml/$VERSION/message/euc-jp/user/help
+/usr/local/share/fml/$VERSION/message/us-ascii/user/help
+</screen>
+</para>
+
+<para>
+ML独自の help メッセージは
+MLホームディレクトリの下に「local/share/message/言語/」を作り、
+その下におけば有効になります。
+<screen>
+[Example]
+
+/var/spool/ml/elena/local/share/message/euc-jp/user/help
+/var/spool/ml/elena/local/share/message/us-ascii/user/help
+</screen>
+常にこのファイルが使われるので、
+バージョンアップしても内容は変わりません。
+それが欠点です。
+</para>
+
+<para>
+なおMLのホームディレクトリに help ファイルがある場合は
+それが help コマンドの返事に使われています。
+よって help ファイルを自分で用意しているなら
+自分で編集してください。
+この場合も、常にこのファイルが使われるので、
+バージョンアップしても内容は変わりません。
+それが欠点です。
+</para>
+
+</answer>
+
+</qandaentry>
+
+
+<qandaentry>
+
+<question>
+<para>
+confirmation メッセージをカスタマイズする
+</para>
+</question>
+
+<answer>
+<para>
+help メッセージのカスタマイズと同様ですので、
+くわしくは前レシピを参照して下さい。
+<screen>
+/usr/local/share/fml/$VERSION/message/euc-jp/command/confirm
+/usr/local/share/fml/$VERSION/message/us-ascii/command/confirm
+</screen>
+</para>
+</answer>
+
+</qandaentry>
+
+
+<qandaentry>
+
+<question>
+<para>
news というファイルを送り返すコマンドを作る
</para>
</question>