GOPHER(1)

πŸ‘‘ GOPHER(1) β€” the manual, but make it make sense πŸ’…

okay bestie, welcome to gopher β€” aka the little client that could, aka your tunnel into the whole distributed document-delivery situation. This page is the General Commands Manual entry for gopher (that's the GOPHER(1) you see stamped on the top and bottom of the boring version). Let's get into it. πŸ¦‹


✨ NAME ✨

gopher β€” connect to a gopher document server. that's it. that's the whole job. πŸŽ€


🌸 SYNOPSIS 🌸

gopher [-sSbDr] [-t title] [-p path] [-T type] [-i search term]
[hostnameorurl] [port]

πŸ’– DESCRIPTION πŸ’–

The gopher client is how you talk to gopher servers. The second you've started it up, help on using it is literally right there β€” just press the ? key. no cap. 🫢

The Internet Gopher is a distributed document delivery service. What that means in group-chat terms: even a total neophyte user can get at all kinds of data living on a bunch of different hosts, and it all feels seamless. How? By serving you a hierarchical arrangement of documents and using a good old client-server communications model. The Internet Gopher Server takes simple queries and responds by sending the client a document. slay. ✨

The [hostname] of a gopher server can be specified at startup. Omit it and you just get the default server for your site β€” no biggie. You can also drop a URL (Uniform Resource Locator) in for this argument. 🌈

The [Port_number] of the server host can be specified at startup too. Omit it and you'll use the default port specified at your site. The more-or-less standard and accepted Gopher port number on the Internet is 70. iconic.


πŸŽ€ OPTIONS πŸŽ€

  • -b β€” starts the client on the bookmark page. straight to your faves. πŸ’–

The next few options are for the more advanced girlies who want to start somewhere other than the default, or who are setting up special aliases or shell scripts to point the gopher client at separate places. πŸ‘‘

  • -p path β€” specify a specific selector string to send to the gopher server on startup.
  • -T type β€” let the client know what type of object the -p option is pointing at.
  • -i search term β€” tell the client what to search for in the object defined by the -p and -T 7 options.
  • -t title β€” set the title of the initial screen for the gopher client.

The last few options aren't really of interest to regular users, but they're provided for system administrators who want to provide a secure client, or who need to debug a client. sysadmin main character energy, honestly. πŸ› οΈ

  • -s or -S β€” "secure mode", which means you can't save or print the files that you browse. -s is for users without an account, while -S assumes the user has an account on this machine. One security feature is forced on β€” regardless of the state of these options β€” if the name of the user's shell ends in rsh: the 'O' (options) command is disabled, so the user cannot select a shell as an application.
  • -r β€” tells the client that its user is remote.
  • -D β€” turns on the copious debugging output. it's giving verbose. πŸ’€

🧚 In-Session Options 🧚

Press return or the right arrow key on the mini keypad to view a document or enter a directory.

Press Control/W, Control/R, or Control/L to repaint your menu at any time. glow-up on demand. ✨

At any time, you may press ? to see a help file of commands available. iykyk. 🫢


πŸ“š BOOKMARKS πŸ“š

Bookmarks let users create their own personalized menus from the ones available across the variety of Gopher servers out there worldwide. The following list of keystrokes aids in developing and maintaining the bookmarks:

  • a β€” Add current item to the bookmark list.
  • A β€” Add current directory/search to bookmark list.
  • v β€” View bookmark list.
  • d β€” Delete a bookmark/directory entry.

πŸ¦‹ MOVING AROUND πŸ¦‹

Use the arrow keys to move around. 🎯

  • Up, k β€” Move to previous line.
  • Down, j β€” Move to next line.
  • Right, Return β€” "Enter"/Display current item.
  • Left, u β€” "Exit" current item/Go up a level.
  • >, +, Pgdwn, space β€” View next page.
  • <, -, Pgup, b β€” View previous page.
  • 0-9 β€” Go to a specific line.
  • m β€” Go back to the main menu.

πŸ’œ OTHER COMMANDS πŸ’œ

  • s β€” Save current item to a file.
  • S β€” Save current list of items to a file.
  • D β€” Download a file.
  • q β€” Quit with prompt.
  • Q β€” Quit unconditionally (also Control/Z).
  • r β€” goto root menu of current item.
  • R β€” goto root menu of current menu.
  • = β€” Display Technical information about current item.
  • ^ β€” Display technical information about current directory.
  • o β€” Open a new gopher server.
  • w β€” Open a new gopher server or item by URL.
  • O β€” Change options.
  • f β€” Connect to an anonymous FTP host.
  • / β€” Search for an item in the menu.
  • g β€” "Gripe" via email to administrator of current item.
  • n β€” Find next search item.
  • $, ! β€” Spawn to subprocess (use "logout" to return to session).
  • Ctrl-T β€” Show host's local date and time.

πŸ‘‘ GOPHER OBJECTS πŸ‘‘

Menu entries ending with "/" are directories. Additional characteristics for files (such as binary, sound, image, and others) are identified within angle brackets.

  • (none) β†’ type 0 β€” file
  • / β†’ type 1 β€” directory
  • <) β†’ type s β€” sound file
  • <Picture> β†’ type I,g β€” image file
  • <Movie> β†’ type ; β€” movie file
  • <HQX> β†’ type 4 β€” BinHexed Macintosh file
  • <Bin> β†’ type 9 β€” binary file
  • <PC Bin> β†’ type 5 β€” DOS binary file
  • <CSO> β†’ type 2 β€” CSO (ph/qi) phone-book server
  • <TEL> β†’ type 8 β€” telnet connection
  • <3270> β†’ type T β€” telnet connection (IBM 3270 emulation)
  • <MIME> β†’ type M β€” Multi-purpose Internet Mail Extensions file
  • <HTML> β†’ type h β€” HyperText Markup Language file
  • <?> β†’ type 7 β€” index-search item
  • <??> β†’ type (none) β€” ASK form

