summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
Diffstat (limited to 'fml')
-rw-r--r--fml/doc/ja/tutorial/customize/chapter.command.sgml37
-rw-r--r--fml/doc/ja/tutorial/customize/chapter.message.sgml26
2 files changed, 63 insertions, 0 deletions
diff --git a/fml/doc/ja/tutorial/customize/chapter.command.sgml b/fml/doc/ja/tutorial/customize/chapter.command.sgml
new file mode 100644
index 00000000..2087c28d
--- /dev/null
+++ b/fml/doc/ja/tutorial/customize/chapter.command.sgml
@@ -0,0 +1,37 @@
+<!--
+ $FML: chapter.header.sgml,v 1.1 2002/07/28 06:26:56 fukachan Exp $
+-->
+
+<chapter id="customize.command">
+ <title>
+ コマンドの拡張
+ </title>
+
+
+<sect1 id="customize.command.myproc">
+ <title>
+ ケーススタディ: 独自の help コマンドを作る
+ </title>
+
+<para>
+elena MLの help コマンドを独自のものにしたいとしましょう。
+その場合、オリジナルの help.pm を参考に独自の
+help.pm を作り、以下のパスにおいてください。
+<screen>
+/var/spool/ml/elena/local/lib/FML/Command/User/help.pm
+</screen>
+この local/ パスのモジュールが優先されるので、
+help コマンドの応答にはこのモジュール help.pm が使われます。
+</para>
+
+<caution>
+<para>
+他のファイルからカット&ペーストする時は、
+package の名前空間に気をつけてね
+</para>
+</caution>
+
+</sect1>
+
+
+</chapter>
diff --git a/fml/doc/ja/tutorial/customize/chapter.message.sgml b/fml/doc/ja/tutorial/customize/chapter.message.sgml
new file mode 100644
index 00000000..c734ef4d
--- /dev/null
+++ b/fml/doc/ja/tutorial/customize/chapter.message.sgml
@@ -0,0 +1,26 @@
+<!--
+ $FML: chapter.header.sgml,v 1.1 2002/07/28 06:26:56 fukachan Exp $
+-->
+
+<chapter id="customize.message">
+ <title>
+ メッセージの拡張
+ </title>
+
+
+<sect1 id="customize.message.myproc">
+ <title>
+ ケーススタディ: 独自のメッセージを作る
+ </title>
+
+<para>
+<screen>
+/var/spool/ml/elena/local/share/message/euc-jp/クラス
+</screen>
+にファイルをつくって下さい。
+</para>
+
+</sect1>
+
+
+</chapter>