GOPHERRC(5) ConvexOS Man Pages GOPHERRC(5) NNAAMMEE gopherrc - configuration file for gopher(1) DDEESSCCRRIIPPTTIIOONN The ggoopphheerrrrcc file contains a list of directives that alter the behaviour of the ggoopphheerr((11)) client. It is composed of lines of the form: _T_o_k_e_n: _V_a_l_u_e Tokens are case insensitive and the value field will change, depending on the token. A pound sign ("#") at the beginning of a line signifies a comment line. Gopherrc files are used in a number of places. There is a global gopherrc file (called gopherrc). This is usually placed in a systemwide directory. A file with the same for- mat called remotegopher.rc is also used by the gopher client when using the -r switch. Also, an individual has their own customized version of this file in their home directory in the file .gopherrc. On VMS this file is called GOPHERRC. All of these files use the format described below. Most people will set the values in this file by pressing the 'O' key to set options in the curses gopher client, rather than editing this file directly. People considering editing this file on VMS should make sure their editor preserves the Stream_LF format of the file. _Q_u_i_c_k _p_s_e_u_d_o _g_r_a_m_m_a_r map: ,, SearchBolding: Bookmarks: The following tokens are recognized _m_a_p: maps a content type (such as text/plain, or image/gif) to commands to execute for displaying the document or printing the document, i.e. The content type, display command, and printing command are separated by commas. Printed 7/22/94 1 GOPHERRC(5) ConvexOS Man Pages GOPHERRC(5) The sequence of %s is replaced with the filename of a tem- porary file containing the document to be printed or viewed. If the command starts with the vertical bar (|) the command will be executed immediately and the document will be sent to the commands standard input. Note this feature does not work on VMS. If the display command is set to 'builtin', then the text file pager inside the gopher client will be used to display the item. _S_e_a_r_c_h_B_o_l_d_i_n_g: controls the clients display of search terms. If the value is 'yes', then search words will be bolded. Otherwise they'll be left alone. _B_o_o_k_m_a_r_k_s: The bookmarks in .link format follow. For more information on the format of a .link file, consult the gopherd(8) manual page. _S_a_m_p_l_e _g_o_p_h_e_r_r_c _f_i_l_e: map: text/plain,builtin,lpr %s map: image/gif,xv %s, Bookmarks: Type=1 Name=Bookmark #1 Host=gopher.tc.umn.edu Port=70 Path= # Type=0+ Name=textfile Host=foo.com Path=0/readme Port=70 SSEEEE AALLSSOO _M_e_d_i_a _T_y_p_e _R_e_g_i_s_t_r_a_t_i_o_n _P_r_o_c_e_d_u_r_e, March 1994, RFC 1590 _g_o_p_h_e_r(_1),gopherd(8) Printed 7/22/94 2