Aller au contenu principal

Lignes de commande et réponses

Une ligne de commande est normalement une simple spécification de nom. Notons que les formats de spécification évolueront avec le temps ; le meilleur moyen d'obtenir la documentation la plus récente sur les spécifications de nom est de donner au serveur une ligne de commande composée de « ?<CRLF> » (c'est-à-dire un point d'interrogation seul comme spécification de nom). La réponse du serveur NICNAME énumérera tous les formats utilisables. Les réponses ne sont pas, pour l'instant, destinées à être lisibles par machine ; l'information est destinée à être renvoyée directement à un utilisateur humain. Les trois exemples suivants illustrent l'emploi de NICNAME en octobre 1985.

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

Pour isoler une entrée particulière, répétez la commande en utilisant l'argument « !HANDLE » à la place de « NAME », où le handle est celui qui figure entre parenthèses après le nom.

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