跳到主要内容

命令行与应答

命令行通常是单个名称说明。请注意,说明格式会随时间演进;获取名称说明最新文档的最佳方法,是向服务器发送由 "?<CRLF>" 构成的命令行(即仅以一个问号作为名称说明)。NICNAME 服务器的响应将列出所有可以使用的格式。目前这些响应并不打算供机器读取,其信息意在直接回传给人类用户。以下三个示例说明截至 1985 年 10 月 NICNAME 的用法。

Command line: ?
Response:

Please enter a name or a NIC handle, such as "Smith" or "SRI-NIC".
Starting with a period forces a name-only search; starting with
exclamation point forces handle-only. Examples:

Smith [looks for name or handle SMITH]
!SRI-NIC [looks for handle SRI-NIC only]
.Smith, John
[looks for name JOHN SMITH only]

Adding "..." to the argument will match anything from that point,
e.g. "ZU..." will match ZUL, ZUM, etc.

To search for mailboxes, use one of these forms:

Smith@ [looks for mailboxes with username SMITH]
@Host [looks for mailboxes on HOST]
Smith@Host
[Looks for mailboxes with username SMITH on HOST]

To obtain the entire membership list of a group or organization,
or a list of all authorized users of a host, precede the name of
the host or organization by an asterisk, i.e. *SRI-NIC. [CAUTION:
If there are a lot of members, this will take a long time!] You
may use exclamation point and asterisk, or a period and asterisk
together.
Command line: fischer
Response:

Fischer, Charles (CF17) fischer@UWISC (608) 262-1204
Fischer, Herman (HF) HFischer@USC-ECLB (818) 902-5139
Fischer, Jeffery H. (JHF1) FISCHER@LL-XN (617) 863-5500
ext 4403 or 4689
Fischer, Kenneth (KF8) SAC.SIUBO@USC-ISIE (402) 294-5161
(AV) 271-5161
Fischer, Marty (MF28) MFISCHER@DCA-EMS (703) 437-2344
Fischer, Michael J. (MJF) FISCHER@YALE (203) 436-0744
Fischer, Nancy C. (NANCY) FISCHER@SRI-NIC (415) 859-2539
Fischer, Richard A. (RAF4) Fisher Richa@LLL-MFE (415) 422-5032

若要单独选出某个条目,请重复该命令,但使用参数 "!HANDLE" 代替 "NAME",其中 handle 即名字后括号内的内容。

Command line: !nancy
Response:

Fischer, Nancy C. (NANCY) FISCHER@SRI-NIC SRI International
Telecommunication Sciences Center
333 Ravenswood Avenue, EJ289
Menlo Park, California 94025
Phone: (415) 859-2539
MILNET TAC user