Gopher Protocol


  TypeDisplay String|Selector String|Host Name|Port|<CR><LF>

    '|' = <TAB>

Type (single character hint to client)
0: file, 1: directory, 2: CSO Phone Book, 3: Error, 4: Binhex'ed Mac file, 5: DOS binary archive, 6: UNIX uuencoded, 7: search, 8: telnet session, 9: binary, +: redundant server, T: tn3270 session, g: GIF file, I: image

Display String
What the client displays to user

Selector String
What the client sends back to server when user chooses this item.

Host Name or IP Address

Server Port

<CR><LF>
Carriage Return (\r), linefeed (\n) characters terminate the item.

Here the root menu from the HPCC Gopher


0  About this Gopher Server               0/about_this_gopher         gopher.hpcc.gov  70
1  About the National Coordination Office (NCO)
                                          1/about_nco                 gopher.hpcc.gov  70
1  Fact Sheets About the HPCC Program     1/about_hpcc                gopher.hpcc.gov  70
1  HPCC: Toward a National Information Infrastructure (1994 Blue Book)
                                          1/Blue-Book-1994            gopher.hpcc.gov  70
1  HPCC-Related Reports                   1/hpcc_related_reports      gopher.hpcc.gov  70
1  HPCC-Related Legislation               1/hpcc_related_legislation  gopher.hpcc.gov  70
1  HPCC Grants and Research Contracts     1/hpcc_grants               gopher.hpcc.gov  70
1  Links to Other HPCC Related Gophers    1/other_gophers             gopher.hpcc.gov  70
1  White House Statements/Policy Papers   1/white_house               gopher.hpcc.gov  70


R. P. C. Rodgers, Lister Hill Center, NLM (May 1994)