メインコンテンツまでスキップ

II. MARS の使い方 - C. メッセージの検索

検索は、検索要求 (Retrieval Request、特別な形式のメッセージ) を「MARS-Retriever@CCA」に送ることで開始される。検索されたメッセージは一通ずつメールで返送され、要求者のメールボックスに新着メールとして現れる。

検索要求メッセージは、SNDMSG 型のプログラムを使って次のように作成できる。

  • RR メッセージの受信者は MARS-Retriever @ CCA でなければならない
  • メッセージのその他のヘッダーフィールドは当面無視される
  • RR のメッセージ本文部分は、検索を実行するための Datalanguage を組み立てるのに使われる。その形式はメッセージヘッダー、またはその一部に似ている。

次の一覧は、認識されるフィールド名と、その解釈に関する注記を定義する。各フィールドの走査は復帰 (carriage-return) で終了する。

DATE:     The format of the date field is day-month-year.  Use of
hyphens is optional. This field will cause only those
messages composed on the specified date to be retrieved.

AFTER: Use of this field will retrieve messages composed after
the specified date.

SINCE: This field is interpreted like the AFTER: field.

BEFORE: Use of this field will retrieve messages composed before
the specified date.

UNTIL: This field is interpreted like the BEFORE: field.

FROM: This field is expected to contain a valid mailbox name.
The host specification is optional. If more than one name
is specified, ORing of the names is implicit.
Retrieval based upon host specification alone has not been
implemented.

TO: This field is expected to contain one or more valid
mailbox names. The host specification is optional. Spaces
and commas between the names imply AND.

SUBJECT: Use of this field will retrieve all messages whose
indexed subject-field contents match the specified
word(s). Spaces and commas imply AND. The use of OR
must be explicit.

TEXT: Use of this field will retrieve all messages whose
indexed message-body contents match the specified
word(s). Spaces and commas imply AND. The use of OR
must be explicit.

RR を作成するための、TENEX ベースの対話型プログラムが利用できる。ファイル名は「RR.SAV」である。このプログラムの写しは Datacomputer に保管されており、DFTP でノード COMMON>MARS から入手できる。

このプログラムの写しは、SRI-KA の CCA のディレクトリにもあり、ISIA の CCA-ACCAT ディレクトリにもある。