MCP gopher request

The original MOO $gopher system used a private protocol. This is a rendering of it into MCP. It has become deprecated in favor of display-url.

Keywords

host:

Required. Name of the gopher host to connect to.

port:

Optional. Port number to connect to on gopher host; defaults to 70.

path:

Optional. Pathname to send to the gopher host. Defaults to the empty string.

description:

Required. Description string; first character is the gopher type character, rest of characters are the human-readable name of the object.

Proposal: separate type from description.

Example

A request to retrive Gustavus Adolphus College's root menu:


  #$#gopher 12345678 host: gopher.gac.edu description: "1Gustavus Adolphus College"

 

Note that port and path default to 70 and "" respectively.