Gopher protocol
From Free net encyclopedia
Gopher is a distributed document search and retrieval network protocol designed for the Internet. Its goal was similar to that of the World Wide Web, and it has been almost completely displaced by the Web.
The Gopher protocol offers some features not natively supported by the Web and imposes a much stronger hierarchy on information stored in it. Its text menu interface is well-suited to computing environments that rely heavily on remote computer terminals, common in universities at the time of its creation. Some consider it to be the superior protocol for storing and searching large repositories of information.
Contents |
History
Origins
The original Gopher system was released in late spring of 1991 by Mark McCahill, Farhad Anklesaria, Paul Lindner, Dan Torrey, and Bob Alberti of the University of Minnesota. Its central goals were:
- A file-like hierarchical arrangement that would be familiar to users
- A simple syntax
- A system that can be created quickly and inexpensively
- Extending the file system metaphor to include things like searches
The source of the name "Gopher" is claimed to be three-fold:
- Users instruct it to "go for" information
- It does so through a web of menu items analogous to gopher holes
- The sports team of the University of Minnesota is the Golden Gophers
Gopher combines document hierarchies with collections of services, including WAIS, the Archie and Veronica search engines, and gateways to other information systems such as ftp and Usenet.
The general interest in Campus-Wide Information Systems (CWISs) <ref>Google Groups archive of bit.listserv.cwis-l discussion</ref> in higher education at the time, and the ease with which a Gopher server could be set up to create an instant CWIS with links to other sites' online directories and resources were the factors contributing to Gopher's rapid adoption. By 1992, the standard method of locating someone's e-mail address was to find their organization's CSO nameserver entry in Gopher, and query the nameserver <ref>Google Groups archive of comp.infosystems.gopher discussion</ref>.
The exponential scaling of utility in social networked systems (Reed's law) seen in Gopher, and then the web, is a common feature of networked hypermedia systems with distributed authoring. In 1993–1994, Web pages commonly contained large numbers of links to Gopher-delivered resources, as the Web continued Gopher's embrace and extend tradition of providing gateways to other services.
Decline
When the World Wide Web was first introduced in 1991, Gopher was already established. Gopher became very popular before the Web did; yet by the late 1990s, Gopher had almost disappeared.
There are a number of factors which contributed to Gopher's decline in popularity:
- In February of 1993, the University of Minnesota announced that they would begin charging licensing fees for the use of their implementation of the Gopher server <ref>http://www.funet.fi/pub/vms/networking/gopher/gopher-software-licensing-policy.ancient</ref>, which reduced the popularity of Gopher servers. From the consequent response<ref>http://groups.google.com/groups?selm=1mj6cb$6gm@pith.uoregon.edu</ref> it seems that at least some users suspected that a licensing fee would be also charged for independent implementations. Some believe this is what relegated Gopher to a footnote in the history of the Internet <ref>http://groups.google.com/groups?selm=36e4c2f1.10244576@nntp.best.ix.netcom.com</ref>. The University eventually re-licensed their Gopher software under the GNU GPL <ref>ftp://boombox.micro.umn.edu/pub/gopher/gopher-software-licensing-policy.new</ref>.
- Most Gopher clients did not adequately support HTML, the lingua franca of the Web. Meanwhile, popular Web browsers such as Mosaic had poor support for Gopher, and once there was sufficient content on the Web to make it an important way of accessing information, there was even less of a need to support Gopher in Web browsers.
- Gopher has a limited structure, making it inflexible compared to the free-form HTML of the Web. With Gopher, every document has a defined format and type, and the typical user must navigate through a single server-defined menu system to get to a particular document. Many people did not like the artificial distinction between menu and fixed document in the Gopher system, and found the Web's open-ended flexibility much more useful for constructing free-form, interrelated sets of documents ("HTML") and interactive applications.
Availability of Gopher today
As of 2006, there are still a few Gopher servers present on the net, in organizations such as the Smithsonian Institution and the US government; a few are also being maintained by enthusiasts of the protocol, where almost all growth is occurring.
Some have suggested that the bandwidth-sparing simple interface of Gopher would be a good match for mobile phones and Personal digital assistants (PDAs), but so far, the market prefers Wireless Markup Language (WML)/Wireless Application Protocol (WAP), DoCoMo i-mode, XHTML Basic or other adaptations of HTML and XML.
Gopher characteristics
A Gopher system consists of a series of hierarchical menus. The choice of menu items and titles is set by the administrator of the server.
Image:Floodgap gopher top menu.PNG
Image:Floodgap gopher fun menu.PNG
Image:Floodgap gopher servers menu.PNG Image:Umn gopher dir.png
Similar to a file on a Web server, a file on a Gopher server can be linked to as a menu item from any other Gopher server. Many servers take advantage of this inter-server linking to provide a directory of other servers that the user can access.
Technical details
Protocol
The Gopher protocol is documented in RFC 1436. It is traditionally served on TCP port 70.
After the client has established a TCP connection with the server, it sends a line that contains the item selector, a string that identifies the document to be retrieved. The line is ended with a carriage return followed by a line feed (a "CR + LF" sequence). An empty line will select the default directory. The server then replies with the requested item and closes the connection.
A directory consists of a sequence of lines, each of which describes an item that can be retrieved. These lines are ended with "CR + LF". They consist of five fields, separated by TAB characters:
- item type character, which is usually one of the following:
- 0 = plain text file
- 1 = directory
- 3 = error
- 7 = search server (returns a directory)
- h = html file
- i = informational text
- I = image file
- description text
- item selector (typically a file-system pathname)
- domain name of the server on which the item resides
- port number of that server
URL links
Historically, to create a link to a Web server, "GET /" was used as the file to simulate an HTTP client request. John Goerzen created an addition <ref>http://gopher.quux.org/Archives/Mailing%20Lists/gopher/gopher.2002-02|/MBOX-MESSAGE/34</ref> to the Gopher protocol, commonly referred to as "URL links", that allows links to any protocol that supports URLs. For example, to create a link to http://gopher.quux.org, the item type is "h", the description is arbitrary, the item selector is "URL:http://gopher.quux.org", and the domain and port are that of the originating Gopher server. For clients that do not support URL links, the server creates an HTML redirection page.
Gopher support in Web browsers
Image:Floodgap gopher in firefox 1.5.PNG
Gopher support was disabled in Internet Explorer in June 2002 by a patch meant to fix a security vulnerability<ref>Template:Cite web</ref> in the browser's Gopher protocol handler; however, it can be re-enabled by editing the Windows registry <ref>This is achieved by adding the following registry entry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\EnableGopher = dword:00000001</ref>.
Other browsers, including Mozilla and AOL still support the protocol, but incompletely — the most obvious deficiency is that they cannot display the informational text found on many Gopher menus. Konqueror needs a plugin<ref>The kgopher KIO plugin can be downloaded from http://kgopher.berlios.de/.</ref> to be installed for full Gopher support. Mozilla Firefox has full Gopher support as of release 1.5, and partial support in previous versions. The SeaMonkey Internet suite, successor of the Mozilla all-in-one suite also supports Gopher fully, as does Camino.
The Safari Web browser does not support Gopher at all while Opera requires the use of a proxy like Squid.
Gopher to HTTP gateways
Users of Web browsers that have incomplete or no support for Gopher<ref>To determine whether a Web browser supports Gopher, compare the display of this gopher menu with the same menu produced by a Gopher to HTML gateway in the browser.</ref> can access content on Gopher servers via a server gateway that converts Gopher menus into HTML. One such server is at Floodgap.com.
Some Gopher servers, like PyGopherd, also have built-in Gopher to HTTP interfaces.
Related technology
The main Gopher search engine is Veronica. Veronica offers a keyword search of most Gopher server menu titles in the gopher web. A Veronica search produces a menu of Gopher items, each of which is a direct pointer to a Gopher data source. Currently, there is only one Veronica-2 server.
GopherVR is a 3D variant of the original Gopher system.
See also
- [[Gopher+]] - extensions to the Gopher protocol
- HyTelnet - a similar mechanism for unifying Telnet-based interfaces
- Super Dimension Fortress - a non-profit organization which provides free Gopher access
References and footnotes
<references/>
External links
Standards
da:Gopher de:Gopher es:Gopher fr:Gopher gl:Gopher it:Gopher lt:Gopher nl:Gopher ja:Gopher pl:Gopher pt:Gopher ru:Gopher (сетевой протокол) fi:Gopher uk:Gopher zh:Gopher