πŸ”₯ EXAMPLES πŸ”₯

gopher gopher.tc.umn.edu

Connect to the gopher server running on the computer gopher.tc.umn.edu.

gopher gopher.tc.umn.edu

gopher -p "1/Information About Gopher" gopher.tc.umn.edu 70

Connect to the gopher server running on port 70 of the computer gopher.tc.umn.edu and start at the menu retrieved with the selector string 1/Information About Gopher.

gopher -p "1/Information About Gopher" gopher.tc.umn.edu 70

gopher -p 7/indexes/Gopher-index/index -T 7 -i FAQ mudhoney.micro.umn.edu

Connect to the gopher server running on the computer mudhoney.micro.umn.edu and start at the menu of items matching the string FAQ in the index specified by the selector string 7/indexes/Gopher-index/index.

gopher -p 7/indexes/Gopher-index/index -T 7 -i FAQ
mudhoney.micro.umn.edu

🌈 CONFIGURATION FILE FORMAT 🌈

The client gets configuration data from the system gopher.rc file and the user's .gopherrc files. The options in these files may be set by using the O key in the client.

See the manual page for gopherrc for more information about these options. πŸ“–


⭐ ENVIRONMENT VARIABLES ⭐

The client also checks for environment variables for its configuration information. The following variables can be used:

  • GOPHER_TELNET β€” the program used to connect to telnet services.
  • GOPHER_TN3270 β€” the program used to connect to TN3270 services.
  • GOPHER_HTML β€” the program used to read HyperText Markup Language documents.
  • GOPHER_PRINTER β€” the program used to print from a pipe.

πŸ“ FILES πŸ“

  • $HOME/.gopherrc β€” user bookmarks and configuration information.
  • /usr/local/lib/gopher.rc β€” system default configuration information (default location β€” may be somewhere else on your system).
  • /usr/local/lib/gopher.hlp β€” client help file displayed by the '?' command (default location β€” may be somewhere else on your system).

The Internet Gopher(tm) software and documentation is copyright (c) 1991, 1992, 1993, 1994 by the University of Minnesota. Gopher has limitations on its use and comes without a warranty. Please refer to the file 'Copyright' included in the distribution.

bestie, fr fr: limitations on use, no warranty. read the 'Copyright' file, it's not a vibe, it's a rule. πŸ’…

okay that's the whole thing!! and for the lil' sign-off at the bottom, the original page just stamps GOPHER(1) again β€” same as the top β€” so consider this your cute lil' bow on the package: gopher(1), General Commands Manual, GOPHER(1). go press ? and live your best gopher life, bestie πŸ«ΆπŸ’–βœ¨