跳到主要内容

命令行与响应

命令行通常是单个名称说明。获取最新名称说明文档的最简便方法,是向服务器发送由 "?<CRLF>" 构成的命令行 (即仅以一个问号作为名称说明)。NICNAME 服务器的响应将列出所有可用的格式。

目前,响应并不打算供机器读取;这些信息旨在直接返回给人类用户。以下三个示例说明 NICNAME 的用法。

Command line: ?
Response:
Please enter a name or a handle ("ident"), 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 have the ENTIRE membership list of a group or
organization,
if you are asking about a group or org, shown with the record,
use
an asterisk character "*" directly preceding the given
argument.
[CAUTION: If there are a lot of members this will take a long
time!]
You may of course use exclamation point and asterisk, or a
period
and asterisk together.

Command line: dyer
Response:
Dyer, David A. (DAD2) DDYER@USC-ISIB (213) 822-1511
Dyer, Fred S. (FSD) Dyer@RADC-MULTICS (315) 330-7275
Dyer, Mary K. (MARY) DYER@SRI-NIC (415) 859-4775
Dyer, William R. (WRD) WRDyer@RADC-MULTICS (315) 330-7791

Command line: mary
Response:
Dyer, Mary K. (MARY) DYER@SRI-NIC
SRI International
Network Information Center
Telecommunications Sciences Center
333 Ravenswood Avenue
Menlo Park, California 94025
Phone: (415) 859-4775