summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-01-27 09:21:00 +0000
committerfukachan <fukachan>2001-01-27 09:21:00 +0000
commitcdfe1713ec7952781dc4e613a35e8ff617849004 (patch)
tree8cff9b1f07d340a678c4240bdc23ca4f341a8560 /fml
parentcf121ba998595a4b6c5668066fe54c9c31780670 (diff)
downloadfml8-cdfe1713ec7952781dc4e613a35e8ff617849004.tar.gz
fml8-cdfe1713ec7952781dc4e613a35e8ff617849004.tar.bz2
fml8-cdfe1713ec7952781dc4e613a35e8ff617849004.zip
clean document campaign (2001/01 end)
align format by doc/bin/dir2url.pl prepare missing index.ja.html at each directory
Diffstat (limited to 'fml')
-rw-r--r--fml/doc/menubar.ja.html7
-rw-r--r--fml/doc/terms.ja.html25
-rw-r--r--fml/lib/FML/Header/Makefile6
-rw-r--r--fml/lib/FML/Header/index.ja.html18
-rw-r--r--fml/lib/FML/Makefile15
-rw-r--r--fml/lib/FML/Process/Makefile6
-rw-r--r--fml/lib/FML/Process/index.ja.html20
-rw-r--r--fml/lib/FML/Ticket/Makefile6
-rw-r--r--fml/lib/FML/Ticket/Model/Makefile6
-rw-r--r--fml/lib/FML/Ticket/Model/index.ja.html18
-rw-r--r--fml/lib/FML/Ticket/index.ja.html43
-rw-r--r--fml/lib/FML/index.ja.html63
-rw-r--r--fml/lib/IO/Adapter/Makefile6
-rw-r--r--fml/lib/IO/Adapter/index.ja.html22
-rw-r--r--fml/lib/IO/File/Makefile6
-rw-r--r--fml/lib/IO/File/index.ja.html18
-rw-r--r--fml/lib/IO/Makefile17
-rw-r--r--fml/lib/IO/index.ja.html20
-rw-r--r--fml/lib/MailingList/Makefile16
-rw-r--r--fml/lib/MailingList/Net/Makefile6
-rw-r--r--fml/lib/MailingList/Net/index.ja.html19
-rw-r--r--fml/lib/MailingList/index.ja.html28
-rw-r--r--fml/libexec/boot.ja.html64
-rwxr-xr-xfml/libexec/fmlwrapper3
24 files changed, 311 insertions, 147 deletions
diff --git a/fml/doc/menubar.ja.html b/fml/doc/menubar.ja.html
index 8c304a27..123ebe46 100644
--- a/fml/doc/menubar.ja.html
+++ b/fml/doc/menubar.ja.html
@@ -16,8 +16,13 @@ fml5 homepage menubar
<UL>
<LI>
+ <A HREF="../../00_README.ja.txt" TARGET="right">
+ インストールについて
+ </A>
+
+ <LI>
<A HREF="../libexec/boot.ja.html" TARGET="right">
- ブートの仕方
+ fml のブートしていく様子
</A>
<LI>
diff --git a/fml/doc/terms.ja.html b/fml/doc/terms.ja.html
index 83e12d07..2c4c2def 100644
--- a/fml/doc/terms.ja.html
+++ b/fml/doc/terms.ja.html
@@ -21,6 +21,21 @@
<TD> 説明
<TR>
+ <TD> curproc
+ <TD> ”current process 構造体”の略
+
+ <TR>
+ <TD> PCB
+ <TD> Process Control Block の略。
+ そのプロセス固有の情報を含む。
+ 現状 fml 内部でのコンテキスト切替などはないので、
+ UNIX カーネルの PCB とは少し趣が異なります。
+
+ <TR>
+ <TD> config
+ <TD> configuration の略
+
+ <TR>
<TD> arg args
<TD> アーギュメントの略
@@ -39,21 +54,11 @@
ただし perl では CODE リファレンスと呼ぶべき
<TR>
- <TD> PCB
- <TD> Process Control Block の略
-
-
- <TR>
<TD> _なになに
<TD> 慣習的にパッケージ、クラス、オブジェクト内部で使う
変数や関数名に _ ではじまるキーワードを使う。
<TR>
- <TD> curproc
- <TD> ”current process 構造体”の略
-
-
- <TR>
<TD> rなになに
<TD> r はリファレンスの略。ハンガリアン記法
<BR>
diff --git a/fml/lib/FML/Header/Makefile b/fml/lib/FML/Header/Makefile
new file mode 100644
index 00000000..795737fa
--- /dev/null
+++ b/fml/lib/FML/Header/Makefile
@@ -0,0 +1,6 @@
+all: html
+
+html: index.ja.html
+
+index.ja.html: *pm
+ ../../../../doc/bin/dir2url.pl > index.ja.html
diff --git a/fml/lib/FML/Header/index.ja.html b/fml/lib/FML/Header/index.ja.html
new file mode 100644
index 00000000..c5668637
--- /dev/null
+++ b/fml/lib/FML/Header/index.ja.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>
+FML/Header::* classes
+</TITLE>
+<META http-equiv="Content-Type"
+ content="text/html; charset=EUC-JP">
+</HEAD>
+
+<BODY BGCOLOR="#E6E6FA">
+<P> FML::Header classes
+<BR>
+<UL>
+ <LI> <A HREF="Subject.pm">FML::Header::Subject</A>
+</UL>
+</BODY>
+</HTML>
diff --git a/fml/lib/FML/Makefile b/fml/lib/FML/Makefile
index 08cebdec..5d691d9b 100644
--- a/fml/lib/FML/Makefile
+++ b/fml/lib/FML/Makefile
@@ -2,3 +2,18 @@ all: anal
anal:
@ find . | sort | grep -v CVS | sed 's@./@@'
+
+html: _clean index.ja.html
+
+index.ja.html: *.pm
+ (cd Header; make html)
+ (cd Process; make html)
+ (cd Ticket/Model; make html)
+ (cd Ticket; make html)
+ ../../../doc/bin/dir2url.pl > index.ja.html
+
+_clean:
+ rm -f index.ja.html */index.ja.html
+
+clean:
+ (cd ../../..;make clean)
diff --git a/fml/lib/FML/Process/Makefile b/fml/lib/FML/Process/Makefile
new file mode 100644
index 00000000..795737fa
--- /dev/null
+++ b/fml/lib/FML/Process/Makefile
@@ -0,0 +1,6 @@
+all: html
+
+html: index.ja.html
+
+index.ja.html: *pm
+ ../../../../doc/bin/dir2url.pl > index.ja.html
diff --git a/fml/lib/FML/Process/index.ja.html b/fml/lib/FML/Process/index.ja.html
new file mode 100644
index 00000000..b088f975
--- /dev/null
+++ b/fml/lib/FML/Process/index.ja.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>
+FML/Process::* classes
+</TITLE>
+<META http-equiv="Content-Type"
+ content="text/html; charset=EUC-JP">
+</HEAD>
+
+<BODY BGCOLOR="#E6E6FA">
+<P> FML::Process classes
+<BR>
+<UL>
+ <LI> <A HREF="Distribute.pm">FML::Process::Distribute</A>
+ <LI> <A HREF="Kernel.pm">FML::Process::Kernel</A>
+ <LI> <A HREF="TicketSystem.pm">FML::Process::TicketSystem</A>
+</UL>
+</BODY>
+</HTML>
diff --git a/fml/lib/FML/Ticket/Makefile b/fml/lib/FML/Ticket/Makefile
new file mode 100644
index 00000000..795737fa
--- /dev/null
+++ b/fml/lib/FML/Ticket/Makefile
@@ -0,0 +1,6 @@
+all: html
+
+html: index.ja.html
+
+index.ja.html: *pm
+ ../../../../doc/bin/dir2url.pl > index.ja.html
diff --git a/fml/lib/FML/Ticket/Model/Makefile b/fml/lib/FML/Ticket/Model/Makefile
new file mode 100644
index 00000000..ad6d2b69
--- /dev/null
+++ b/fml/lib/FML/Ticket/Model/Makefile
@@ -0,0 +1,6 @@
+all: html
+
+html: index.ja.html
+
+index.ja.html: *pm
+ ../../../../../doc/bin/dir2url.pl > index.ja.html
diff --git a/fml/lib/FML/Ticket/Model/index.ja.html b/fml/lib/FML/Ticket/Model/index.ja.html
new file mode 100644
index 00000000..8f4b0e9f
--- /dev/null
+++ b/fml/lib/FML/Ticket/Model/index.ja.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>
+FML/Ticket/Model::* classes
+</TITLE>
+<META http-equiv="Content-Type"
+ content="text/html; charset=EUC-JP">
+</HEAD>
+
+<BODY BGCOLOR="#E6E6FA">
+<P> FML/Ticket/Model::* classes
+<BR>
+<UL>
+ <LI> <A HREF="toymodel.pm">FML::Ticket::Model::toymodel</A>
+</UL>
+</BODY>
+</HTML>
diff --git a/fml/lib/FML/Ticket/index.ja.html b/fml/lib/FML/Ticket/index.ja.html
index 0c15ffd9..472205b7 100644
--- a/fml/lib/FML/Ticket/index.ja.html
+++ b/fml/lib/FML/Ticket/index.ja.html
@@ -2,48 +2,19 @@
<HTML>
<HEAD>
<TITLE>
-チケットシステム / トラブルチケットシステム
+FML/Ticket::* classes
</TITLE>
<META http-equiv="Content-Type"
content="text/html; charset=EUC-JP">
</HEAD>
<BODY BGCOLOR="#E6E6FA">
-<!-- ================== body =========================================== -->
-
-<P> 目的
-
-チケットシステム / トラブルチケットシステムの基本機能をデフォルトで提
-供することを目指す。
-
-<P> アイデアと実装のプロトタイプ
-
-<BR>
-一番問題なのは、データベースのフォーマット。
-とりあえず toymodel のデータベースはテキストに書く。
-各行は次のようなハッシュを表現している。
-<PRE>
-MLの記事番号 => チケット番号 + 時刻
- もしくは
-MLの記事番号 => チケット番号_ステータス + 時刻
-
-例:
-
-379 [elena_#00000170] 980493001
-380 [elena_#00000171] 980493014
-381 [elena_#00000171]_closed 980494890
-<PRE>
-
+<P> FML::Ticket classes
<BR>
-さて、次に必要なことは?
-
-<OL>
- <LI> 高速に一覧表を作れること (プレイン版、HTML版)
- <LI> エスカレーションすること
- <LI> open, closed 以外のステータス管理をどこまでするか?
-</OL>
-
-
-<!-- =================================================================== -->
+<UL>
+ <LI> <A HREF="00_DESIGN.txt">FML::Ticket::00_DESIGN.txt</A>
+ <LI> <A HREF=Model/index.ja.html>FML::Ticket::Model::*</A>
+ <LI> <A HREF="System.pm">FML::Ticket::System</A>
+</UL>
</BODY>
</HTML>
diff --git a/fml/lib/FML/index.ja.html b/fml/lib/FML/index.ja.html
index 2039b4af..af91ba09 100644
--- a/fml/lib/FML/index.ja.html
+++ b/fml/lib/FML/index.ja.html
@@ -2,54 +2,35 @@
<HTML>
<HEAD>
<TITLE>
-lib/fml5/FML/
+FML::* classes
</TITLE>
<META http-equiv="Content-Type"
content="text/html; charset=EUC-JP">
</HEAD>
<BODY BGCOLOR="#E6E6FA">
-<!-- ================== body =========================================== -->
-
-lib/fml5/FML/ ディレクトリ: FML::* モジュールの置場所。
-
+<P> FML classes
+<BR>
<UL>
- <LI>
- <A HREF=Article.pm>Article.pm</A>
-
- <LI>
- <A HREF=Config.pm>Config.pm</A>
-
- <LI>
- <A HREF=Credential.pm>Credential.pm</A>
-
- <LI>
- <A HREF=Date.pm>Date.pm</A>
-
- <LI>
- <A HREF=Debug.pm>Debug.pm</A>
-
- <LI>
- <A HREF=Header.pm>Header.pm</A>
-
- <LI>
- <A HREF=Lock.pm>Lock.pm</A>
-
- <LI>
- <A HREF=Log.pm>Log.pm</A>
-
- <LI>
- <A HREF=Messages.pm>Messages.pm</A>
-
- <LI>
- <A HREF=Parse.pm>Parse.pm</A>
-
- <LI>
- <A HREF=String.pm>String.pm</A>
-
+ <LI> <A HREF="Article.pm">FML::Article</A>
+ <LI> <A HREF="Config.pm">FML::Config</A>
+ <LI> <A HREF="Credential.pm">FML::Credential</A>
+ <LI> <A HREF="Date.pm">FML::Date</A>
+ <LI> <A HREF="Debug.pm">FML::Debug</A>
+ <LI> <A HREF="Errors.pm">FML::Errors</A>
+ <LI> <A HREF=Header/index.ja.html>FML::Header::*</A>
+ <LI> <A HREF="Header.pm">FML::Header</A>
+ <LI> <A HREF="Lock.pm">FML::Lock</A>
+ <LI> <A HREF="Log.pm">FML::Log</A>
+ <LI> <A HREF="MIME.pm">FML::MIME</A>
+ <LI> <A HREF="Messages.pm">FML::Messages</A>
+ <LI> <A HREF="PCB.pm">FML::PCB</A>
+ <LI> <A HREF="Parse.pm">FML::Parse</A>
+ <LI> <A HREF=Process/index.ja.html>FML::Process::*</A>
+ <LI> <A HREF="SequenceFile.pm">FML::SequenceFile</A>
+ <LI> <A HREF="String.pm">FML::String</A>
+ <LI> <A HREF=Ticket/index.ja.html>FML::Ticket::*</A>
+ <LI> <A HREF="Utils.pm">FML::Utils</A>
</UL>
-
-
-<!-- =================================================================== -->
</BODY>
</HTML>
diff --git a/fml/lib/IO/Adapter/Makefile b/fml/lib/IO/Adapter/Makefile
new file mode 100644
index 00000000..795737fa
--- /dev/null
+++ b/fml/lib/IO/Adapter/Makefile
@@ -0,0 +1,6 @@
+all: html
+
+html: index.ja.html
+
+index.ja.html: *pm
+ ../../../../doc/bin/dir2url.pl > index.ja.html
diff --git a/fml/lib/IO/Adapter/index.ja.html b/fml/lib/IO/Adapter/index.ja.html
new file mode 100644
index 00000000..7f55f55c
--- /dev/null
+++ b/fml/lib/IO/Adapter/index.ja.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>
+IO/Adapter::* classes
+</TITLE>
+<META http-equiv="Content-Type"
+ content="text/html; charset=EUC-JP">
+</HEAD>
+
+<BODY BGCOLOR="#E6E6FA">
+<P> IO::Adapter classes
+<BR>
+<UL>
+ <LI> <A HREF="File.pm">IO::Adapter::File</A>
+ <LI> <A HREF="LDAP.pm">IO::Adapter::LDAP</A>
+ <LI> <A HREF="NIS.pm">IO::Adapter::NIS</A>
+ <LI> <A HREF="RDBMS.pm">IO::Adapter::RDBMS</A>
+ <LI> <A HREF="UnixGroup.pm">IO::Adapter::UnixGroup</A>
+</UL>
+</BODY>
+</HTML>
diff --git a/fml/lib/IO/File/Makefile b/fml/lib/IO/File/Makefile
new file mode 100644
index 00000000..795737fa
--- /dev/null
+++ b/fml/lib/IO/File/Makefile
@@ -0,0 +1,6 @@
+all: html
+
+html: index.ja.html
+
+index.ja.html: *pm
+ ../../../../doc/bin/dir2url.pl > index.ja.html
diff --git a/fml/lib/IO/File/index.ja.html b/fml/lib/IO/File/index.ja.html
new file mode 100644
index 00000000..18a2afa7
--- /dev/null
+++ b/fml/lib/IO/File/index.ja.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>
+IO/File::* classes
+</TITLE>
+<META http-equiv="Content-Type"
+ content="text/html; charset=EUC-JP">
+</HEAD>
+
+<BODY BGCOLOR="#E6E6FA">
+<P> IO::File classes
+<BR>
+<UL>
+ <LI> <A HREF="Atomic.pm">IO::File::Atomic</A>
+</UL>
+</BODY>
+</HTML>
diff --git a/fml/lib/IO/Makefile b/fml/lib/IO/Makefile
new file mode 100644
index 00000000..f112eb47
--- /dev/null
+++ b/fml/lib/IO/Makefile
@@ -0,0 +1,17 @@
+all: anal
+
+anal:
+ @ find . | sort | grep -v CVS | sed 's@./@@'
+
+html: _clean index.ja.html
+
+index.ja.html: *.pm
+ (cd File; make html)
+ (cd Adapter; make html)
+ ../../../doc/bin/dir2url.pl > index.ja.html
+
+_clean:
+ rm -f index.ja.html */index.ja.html
+
+clean:
+ (cd ../../..;make clean)
diff --git a/fml/lib/IO/index.ja.html b/fml/lib/IO/index.ja.html
index 583cea51..868b9002 100644
--- a/fml/lib/IO/index.ja.html
+++ b/fml/lib/IO/index.ja.html
@@ -2,27 +2,19 @@
<HTML>
<HEAD>
<TITLE>
-IO:: クラス
+IO::* classes
</TITLE>
<META http-equiv="Content-Type"
content="text/html; charset=EUC-JP">
</HEAD>
-<CENTER>
-IO:: クラス
-</CENTER>
-
<BODY BGCOLOR="#E6E6FA">
-<!-- ================== body =========================================== -->
-
+<P> IO classes
+<BR>
<UL>
- <LI>
- <A HREF=MapAdapter.pm>MapAdapter.pm</A>
-
+ <LI> <A HREF=Adapter/index.ja.html>IO::Adapter::*</A>
+ <LI> <A HREF=File/index.ja.html>IO::File::*</A>
+ <LI> <A HREF="MapAdapter.pm">IO::MapAdapter</A>
</UL>
-
-<!-- =================================================================== -->
</BODY>
</HTML>
-
-
diff --git a/fml/lib/MailingList/Makefile b/fml/lib/MailingList/Makefile
new file mode 100644
index 00000000..1e81e217
--- /dev/null
+++ b/fml/lib/MailingList/Makefile
@@ -0,0 +1,16 @@
+all: anal
+
+anal:
+ @ find . | sort | grep -v CVS | sed 's@./@@'
+
+html: _clean index.ja.html
+
+index.ja.html: *.pm
+ (cd Net; make html)
+ ../../../doc/bin/dir2url.pl > index.ja.html
+
+_clean:
+ rm -f index.ja.html */index.ja.html
+
+clean:
+ (cd ../../..;make clean)
diff --git a/fml/lib/MailingList/Net/Makefile b/fml/lib/MailingList/Net/Makefile
new file mode 100644
index 00000000..795737fa
--- /dev/null
+++ b/fml/lib/MailingList/Net/Makefile
@@ -0,0 +1,6 @@
+all: html
+
+html: index.ja.html
+
+index.ja.html: *pm
+ ../../../../doc/bin/dir2url.pl > index.ja.html
diff --git a/fml/lib/MailingList/Net/index.ja.html b/fml/lib/MailingList/Net/index.ja.html
new file mode 100644
index 00000000..0e1454bd
--- /dev/null
+++ b/fml/lib/MailingList/Net/index.ja.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>
+MailingList/Net::* classes
+</TITLE>
+<META http-equiv="Content-Type"
+ content="text/html; charset=EUC-JP">
+</HEAD>
+
+<BODY BGCOLOR="#E6E6FA">
+<P> MailingList::Net classes
+<BR>
+<UL>
+ <LI> <A HREF="INET4.pm">MailingList::Net::INET4</A>
+ <LI> <A HREF="INET6.pm">MailingList::Net::INET6</A>
+</UL>
+</BODY>
+</HTML>
diff --git a/fml/lib/MailingList/index.ja.html b/fml/lib/MailingList/index.ja.html
index 82ebc1cb..96981be2 100644
--- a/fml/lib/MailingList/index.ja.html
+++ b/fml/lib/MailingList/index.ja.html
@@ -2,31 +2,23 @@
<HTML>
<HEAD>
<TITLE>
-MailingList:: クラス
+MailingList::* classes
</TITLE>
<META http-equiv="Content-Type"
content="text/html; charset=EUC-JP">
</HEAD>
-<CENTER>
-MailingList:: クラス
-</CENTER>
-
<BODY BGCOLOR="#E6E6FA">
-<!-- ================== body =========================================== -->
-
+<P> MailingList classes
+<BR>
<UL>
- <LI>
- <A HREF=INET6.pm>INET6.pm</A>
-
- <LI>
- <A HREF=SMTP.pm>SMTP.pm</A>
-
- <LI>
- <A HREF=Utils.pm>Utils.pm</A>
-
+ <LI> <A HREF="00_DESIGN.txt">MailingList::00_DESIGN.txt</A>
+ <LI> <A HREF="Delivery.pm">MailingList::Delivery</A>
+ <LI> <A HREF="Messages.pm">MailingList::Messages</A>
+ <LI> <A HREF=Net/index.ja.html>MailingList::Net::*</A>
+ <LI> <A HREF="SMTP.ja.pod">MailingList::SMTP.ja.pod</A>
+ <LI> <A HREF="SMTP.pm">MailingList::SMTP</A>
+ <LI> <A HREF="Utils.pm">MailingList::Utils</A>
</UL>
-
-<!-- =================================================================== -->
</BODY>
</HTML>
diff --git a/fml/libexec/boot.ja.html b/fml/libexec/boot.ja.html
index 2694eedd..937a2ad0 100644
--- a/fml/libexec/boot.ja.html
+++ b/fml/libexec/boot.ja.html
@@ -2,7 +2,7 @@
<HTML>
<HEAD>
<TITLE>
-net/fml ブートの仕方
+fml のブートしていく様
</TITLE>
<META http-equiv="Content-Type"
content="text/html; charset=EUC-JP">
@@ -11,6 +11,8 @@ net/fml ブートの仕方
<BODY BGCOLOR="#E6E6FA">
<!-- ================== body =========================================== -->
+<P>fml のブートしていく様について
+
<UL>
<LI> libexec/fmlwrapper (wrapper)
<BR>
@@ -18,38 +20,44 @@ net/fml ブートの仕方
<UL>
<LI> /etc/fml/main.cf を読み込む。
読み込むと fml のバージョンが分かる。
-
- <LI> @ARGV を評価し、
- どの config.cf 群をロードすればいいのかを準備する。
default_config.cf はバージョン依存であるので、
- ここで評価することに注意。
+ ここでまずバージョンを評価しなければいけないことに注意。
- <LI> libexec/fml ( バージョン依存 )ファイルを
- ロードし、
- <UL>
- <LI>
- ProcessSwitch() を実行して、配送用、コマンドモード用
- プログラム/プロセスなどへ制御を移す(分岐する)。
+ <LI> ( fml.pl を例にとると)
+ @ARGV を評価し、
+ どのMLの config.cf 群をロードすればいいのかを準備する。
+ <LI> 次に
+ libexec/fml ( バージョン依存 )ファイルを
+ ロードする。そして、
+ ProcessSwitch() 内部を実行し、
+ 配送用、コマンドモード用
+ プログラム/プロセスなどへ制御を移す(分岐する)。
+ <UL>
<LI>
$0 から自分の名前を知り、
どのプロセスへ分岐すればいいのかを判断する。
<LI>(ポリモーフィズム)
- ダイナミックバインディングし、
- プロセスオブジェクトを生成する( fork(2) という意味ではない)。
+ モジュールをダイナミックバインディングし、
+ 該当するプロセスオブジェクトを生成する。
そして、プロセスをスタートさせる。
具体的には
- <PRE>
- $process = new FML::Process::なにか;
- $process->run()
- </PRE>
- を実行する。
+<PRE>
+ $process = new FML::Process::なにか;
+ $process->prepare($args);
+ $process->run($args);
+ $process->finish($args);
+</PRE>
+ などと書く。
</UL>
</UL>
+<HR>
+<P>Standalone.pm
+
<PRE>
fmlwrapper (uses) Standalone.pm
|
@@ -58,16 +66,18 @@ fmlwrapper (uses) Standalone.pm
|
fml
* 動的にクラスをバインディングしつつ、プロセススタートする。
- 実際のコードは $process->run() などとなるが、書き下すと
- このようになるだろう。
+ 実際のコードは $process->run() などとなる。
+
+
+○ クラスの階層構造?
- FML::Process::Distribute->run() |
- FML::Process::Command->run() |-(uses)-> FML::Process::Kernel
- FML::Process::Mead->run() | |
- |- FML::Parse
- |- FML::Config
- |- FML::Log
- |- ... その他 ...
+FML::Process::Distribute-|
+FML::Process::Command -|>- FML::Process::Kernel
+FML::Process::Mead -| |
+ |-> FML::Parse
+ |-> FML::Config
+ |-> FML::Log
+ |-> ... その他 ...
</PRE>
<!-- =================================================================== -->
diff --git a/fml/libexec/fmlwrapper b/fml/libexec/fmlwrapper
index 2e231bf4..eda23db3 100755
--- a/fml/libexec/fmlwrapper
+++ b/fml/libexec/fmlwrapper
@@ -8,6 +8,9 @@
# $FML$
#
+eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
+ if $running_under_some_shell;
+
use vars qw($MainCF);
use strict;
use Carp;