summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc742.txt
blob: 3c4438fe5959dcea03443262b50eb6ec30a38a4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
NWG/RFC# 742                                  KLH 30-Dec-77 08:31  42758
Network Working Group                                     K. Harrenstien
Request for Comments: 742                                         SRI-KL
NIC: 42758                                              30 December 1977



                              NAME/FINGER




Introduction

   This note describes the Name/Finger protocol.  This is a simple
   protocol which provides an interface to the Name and Finger programs
   at several network sites.  These programs return a friendly,
   human-oriented status report on either the system at the moment or a
   particular person in depth.  Currently only the SAIL (SU-AI), SRI
   (SRI-(KA/KL)), and ITS (MIT-(AI/ML/MC/DMS)) sites support this
   protocol, but there are other systems with similar programs that
   could easily be made servers; there is no required format and the
   protocol consists mostly of specifying a single "command line".

To use via the network:

   ICP to socket 117 (octal, 79. decimal) and establish two 8-bit
   connections.

   Send a single "command line", ending with <CRLF>.

   Receive information which will vary depending on the above line and
   the particular system.  The server closes its connections as soon as
   this output is finished.

The command line:

   Systems may differ in their interpretations of this line.  However,
   the basic scheme is straightforward:  if the line is null (i.e. just
   a <CRLF> is sent) then the server should return a "default" report
   which lists all people using the system at that moment.  If on the
   other hand a user name is specified (e.g. FOO<CRLF>) then the
   response should concern only that particular user, whether logged in
   or not.

   Both ITS and SAIL sites allow several names to be included on the
   line, separated by commas; but the syntax for some servers can be
   slightly more elaborate.  For example, if "/W" (called the "Whois
   switch") also appears on the line given to an ITS server, much fuller
   descriptions are returned.  The complete documentation may be found
   at any time in the files ".INFO.;NAME ORDER" on MIT-AI,
   "FINGER.LES[UP,DOC]" on SU-AI, and "<DOCUMENTATION>FINGER.DOC" on





                                                                [Page 1]^L

NWG/RFC# 742                                  KLH 30-Dec-77 08:31  42758
Name/Finger



   SRI-KL, all freely accessible by FTP (with the exception of SRI-KL,
   where TOPS-20 requires the "anonymous" login convention).

   Allowable "names" in the command line should of course include "user
   names" or "login names" as defined by the system, but it is also
   reasonable to understand last names or even full names as well.  If a
   name is ambiguous, all possible derivations should be returned in
   some fashion; SAIL will simply list the possible names and no more,
   whereas an ITS server will furnish the full standard information for
   each possibility.

Response to null command line - "default" listing:

   This is a request for a list of all online users, much like a TOPS-10
   or TENEX "systat".  To fulfill the basic intent of the Name/Finger
   programs, the returned list should include at least the full names of
   each user and the physical locations of their terminals insofar as
   they can be determined.  Including the job name and idle time (number
   of minutes since last typein, or since last job activity) is also
   reasonable and useful.  The appendix has examples which demonstrate
   how this information can be formatted.

Response to non-null command line - "name" listing:

   For in-depth status of a specified user, there are two main cases.
   If the user is logged in, a line or two is returned in the same
   format as that for the "default" listing, but showing only that user.
   If not logged in, things become more interesting.  Furnishing the
   full name and time of last logout is the expected thing to do, but
   there is also a "plan" feature, wherein a user may leave a short
   message that will be included in the response to such requests.  This
   is easily implemented by (for example) having the program look for a
   specially named text file on the user's directory or some common
   area.  See the examples for typical "plans".

Implementation miscellany:

   Anyone wishing to implement such a server is encouraged to get in
   touch with the maintainers of NAME by sending a message to BUG-NAME @
   MIT-AI;  apart from offering advice and help, a list of all sites
   with such servers is kept there.  It is also suggested that any
   existing programs performing similar functions locally (i.e. not as
   net servers) be extended to allow specification of other sites, or
   names at other sites.  For example, on ITS systems one can say
   ":NAME<cr>" for a local default listing, or ":NAME @SAIL<cr>" for
   SAIL's default listing, or ":NAME Foo@MC<cr>" to ask MIT-MC about
   Foo's status, etc.





                                                                [Page 2]^L

NWG/RFC# 742                                  KLH 30-Dec-77 08:31  42758
Name/Finger



   It should be noted that connecting directly to the server from a TIP
   or an equally narrow-minded TELNET-protocol user program can result
   in meaningless attempts at option negotiation being sent to the
   server, which will foul up the command line interpretation unless the
   server knows enough to filter out IAC's and perhaps even respond
   negatively (IAC WON'T) to all option commands received.  This is a
   convenience but is not at all required, since normally the user side
   is just an extended NAME/FINGER type program.

And finally a little background:

   The FINGER program at SAIL, written by Les Earnest, was the
   inspiration for the NAME program on ITS.  Earl Killian at MIT and
   Brian Harvey at SAIL were jointly responsible for implementing the
   protocol just described, and Greg Hinchliffe has recently brought up
   a similar server for SRI-KA and SRI-KL.




































                                                                [Page 3]^L

NWG/RFC# 742                                  KLH 30-Dec-77 08:31  42758
Appendix - Examples



                                EXAMPLES



Note: it is possible for some lines of the actual output to exceed 80
chars in length.  The handling of such lines is of course dependant on
the particular user program; in these examples, lines have been
truncated to 72 chars for greater clarity.

                Three examples with a null command line:

Site: MIT-AI
Command line:

-User-   --Full name--          Jobnam Idle TTY -Console location-
XGP    O Xerox Graphics Printer XGPSPL      T24 Datapoint Near XGP (9TH)
FFM    U Steven J. Kudlak       HACTRN      T41 Net site CMU-10A
KLH    + Ken Harrenstien        F           T42 Net site SRI-KL
___013 -  Not Logged In         HACTRN 1:26.T43 DSSR UNIX x3-6048 (MIT-*
CWH    U Carl W. Hoffman        E         4.T50 919 Very Small Data Bas*
CARL   A Carl Hewitt            HACTRN 5:03.T52 813 Hewitt x5873
APD    M Alexander Doohovskoy   XGP    1:52.T54 912 9th Floor Lounge x6*
JJK    T James Koschella        E           T55 824 Hollerbach, Levin, *
KEN    L Kenneth Kahn           E           T56 925 Moon (Tycho under) *


Site: SAIL
Command line:

     Person          Job Jobnam Idle    Terminal
DAN Dan Sleator       46 MACLSP      DM-3         150/1200 modem 415 49*
DEK Don Knuth          3 E        3. tv-55  205   Library
                      20 PI       2  TV-55  205   Library
ES  Gene Salamin      44 SD MC       TV-40  223a  Farmwald
JJ  Jerrold Ginsparg  11 TELNET      DM-0         150/1200 modem 415 49*
JMC John McCarthy      1 FINGER    . detached
                      12 E        2. IML-15       McCarthy's house
KRD Randy Davis       42 AID      7  TV-52  203   Allen
LES Les Earnest       23 TEMPS    2. DM-1         150/1200 modem 415 49*
ME  Martin Frost      17 E        3  tv-46  220   Filman, Frost
                      31 E           TV-46  220   Filman, Frost
PAM Paul Martin        9 E           TV-106 251C  King, Levy, Martin
ROD Rod Brooks        37 MACLSP   3  TV-117 250C
RWG Bill Gosper       30 SD MC       TV-34  230e  Robinson
                                     TV-67  213   Kant, McCune, Steinbe*
RWW Richard Weyhrauch 39 E           TV-42  214   Weyhrauch
SYS system files       6 FINGER      PTY122       job 5 Arpanet site AI*





                                                                [Page 4]^L

NWG/RFC# 742                                  KLH 30-Dec-77 08:31  42758
Appendix - Examples





Site: SRI-KL
Command line:

Thursday, 15-Dec-77 01:21:24-PST  System up  3 Days, 22:20:52  28 Jobs
Drum   0%  Load avs 0.26 0.23 0.31   14 Act, 10 Idle,  8 Det

User    Personal Name     Job Subsys 15m%  TTY  Room   Console Location
BLEAN   Bob Blean          37 EXEC    0.0   41  K2007  Blean
KLH     Ken Harrenstien    83 TELNET  1.6   12  J2023  Spaceport
KREMERS Jan Kremers        48 TECO    0.0  121  Dialup 326-7005 (300 Ba*
MAINT   Digital Equipment  54 SNDMSG  0.5   43  K2035  Melling
MCCLURG Jim McClurg        40 EXEC    0.0   26  PKT
MMCM    Michael McMahon    31 EXEC    1.5  122  Dialup 326-7006 (300 Ba*
MOORE   J Moore            52 TV      0.2  124  Dialup 326-7008 (300 Ba*
PATTIS  Richard Pattis     19 LISP    0.8   11  ARC
PETERSO Norman Peterson    33 EXEC   25:12 234         (RAND-TIP)
STONE   Duane Stone        34 TELNET 3:51  240         (RADC-TIP)
                           27 EXEC   7:11  232         (SRI-KL)
TORRES  Israel Torres      64 BSYS    0.0   76  K2079  TI by tape drives
                           68 EXEC   1:15  104  K2029  Operators' Office






























                                                                [Page 5]^L

NWG/RFC# 742                                  KLH 30-Dec-77 08:31  42758
Appendix - Examples



                     Examples with names specified:



Site: MIT-AI
Command line: klh

KLH    + Ken Harrenstien        Last logout 10/16/77 13:02:11  No plan.


Site: MIT-MC
Command line: cbf

CBF    M Charles Frankston      Not logged in.  Plan:
  I'll be visiting another planet til about December 15.  If anyone
  wants to get a hold of me transmit on some fundamental wavelength
  (like the radius of the hydrogen atom).


Site: MIT-MC
Command line: smith

BRIAN  A Brian C. Smith         Last logout 11/24/77 08:02:24  No plan.
DBS    T David B. Smith         Last logout 12/03/77 11:24:01  No plan.
BPS    T Byron Paul Smith       Not logged in.  No plan.
GRS    U Gary R. Smith          Last logout 12/12/77 18:43:19  No plan.
JOS    S Julius Orion III Smith Last logout 11/29/77 06:18:18  No plan.
$PETE  M PETER G. SMITH,        Not logged in.  No plan.
IAN    L Ian C. Smith           Not logged in.  No plan.
AJS    D Arnold J. Smith        Last logout 12/09/77 14:31:11  No plan.


Site: SU-AI
Command line: smith

"SMITH" is ambiguous:
RS  Bob Smith
DAV Dave Smith
JOS Julius Smith
LCS Leland Smith












                                                                [Page 6]^L

NWG/RFC# 742                                  KLH 30-Dec-77 08:31  42758
Appendix - Examples



Site: SU-AI
Command line: jbr

     Person          Job Jobnam Idle Line  Room   Location
JBR Jeff Rubin        16 COPY    27. TV-43  222   Rubin
                                     TV-104 233   hand-eye table


Site: SU-AI
Command line: bh

     Person               Last logout
BH  Brian Harvey      22:49 on 14 Dec 1977.  Plan:
    ^O08-Oct-77  2156   BH  ^Y12257 (1-Jul-78)
Weekdays during the day I'm usually unreachable; I'm either at S.F.
State or at Benjamin Franklin JHS in San Francisco, but neither place
is recommended for leaving messages.  Evenings and weekends I'm
generally home (55) 751-1762 unless I'm at SAIL.  I log in daily from
home.


Site: SRI-KL
Command line: greg

GREG (Greg Hinchliffe) is on the system:

Job Subsys  # Siz  Runtime    1m%  15m%  TTY  Room   Console Location
62  EXEC    1   0  0:00:10.6        0.8  235         (SUMEX-AIM)

Last login: Mon 12-Dec-77, 15:05, from SUMEX-AIM (Host #56.)
GREG has no new mail, last read on Mon 12-Dec-77 15:10





















                                                                [Page 7]^L