home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 August - Disc 2 / chip_20018102_hu.iso / bin / lynx / lynx.cfg < prev    next >
Text File  |  1998-10-06  |  81KB  |  1,700 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. # Definition pairs are of the form  VARIABLE:DEFINITION
  6. # NO spaces are allowed between the pair items.
  7. #
  8. #  If you do not have access to /usr/local/bin you may change
  9. #  the default location of this file in the userdefs.h file and recompile,
  10. #  or specify it's location on the command line with the "-cfg"
  11. #  command line option.
  12. #
  13. # Items may be commented out by putting a '#' as the FIRST char of the line
  14. #
  15. # All definitions must be flush left and have NO spaces.!!!
  16. #
  17. #
  18. # STARTFILE is the default URL if none is specified on the command line
  19. # or via a WWW_HOME environment variable.
  20. # note: these files can be remote (http://www.w3.org/default.html)
  21. # or local (file://localhost/PATH_TO/FILENAME
  22. #  replace PATH_TO with the complete path to FILENAME
  23. #  use Unix SHELL syntax and include the device on VMS systems)
  24. #
  25. STARTFILE:file://localhost/chip.htm
  26.  
  27. # HELPFILE must be defined as a URL and must have a
  28. # complete path if local:
  29. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  30. #   Replace PATH_TO with the path to the lynx_help subdirectory
  31. #   for this distribution (use SHELL syntax including the device
  32. #   on VMS systems).
  33. # The default HELPFILE is:
  34. # http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  35. #   This should be changed to the local path.
  36. #
  37. #HELPFILE:http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  38. HELPFILE:file://localhost/./lynxkeys.txt
  39.  
  40. # DEFAULT_INDEX_FILE is the default file retrieved when the
  41. # user presses the 'I' key when viewing any document.
  42. # An index to your CWIS can be placed here or a document containing
  43. # pointers to lots of interesting places on the web.
  44. #
  45. ##DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  46.  
  47. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  48. # if any, offered for reuse or editing when using the 'g'oto command.
  49. # The default is defined in userdefs.h.  If left FALSE, the circular
  50. # buffer of previously entered goto URLs can still be invoked via the
  51. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  52. #
  53. #GOTOBUFFER:FALSE
  54.  
  55. # JUMP_PROMPT is the default statusline prompt for jumps files (see below).
  56. # You can change the prompt here from that defined in userdefs.h.  Any
  57. # trailing white space will be trimmed, and a single space added by Lynx
  58. # following the last non-white character.  You must set the default prompt
  59. # before setting the default jumps file (below). If a default jumps file
  60. # was set via userdefs.h, and you change the prompt here, you must set the
  61. # default jumps file again (below) for the change to be implemented.
  62. #
  63. #JUMP_PROMPT:Jump to (use '?' for list):
  64.  
  65. # JUMPFILE is the default local file checked for shortcut URL's when
  66. # the user presses the 'J' (JUMP) key.  The user will be prompted for
  67. # a shortcut entry (analogously to 'g'oto), and can enter one
  68. # or use '?' for a list of the shortcuts with associated links to
  69. # their actual URL's.  See the sample jumps files in the samples
  70. # subdirectory.  Make sure your jumps file includes a '?' shortcut
  71. # for a file://localhost URL to itself:
  72. #
  73. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  74. #
  75. # If not defined here or in userdefs.h, the JUMP command will invoke
  76. # the NO_JUMPFILE statusline message (see userdefs.h).
  77. #
  78. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  79. #
  80. # Do not include "file://localhost" in the definition.
  81. #
  82. # Additional, alternate jumps files can be defined and mapped to
  83. # keystrokes at the bottom of lynx.cfg, but you should first define
  84. # the default jumps file (mapped by default to 'J', and to 'j' when
  85. # the "VI keys" 'o'ption is not ON) here or in userdefs.h, if you
  86. # wish to implement the jumps mechanism.
  87. #
  88. #JUMPFILE:/Lynx_Dir/jumps.html
  89.  
  90. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  91. # if any, offered for reuse or editing when using the 'J'ump command.
  92. # The default is defined in userdefs.h.  If left FALSE, the circular
  93. # buffer of previously entered targets (shortcuts) can still be invoked
  94. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  95. # If multiple jumps files are installed, the recalls of shortcuts will
  96. # be specific to each file.  If Lynx was built with PERMIT_GOTO_FROM_JUMP
  97. # defined, any random URLs used instead of shortcuts will be stored in the
  98. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  99. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  100. # followed by Up-Arrow had been entered).
  101. #
  102. #JUMPBUFFER:FALSE
  103.  
  104. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  105. # suggested filename in "Save to Disk" operations from the 'p'rint or
  106. # 'd'ownload menus.  On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  107. # or Unix syntax (including '~' for the HOME directory).  On Unix, you
  108. # must use Unix syntax.  If the symbol is not defined, or is zero-length
  109. # (""), no prefix will be used, and only a filename for saving in the
  110. # current default directory will be suggested.
  111. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  112. # variable has been set on Unix, or logical has been defined on VMS.
  113. #
  114. #SAVE_SPACE:~/foo/
  115.  
  116. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  117. # treated as an alias for the local host name in checks for URLs on
  118. # the local host (e.g., when the -localhost switch is set), and this
  119. # host name, "localhost", and HTHostName (the fully qualified domain
  120. # name of the system on which Lynx is running) will all be passed as
  121. # local.  A different definition here will override that in userdefs.h.
  122. #
  123. #LYNX_HOST_NAME:www.cc.ukans.edu
  124.  
  125. # localhost aliases
  126. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  127. # the -localhost switch is set.  These need not actually be local, i.e.,
  128. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  129. # other Internet sites.
  130. #
  131. #LOCALHOST_ALIAS:gopher.server.domain
  132. #LOCALHOST_ALIAS:news.server.domain
  133.  
  134. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  135. # the utmp or utmpx structure on systems with utmp capabilities, to
  136. # determine if a user is local to your campus or organization when
  137. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  138. # news, telnet/tn3270 and rlogin URLs.  An "inside" user is assumed
  139. # if your system does not have utmp capabilities.  CHANGE THIS here
  140. # if it was not changed in userdefs.h at compilation time.
  141. #
  142. #LOCAL_DOMAIN:ukans.edu
  143.  
  144. # CHARACTER_SET defines the default character set, i.e., that assumed
  145. # to be installed on the user's terminal.  It determines which characters
  146. # or strings will be used to represent 8-bit character entities within
  147. # HTML.  New character sets may be defined as explained in the README
  148. # files of the src/chrtrans directory in the Lynx source code distribution.
  149. # For Asian (CJK) character sets, it also determines how Kanji code will
  150. # be handled.  The default is defined in userdefs.h and can be changed
  151. # here, and via the 'o'ptions menu.  The 'o'ptions menu setting will be
  152. # stored in the user's RC file whenever those settings are saved, and
  153. # thereafter will be used as the default.  For Lynx a "character set" has
  154. # two names: a Display Character Set string for the Options screen and
  155. # for setting CHARACTER_SET here, and a corresponding MIME name (for
  156. # recognizing properly labelled charset parameters in HTTP headers etc.).
  157. # Not all Display Character Set names correspond to exactly one valid MIME
  158. # charset (for example "Other ISO Latin", "Chinese", "Transparent"), in
  159. # that case an appropriate valid (and more specific) MIME name should be
  160. # used where required.  The actions of the -raw switch and LYK_RAW_TOGGLE
  161. # ('@') are dependent on the character set.  For the Asian (CJK) sets the
  162. # corresponding charset is assumed in documents, i.e., raw or CJK mode is
  163. # ON by default, so that -raw or the initial LYK_RAW_TOGGLE will turn the
  164. # mode OFF.  The toggling also can be done via the 'o'ptions menu.  In raw
  165. # CJK mode, 8-bit characters are not reverse translated in relation to the
  166. # entity conversion arrays, i.e., they are assumed to be appropriate for
  167. # the current character set.  It should be toggled OFF when an Asian (CJK)
  168. # character set is selected but the document is not CJK.
  169. # The default for "raw mode" (before it is changed by -raw or LYK_RAW_TOGGLE),
  170. # if the display character set is not a CJK character set, depends on the
  171. # display character set as well as the ASSUME_CHARSET value (see below) from
  172. # either this file or an -assume_charset command line option.  The mode
  173. # defaults to ON if the ASSUME_CHARSET value corresponds to the display
  174. # character set, otherwise to OFF.
  175. # It can be toggled ON if you believe the document has a charset which does
  176. # correspond to your Display Character Set, but was not detected to have
  177. # that charset and was handled as having the default charset (normally
  178. # iso-8859-1).  You also can specify the default charset (to one other
  179. # than iso-8859-1) via the ASSUME_CHARSET value (see below) from either
  180. # this file or an -assume_charset command line option.  Note that "raw"
  181. # does not mean that every byte will be passed to the screen.  HTML
  182. # character entities may get expanded and translated, inappropriate control
  183. # characters filtered out, etc.  Raw mode effectively changes the charset
  184. # assumption about unlabelled documents. There is a "Transparent" pseudo
  185. # character set for more "rawness".
  186. #
  187. # The default character sets include:
  188. #    Display Character Set name         MIME name
  189. #    ==========================         =========
  190. #    ISO Latin 1                        iso-8859-1
  191. #    ISO Latin 2                        iso-8859-2
  192. #    Other ISO Latin                    x-iso-8859-other
  193. #    WinLatin1 (cp1252)                 iso-8859-1-windows-3.1-latin-1
  194. #    DEC Multinational                  dec-mcs
  195. #    Macintosh (8 bit)                  macintosh
  196. #    NeXT character set                 x-next
  197. #    KOI8-R Cyrillic                    koi8-r
  198. #    Chinese                            euc-cn
  199. #    Japanese (EUC)                     euc-jp
  200. #    Japanese (SJIS)                    shift_jis
  201. #    Korean                             euc-kr
  202. #    Taipei (Big5)                      big5
  203. #    Vietnamese (VISCII)                viscii
  204. #    7 bit approximations               us-ascii
  205. #    Transparent                        x-transparent
  206. #    IBM PC character set               cp437
  207. #    IBM PC codepage 850                cp850
  208. #    PC Latin2 CP 852                   cp852
  209. #    DosCyrillic (cp866)                cp866
  210. #    DosGreek (cp737)                   cp737
  211. #    DosGreek2 (cp869)                  cp869
  212. #    DosArabic (cp864)                  cp864
  213. #    DosHebrew (cp862)                  cp862
  214. #    WinLatin2 (cp1250)                 windows-1250
  215. #    WinCyrillic (cp1251)               windows-1251
  216. #    WinGreek (cp1253)                  windows-1253
  217. #    WinHebrew (cp1255)                 windows-1255
  218. #    WinArabic (cp1256)                 windows-1256
  219. #    ISO Latin 3                        iso-8859-3
  220. #    ISO Latin 4                        iso-8859-4
  221. #    ISO 8859-5 Cyrillic                iso-8859-5
  222. #    ISO 8859-6 Arabic                  iso-8859-6
  223. #    ISO 8859-7 Greek                   iso-8859-7
  224. #    ISO 8859-8 Hebrew                  iso-8859-8
  225. #    ISO 8859-9 (Latin 5)               iso-8859-9
  226. #    ISO 8859-10                        iso-8859-10
  227. #    UNICODE UTF 8                      unicode-1-1-utf-8
  228. #    RFC 1345 w/o Intro                 mnemonic+ascii+0
  229. #    RFC 1345 Mnemonic                  mnemonic
  230. #
  231. CHARACTER_SET:iso-8859-2
  232.  
  233. # IF compiled with -DEXP_CHARTRANS:
  234. # ASSUME_CHARSET changes the handling of documents which do not
  235. # explicitly specify a charset.  Normally Lynx assumes that 8-bit
  236. # characters in those documents are encoded according to iso-8859-1
  237. # (the official default for the HTTP protocol).  When ASSUME_CHARSET
  238. # given here or by an -assume_charset command line flag is in effect,
  239. # Lynx will treat documents as if they were encoded accordingly.
  240. # See above on how this interacts with "raw mode" and the Display
  241. # Character Set.
  242. # The value should be the MIME name of a character set recognized by
  243. # Lynx (case insensitive).
  244. #
  245. ASSUME_CHARSET:cp437
  246.  
  247. # IF compiled with -DEXP_CHARTRANS:
  248. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  249. # files.  If no setting is given here or by an -assume_local_charset
  250. # command line option, the value for ASSUME_CHARSET or -assume_charset
  251. # is used.
  252. # This option may interfere with "raw mode" toggling when local files
  253. # are viewed (it is "stronger" than the effective change of the charset
  254. # assumption caused by changing "raw mode"), so only use when necessary.
  255. #
  256. ASSUME_LOCAL_CHARSET:cp437
  257.  
  258. # IF compiled with -DEXP_CHARTRANS:
  259. # If Lynx encounters a charset parameter it doesn't recognize, it will
  260. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  261. # -assume_unrec_charset command line option) for it.  This can be used
  262. # to deal with charsets unknown to Lynx, if they are "sufficiently
  263. # similar" to one that Lynx does know about, by forcing the same
  264. # treatment.  There is no default, and you probably should leave this
  265. # undefined unless necessary.
  266. #
  267. ASSUME_UNREC_CHARSET:cp437
  268.  
  269. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  270. # "fr") which will be indicated by Lynx in its Accept-Language headers
  271. # as the preferred language.  If available, the document will be
  272. # transmitted in that language.  Users can override this setting via
  273. # the 'o'ptions menu and save that preference in their RC file.
  274. #
  275. #PREFERRED_LANGUAGE:en
  276.  
  277. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  278. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  279. # requests to http servers using an Accept-Charsets header.  The value
  280. # should NOT include "ISO-8859-1" or "US-ASCII", since those values are
  281. # always assumed by default.  If a file in that character set is available,
  282. # the server will send it.  Otherwise, the server will send the file in
  283. # ISO-8859-1 or US-ASCII.  Users can change or eliminate this definition
  284. # via the 'o'ptions menu and save that preference in their RC file.
  285. #
  286. PREFERRED_CHARSET:cp437
  287.  
  288. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  289. # prepended (together with a scheme://) and appended to the first element
  290. # of command line or 'g'oto arguments which are not complete URLs and
  291. # cannot be opened as a local file (file://localhost/string).  Both
  292. # can be comma-separated lists.  Each prefix must end with a dot, each
  293. # suffix must begin with a dot, and either may contain other dots (e.g.,
  294. # .com.jp).  The default lists are defined in userdefs.h and can be
  295. # changed here.  Each prefix will be used with each suffix, in order,
  296. # until a valid Internet host is created, based on a successful DNS
  297. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  298. # etc.).  The first element can include a :port and/or /path which will
  299. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  300. # become http://www.wfbr.edu:8002/dir/lynx).  The prefixes will not be
  301. # used if the first element ends in a dot (or has a dot before the
  302. # :port or /path), and similarly the suffixes will not be used if the
  303. # the first element begins with a dot (e.g., .nyu.edu will become
  304. # http://www.nyu.edu without testing www.nyu.com).  Lynx will try to
  305. # guess the scheme based on the first field of the expanded host name,
  306. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  307. # will be made gopher://gopher.wfbr.edu).
  308. #
  309. #URL_DOMAIN_PREFIXES:www.
  310. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  311.  
  312. # The following three definitions set the number of seconds for
  313. # pauses following statusline messages that would otherwise be
  314. # replaced immediately, and are more important than the unpaused
  315. # progress messages.  Those set by INFOSECS are also basically
  316. # progress messages (e.g., that a prompted input has been cancelled)
  317. # and should have the shortest pause.  Those set by MESSAGESECS are
  318. # informational (e.g., that a function is disabled) and should have
  319. # a pause of intermediate duration.  Those set by ALERTSECS typically
  320. # report a serious problem and should be paused long enough to read
  321. # whenever they appear (typically unexpectedly).  The default values
  322. # are defined in userdefs.h, and can be modified here should longer
  323. # pauses be desired for braille-based access to Lynx.
  324. #
  325. INFOSECS:1
  326. MESSAGESECS:1
  327. ALERTSECS:1
  328.  
  329. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  330. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  331. # attribute, instead of using a popup menu.  Note that if the MULTIPLE
  332. # attribute is present in the SELECT start tag, Lynx always will create a
  333. # vertical list of checkboxes for the OPTIONs.
  334. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  335. # menu and saved in the RC file, and always can be toggled via the -popup
  336. # command line switch.
  337. #
  338. USE_SELECT_POPUPS:TRUE
  339.  
  340. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  341. # over the current link in documents or the current option in popups.
  342. # Showing the cursor is handy if you are a sighted user with a poor
  343. # terminal that can't do bold and reverse video at the same time or
  344. # at all.  It also can be useful to blind users, as an alternative
  345. # or supplement to setting LINKS_AND_FORM_FIELDS_ARE_NUMBERED or
  346. # LINKS_ARE_NUMBERED.
  347. # The default defined here or in userdefs.h can be changed via the
  348. # 'o'ptions menu and saved in the RC file, and always can be toggled
  349. # via the -show_cursor command line switch.
  350. #
  351. #SHOW_CURSOR:TRUE
  352.  
  353. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  354. # upon for <H1> through <H6> headers.  The compilation default is FALSE
  355. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  356. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  357. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  358. #
  359. #BOLD_HEADERS:FALSE
  360.  
  361. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  362. # upon for <H1> headers even if BOLD_HEADERS is FALSE.  The compilation
  363. # default is FALSE.  On Unix, compilation with -DUNDERLINE_LINKS also
  364. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  365. #
  366. #BOLD_H1:FALSE
  367.  
  368. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  369. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  370. # have the HT_BOLD default style.  The compilation default is FALSE.
  371. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  372. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  373. #
  374. #BOLD_NAME_ANCHORS:FALSE
  375.  
  376. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  377. # cached in memory at one time.
  378. #
  379. # This so-called cache size (actually, number) is defined in userdefs.h and
  380. # may be modified here and/or with the command line argument -cache=NUMBER
  381. # The minimum allowed value is 2, for the current document and at least one
  382. # to fetch, and there is no absolute maximum number of cached documents.
  383. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  384. # the least recently displayed document will be removed from memory.
  385. #
  386. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  387. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  388. # before previous documents are removed from memory.  If the values for both
  389. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  390. # least recently displayed documents will be freed until one or the other
  391. # value is no longer exceeded.  The default value was defined in userdefs.h.
  392. #
  393. # The Unix and VMS but not VAXC implementations use the C library malloc's
  394. # and calloc's for memory allocation, and procedures for taking the actual
  395. # amount of cache into account still need to be developed.  They use only
  396. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  397. # number of documents to cache (rather than the maximum number only if
  398. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  399. #
  400. #DEFAULT_CACHE_SIZE:10
  401. #DEFAULT_VIRTUAL_MEMORY_SIZE:512000
  402.  
  403. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  404. # with method POST, dumping any cache from a previous submission of the
  405. # form, including when the document returned by that form is sought with
  406. # the PREV_DOC command or via the history list.  Lynx always resubmits
  407. # forms with method POST when a submit button or a submitting text input
  408. # is activated, but normally retrieves the previously returned document
  409. # if it had links which you activated, and then go back with the PREV_DOC
  410. # command or via the history list.
  411. #
  412. # The default defined here or in userdefs.h can be toggled via
  413. # the -resubmit_forms command line switch.
  414. #
  415. #ALWAYS_RESUBMIT_POSTS:FALSE
  416.  
  417. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  418. # server-side image map if both a server-side and client-side map for the
  419. # same image is indicated in the HTML markup.  The compilation default is
  420. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  421. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  422. # accessing Lynx's text-based rendition of the client-side map (based on
  423. # the content of the associated MAP element).  If the "[ISMAP]" link is
  424. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  425. # Lynx-friendly sites can map to a for-text-client document, homologous
  426. # to what is intended for the content of a FIG element.
  427. #
  428. # The compilation default, or default defined here, can be toggled via
  429. # the "-ismap" command line switch.
  430. #
  431. #NO_ISMAP_IF_USEMAP:FALSE
  432.  
  433. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  434. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  435. # will be resolved with respect to the current document's base, which
  436. # might not be the same as the current document's URL.
  437. # The compilation default is to use the current document's URL in all
  438. # cases (i.e., assume the MAP is present below, if it wasn't present
  439. # above the point in the HTML stream where the USEMAP attribute was
  440. # detected).  Lynx's present "single pass" rendering engine precludes
  441. # checking below before making the decision on how to resolve a USEMAP
  442. # reference consisting solely of a fragment.
  443. #
  444. #SEEK_FRAG_MAP_IN_CUR:TRUE
  445.  
  446. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  447. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  448. # resolved with respect to the current document's base, which might
  449. # not be the same as the current document's URL.  The compilation
  450. # default is to use the current document's URL, as is done for the
  451. # HREF attribute values of Anchors and LINKs that consist solely of
  452. # a fragment.
  453. #
  454. #SEEK_FRAG_AREA_IN_CUR:TRUE
  455.  
  456. # Local execution links and scripts are completely disabled
  457. # in the source code unless they are enabled in the
  458. # userdefs.h file and the sources recompiled.  Please
  459. # see the Lynx source code distribution and the userdefs.h
  460. # file for more detail on enabling execution links and scripts.
  461. #
  462. # If you have enabled execution links or scripts the following
  463. # two variables control Lynx's action when an execution link
  464. # or script is encountered.
  465. #
  466. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  467. # link or script will be executed no matter where it came from.
  468. # This is EXTREMELY dangerous.  Since Lynx can access files from
  469. # anywhere in the world, you may encounter links or scripts that
  470. # will cause damage or compromise the security of your system.
  471. #
  472. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  473. # links or scripts that reside on the local machine and are
  474. # referenced with a URL beginning with "file://localhost/" or meet
  475. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  476. # executed.  This is much less dangerous than enabling all execution
  477. # links, but can still be dangerous.
  478. #
  479. #LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  480. #LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE
  481.  
  482. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  483. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  484. # or lynxprog command will be permitted if it was referenced with a URL
  485. # beginning with that string.  If you wish to restrict the referencing URL's
  486. # further, you can extend the string to include a trusted path.  You also can
  487. # specify a trusted directory for http URL's, which will then be treated as
  488. # if they were local rather than remote.  For example:
  489. #
  490. #       TRUSTED_EXEC:file://localhost/trusted/
  491. #       TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  492. #
  493. # If you also wish to restrict the commands which can be executed, create
  494. # a series of rules with the path (Unix) or command name (VMS) following
  495. # the string, separated by a tab.  For example:
  496. #
  497. # Unix:
  498. #       TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  499. #       TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  500. # VMS:
  501. #       TRUSTED_EXEC:file://localhost/<tab>copy
  502. #       TRUSTED_EXEC:file://localhost/<tab>delete
  503. #
  504. # Once you specify a TRUSTED_EXEC referencing string, the default is
  505. # replaced, and all the referencing strings you desire must be specified
  506. # as a series.  Similarly, if you associate a command with the referencing
  507. # string, you must specify all of the allowable commands as a series of
  508. # TRUSTED_EXEC rules for that string.  If you specify ALWAYS_TRUSTED_EXEC
  509. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  510. #
  511. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  512. # URL's in that file will be permitted, regardless of other settings.  If
  513. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  514. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  515. # lynxexec or lynxprog URL's in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  516. # see below) will be allowed.  Note, however, that if Lynx was compiled with
  517. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  518. # is included with the -anonymous switch at run time, then users of an
  519. # anonymous account will not be able to access the jumps file or enter
  520. # 'j'ump shortcuts, and this selective execution feature will be overridden
  521. # as well (i.e., they will only be able to access lynxexec or lynxprog
  522. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  523. #
  524. #TRUSTED_EXEC:none
  525.  
  526. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  527. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it.  This is useful for
  528. # anonymous accounts in which you have disabled execution links generally,
  529. # and may also have disabled jump file links, but still want to allow
  530. # execution of particular utility scripts or programs.  The format is
  531. # like that for TRUSTED_EXEC.  For example:
  532. #
  533. # Unix:
  534. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  535. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  536. # VMS:
  537. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  538. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  539. #
  540. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  541. #
  542. #ALWAYS_TRUSTED_EXEC:none
  543.  
  544. # Unix:
  545. # =====
  546. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  547. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h).  The format
  548. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  549. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  550. # and path for lynxcgi links will be permitted.  Example rules:
  551. #
  552. #       TRUSTED_LYNXCGI:file://localhost/
  553. #       TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  554. #       TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  555. #
  556. # VMS:
  557. # ====
  558. # Do not define this.
  559. #
  560. #TRUSTED_LYNXCGI:none
  561.  
  562. # Unix:
  563. # =====
  564. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  565. # environment variable to the list of environment variables passed on to the
  566. # lynxcgi script. Useful variables are HOME, USER, EDITOR, etc...
  567. #
  568. # VMS:
  569. # ====
  570. # Do not define this.
  571. #
  572. #LYNXCGI_ENVIRONMENT:
  573.  
  574. # Unix:
  575. # =====
  576. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  577. # to lynxcgi scripts.  If set and the URL has PATH_INFO data, then
  578. # PATH_TRANSLATED will also be generated.  Examples:
  579. #       LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  580. #       LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  581. #
  582. # VMS:
  583. # ====
  584. # Do not define this.
  585. #
  586. #LYNXCGI_DOCUMENT_ROOT:
  587.  
  588. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  589. # received from https servers never will be sent unencrypted to http
  590. # servers.  The compilation default is to impose this block only if the
  591. # https server included a secure attribute for the cookie.  The normal
  592. # default or that defined here can be toggled via the -force_secure
  593. # command line switch.
  594. #
  595. #FORCE_SSL_COOKIES_SECURE:FALSE
  596.  
  597. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  598. #  the information, or ALERTMAIL if there is no owner, every time
  599. #  that a document cannot be accessed!
  600. #
  601. #  NOTE: This can generate A LOT of mail, be warned.
  602. #
  603. #MAIL_SYSTEM_ERROR_LOGGING:FALSE
  604.  
  605. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  606. # message) about the existence of any unread mail at startup of Lynx, and
  607. # will get statusline messages if subsequent new mail arrives.  If a jumps
  608. # file with a lynxprog URL for invoking mail is available, or your html
  609. # pages include an mail launch file URL, the user thereby can access mail
  610. # and read the messages.  The checks and statusline reports will not be
  611. # performed if Lynx has been invoked with the -restrictions=mail switch.
  612. #
  613. #  VMS USERS !!!
  614. # New mail is normally broadcast as it arrives, via "unsolicited screen
  615. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  616. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  617. # instead (e.g., in a public account which will be used by people who
  618. # are ignorant about VMS).
  619. #
  620. #CHECKMAIL:FALSE
  621.  
  622. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  623. # must be set so that it points to your site's NNTP server (see INSTALLATION).
  624. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt) and
  625. # and does not accept a host field in news URLs (use nntp: instead news: for
  626. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  627. # RFC).  If you have not set the variable externally, you can set it at run
  628. # time via this configuration file.  It will not override an external setting.
  629. # Note that on VMS it is set as a process logical rather than symbol, and will
  630. # outlive the Lynx image.
  631. #
  632. #NNTPSERVER:news.server.dom
  633.  
  634. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  635. # the numbers of articles in news listings, instead of using an unordered
  636. # list.  The default is defined in userdefs.h, and can be overridden here.
  637. #
  638. #LIST_NEWS_NUMBERS:FALSE
  639.  
  640. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  641. # news listings.  The dates always are included in the articles, themselves.
  642. # The default is defined in userdefs.h, and can be overridden here.
  643. #
  644. #LIST_NEWS_DATES:FALSE
  645.  
  646. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  647. # listings with inclusion of links for listing earlier and/or later articles.
  648. # The defaults are defined in HTNews.c as 30 and 40, respectively.  If the
  649. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  650. # in NEWS_CHUNK_SIZE chunks.  You can change the defaults here, and/or on
  651. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  652. # switches.  Note that if the chunk size is increased, here or on the command
  653. # line, to a value greater than the current maximum, the maximum will be
  654. # increased to that number.  Conversely, if the maximum is set to a number
  655. # less than the current chunk size, the chunk size will be reduced to that
  656. # number.  Thus, you need use only one of the two switches on the command
  657. # line, based on the direction of intended change relative to the compilation
  658. # or configuration defaults.  The compilation defaults ensure that there will
  659. # be at least 10 earlier articles before bothering to chunk and create a link
  660. # for earlier articles.
  661. #
  662. #NEWS_CHUNK_SIZE:30
  663. #NEWS_MAX_CHUNK:40
  664.  
  665. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  666. # news groups via Lynx.  If left TRUE, Lynx will use its news gateway to
  667. # post new messages or followups to news groups, using the URL schemes
  668. # described in the "Supported URL" section of the online 'h'elp.  The
  669. # posts will be attempted via the nntp server specified in the URL, or
  670. # if none was specified, via the NNTPSERVER configuration or environment
  671. # variable.  Links with these URLs for posting or sending followups are
  672. # created by the news gateway when reading group listings or articles
  673. # from nntp servers if the server indicates that it permits posting.
  674. # The compilation default set in userdefs.h can be changed here.  If
  675. # the default is TRUE, posting can still be disallowed via the
  676. # -restrictions command line switch.
  677. #
  678. #NEWS_POSTING:TRUE
  679.  
  680. # LYNX_SIG_FILE defines the name of a file containing a signature which
  681. # can be appended to email messages and news postings or followups.  The
  682. # user will be prompted whether to append it.  It is sought in the home
  683. # directory.  If it is in a subdirectory, begin it with a dot-slash
  684. # (e.g., ./lynx/.lynxsig).  The definition is set in userdefs.h and can
  685. # be changed here.
  686. #
  687. #LYNX_SIG_FILE:.lynxsig
  688.  
  689. # If USE_MOUSE is set TRUE, Lynx (when configured with ncurses) will allow
  690. # the user to click with button-1 on links to select them.
  691. #USE_MOUSE: FALSE
  692.  
  693. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  694. # Note that the valid way to insert extra blank lines in HTML is via a PRE
  695. # block with only newlines in the block.
  696. # The default is defined in userdefs.h, and can be overridden here.
  697. #
  698. #COLLAPSE_BR_TAGS:TRUE
  699.  
  700. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  701. # in http server replies.
  702. # The default is defined in userdefs.h, and can be overridden here,
  703. # and/or toggled via the -cookies command line switch.
  704. #
  705. #SET_COOKIES:TRUE
  706.  
  707. # VMS:
  708. #=====
  709. # The mail command is defined in userdefs.h.  It will be spawned as a
  710. # subprocess of lynx and used to send replies and error messages.
  711. # It can be re-defined here.  Your mailer must be able to accept a
  712. # subject line through the use of the /subject="SUBJECT" option.
  713. # If your mailer uses another syntax, some hacking of the mailmsg()
  714. # and reply_by_mail() functions in LYMail.c may be required.
  715. #
  716. #SYSTEM_MAIL:mail
  717.  
  718. # Unix:
  719. #======
  720. # The mail path normally is defined for sendmail (or submit with MMDF)
  721. # in userdefs.h.  You can change it here, but should first read the
  722. # zillions of CERT advisories about security problems with Unix mailers.
  723. # You may need some hacking of the mailmsg() and reply_by_mail() functions
  724. # in LYMail.c, or interposition of a script, for other mailers.
  725. #
  726. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  727. #SYSTEM_MAIL:/usr/lib/sendmail
  728.  
  729. # VMS ONLY:
  730. #==========
  731. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  732. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  733. # by the user.  If you are using a different Internet mail transport, change
  734. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  735. #
  736. #MAIL_ADRS:"IN%%""%s"""
  737.  
  738. # VMS ONLY:
  739. #==========
  740. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  741. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  742. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  743. # headers of such files will indicate that they are Stream_LF with Implied
  744. # Carriage Control, which is incorrect, and can cause downloading software
  745. # to get confused and unhappy.  If you do set it FALSE, you can use the
  746. # FIXED512.COM command file, which is included in this distribution, to do
  747. # the conversion externally.
  748. #
  749. #USE_FIXED_RECORDS:TRUE
  750.  
  751. # VI_KEYS can be turned on by the user in the options
  752. # screen or the .lynxrc file.  This is just the default.
  753. #
  754. #VI_KEYS_ALWAYS_ON:FALSE
  755.  
  756. # EMACS_KEYS can be turned on by the user in the options
  757. # screen or the .lynxrc file.  This is just the default.
  758. #
  759. #EMACS_KEYS_ALWAYS_ON:FALSE
  760.  
  761. # DEFAULT_KEYPAD_MODE specifies whether by default the user
  762. # has numbers that work like arrows or else numbered links.
  763. # DEFAULT KEYPAD MODE may be set to TRUE for using numbers
  764. # as arrows as the default, or FALSE for using numbered links
  765. # as the default (LINKS_AND_FORM_FIELDS_ARE_NUMBERED cannot
  766. # currently be set by this option.).
  767. #
  768. #DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  769.  
  770. # The default search type.
  771. # This is a default that can be overridden by the user!
  772. #
  773. #CASE_SENSITIVE_ALWAYS_ON:FALSE
  774.  
  775. # DEFAULT_BOOKMARK_FILE is a default filename for use as a personal
  776. # bookmark file.  It will reference a file from the user's home directory.
  777. # NOTE that a file ending in .html or other suffix mapped to text/html
  778. # should be used to ensure it's treatment as HTML.  The built-in default
  779. # is lynx_bookmarks.html.  On both Unix and VMS, if a subdirectory off of
  780. # the HOME directory is desired, the path should begin with "./" (e.g.,
  781. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  782. # Lynx will create the bookmark file, if it does not already exist, on
  783. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  784. # (i.e., if the definition is just filename.html without any slashes),
  785. # but requires a pre-existing subdirectory to create the file there.
  786. # The user can re-define the default bookmark file, as well as a set
  787. # of sub-bookmark files if multiple bookmark file support is enabled
  788. # (see below), via the 'o'ptions menu, and can save those definitions
  789. # in the .lynxrc file.
  790. #
  791. #DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  792.  
  793. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  794. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  795. # first prompt the user to select an active sub-bookmark file or the
  796. # default bookmark file.  FALSE is the default so that one (the default)
  797. # bookmark file will be available initially.  The definition here will
  798. # override that in userdefs.h.  The user can turn on multiple bookmark
  799. # support via the 'o'ptions menu, and can save that choice as the startup
  800. # default via the .lynxrc file.  When on, the setting can be STANDARD or
  801. # ADVANCED.  If support is set to the latter, and the user mode also is
  802. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  803. # which the user can enter the letter token (A - Z) of the desired bookmark,
  804. # or '=' to get a menu of available bookmark files.  The menu always is
  805. # presented in NOVICE or INTERMEDIATE mode, or if the support is set to
  806. # STANDARD.  No prompting or menu display occurs if only one (the startup
  807. # default) bookmark file has been defined (define additional ones via the
  808. # 'o'ptions menu).  The startup default, however set, can be overridden on
  809. # the command line via the -restrictions=multibook or the -anonymous or
  810. # -validate switches.
  811. #
  812. #MULTI_BOOKMARK_SUPPORT:FALSE
  813.  
  814. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  815. # be forced off, and cannot to toggled on via the 'o'ptions menu.  The
  816. # compilation setting is normally FALSE, and can be overridden here.
  817. # It can also be set via the -restrictions=multibook or the -anonymous
  818. # or -validate command line switches.
  819. #
  820. #BLOCK_MULTI_BOOKMARKS:FALSE
  821.  
  822. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  823. # NOVICE  shows a three line help message at the bottom of the screen
  824. # INTERMEDIATE  shows normal amount of help (one line)
  825. # ADVANCED  help is replaced by the URL of the current link
  826. #
  827. DEFAULT_USER_MODE:ADVANCED
  828.  
  829. # DEFAULT_EDITOR sets the default editor for Lynx users.
  830. # If an editor is defined then the user may edit local documents
  831. # using that editor.  The editor will also be used for sending
  832. # mail messages.  If no editor is defined here or by the user
  833. # the user will not be able to edit local documents and a primitive
  834. # line oriented mail input mode will be used.
  835. # NOTE: Do not define an editor unless you know that every user will
  836. #       know how to use it.  Most users do not enjoy getting stuck in
  837. #       an unknown editor that they can't get out of.  Users can
  838. #       easily define an editor of their own using the options menu,
  839. #       so it is not always desirable to set the DEFAULT_EDITOR.
  840. #
  841. #DEFAULT_EDITOR:
  842.  
  843. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR except that it can't be
  844. # changed.
  845. #
  846. #SYSTEM_EDITOR:
  847.  
  848. # Proxy variables
  849. # Lynx version 2.2 and beyond supports the use of proxy servers that can
  850. # act as firewall gateways and caching servers.  They are preferable to
  851. # the older gateway servers.  Each protocol used by Lynx can be mapped
  852. # separately using PROTOCOL_proxy environment variables (see INSTALLATION).
  853. # If you have not set them externally, you can set them at run time via
  854. # this configuration file.  They will not override external settings.
  855. # The no_proxy variable can be a comma-separated list of hosts which should
  856. # not be proxied, or an asterisk to override all proxy variables.
  857. # Note that on VMS they are set as process logicals rather than symbols,
  858. # to preserve lowercasing, and will outlive the Lynx image.
  859. #
  860. #http_proxy:http://some.server.dom:port/
  861. #https_proxy:http://some.server.dom:port/
  862. #ftp_proxy:http://some.server.dom:port/
  863. #gopher_proxy:http://some.server.dom:port/
  864. #news_proxy:http://some.server.dom:port/
  865. #newspost_proxy:http://some.server.dom:port/
  866. #newsreply_proxy:http://some.server.dom:port/
  867. #snews_proxy:http://some.server.dom:port/
  868. #snewspost_proxy:http://some.server.dom:port/
  869. #snewsreply_proxy:http://some.server.dom:port/
  870. #nntp_proxy:http://some.server.dom:port/
  871. #wais_proxy:http://some.server.dom:port/
  872. #finger_proxy:http://some.server.dom:port/
  873. #cso_proxy:http://some.server.dom:port/
  874. #no_proxy:host.domain.dom
  875.  
  876. # Printer definitions
  877. # any number of printers may be defined by using multiple
  878. # printer definition sets.  Printers may be any program
  879. # that could be useful to your users, they do not necessarily
  880. # have to print.
  881. #
  882. # the definition of a printer is of the form
  883. # PRINTER:<printer name>:<printer command>:<printer option>:<lines/page>
  884. #
  885. #    <printer name> is the name that the user will see.
  886. # <printer command> is the command line arguments for printing a file.
  887. #                   The %s will be replaced with the file being printed.
  888. #                   If a second %s is given the second %s will be replaced by
  889. #                   a suggested filename that is prettier than the tempfile
  890. #                   name given in the first %s.  This does not remove the first
  891. #                   %s from the command line in any manner.  If you need to
  892. #                   use only the second %s file name in your printer command,
  893. #                   then I suggest creating a script which will first copy the
  894. #                   first %s file name to the second %s file name, and then
  895. #                   executing your print command with the second %s file name.
  896. #  <printer option> specifies whether the printer should be disabled for
  897. #                   users without printing options.  The options are
  898. #                   TRUE or FALSE;
  899. #                   TRUE means the printer will always be ENABLED
  900. #                        regardless of printer or anonymous settings
  901. #                   FALSE means the printer will be DISABLED when
  902. #                         the -noprint option is on, or for anonymous
  903. #                         users which are not allowed to print
  904. #
  905. #  <lines/page>    is an optional parameter for indicating the number of
  906. #                  lines per page for the printer.  Defaults to 66.  Used
  907. #                  for computing the approximate number of pages and
  908. #                  generating a statusline query of whether to proceed if
  909. #                  the document is longer than 4 printer pages.  Uses the
  910. #                  current screen length for the computation when the
  911. #                  built in "print to screen" option is selected.
  912. #
  913. #  You must put the whole definition on one line.
  914. #
  915. #  If you must use a colon, precede it with a backslash!
  916. #
  917. #  If you have a very busy VMS print queue and Lynx deletes the temporary
  918. #  files before they have been queued, use the VMSPrint.com included in
  919. #  the distribution.
  920. #
  921. #    examples
  922. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  923. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  924. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  925. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  926. #  Check out the lpansi program in utils/ for printing on vt100
  927. #  attached printers.
  928. #PRINTER:Use vt100 print sequence to print from your local terminal:lpansi %s:TRUE
  929. #  Don't use the following printer on anonymous accounts since
  930. #  allowing shell input is very dangerous.
  931. #PRINTER:Specify your own print command:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  932. #  Pass to a sophisticated file viewer (sources for most are available in
  933. #  ftp://space.mit.edu/pub/davis/most).  The most -k switch suppresses the
  934. #  invocation of hexadecimal display mode if 8-bit or control characters
  935. #  are present.  The +s switch invokes secure mode.
  936. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  937.  
  938. # Downloader definitions
  939. # any number of downloaders may be defined by using multiple
  940. # downloader definition sets.  Downloaders may be any program
  941. # that could be useful to your users, they do not necessarily
  942. # have to be a download protocol program. The most common use
  943. # of a downloader is to use Ckermit or some other transfer
  944. # program so that the user may easily transfer files back to
  945. # their local machine over a serial link.
  946. #
  947. # the definition of a downloader is of the form
  948. # DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
  949. #
  950. #    <downloader name> is the name that the user will see.
  951. # <downloader command> is the command line arguments for downloading a file.
  952. #                      The %s will be replaced with the file being downloaded.
  953. #                      If a second %s is given the second %s will be replaced
  954. #                      by a suggested filename that is nicer than the tempfile
  955. #                      name given in the first %s.  This does not replace the
  956. #                      first %s in the command line.  If your command needs
  957. #                      the suggest file name on the command line only, then
  958. #                      I suggest creating a script that will first copy the
  959. #                      first %s file name to the second %s file name, and then
  960. #                      execute the downloading command using the second %s file
  961. #                      name (e.g., 'sz' needs such a script interposed).
  962. #  <downloader option> specifies whether the downloader should be disabled for
  963. #                      anonymous users.  The options are
  964. #                      TRUE or FALSE;
  965. #                      TRUE means the downloader will always be ENABLED
  966. #                           regardless of the anonymous settings (however,
  967. #                           all downloading is disabled by -validate).
  968. #                      FALSE means the downloader will be DISABLED when
  969. #                            the user is anonymous.
  970. #
  971. #  You must put the whole definition on one line.
  972. #
  973. #  If you must use a colon, precede it with a backslash!
  974. #
  975. #    examples
  976. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  977. #  (don't use most's -k switch, so that binaries will invoke hexadecimal mode)
  978. #DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s -a %s:TRUE
  979. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  980. #    (example script in lieu of :sz %s: for offering a suggested filename)
  981. #  :set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:
  982.  
  983. # Unix ONLY:
  984. #===========
  985. # Uploader definitions (implemented only with Unix DIRED_SUPPORT;
  986. #                       see the Makefile in the top directory,
  987. #                       and the header of ./src/LYUpload.c)
  988. # any number of uploaders may be defined by using multiple
  989. # uploader definition sets.  Uploaders may be any program
  990. # that could be useful to your users, they do not necessarily
  991. # have to be an upload protocol program. The most common use
  992. # of an uploader is to use Ckermit or some other transfer
  993. # program so that the user may easily transfer files from
  994. # their local machine over a serial link.
  995. #
  996. # the definition of an uploader is of the same form as a downloader
  997. # UPLOADER:<uploadername>:<uploader command>:<uploader option>
  998. #
  999. #  You must put the whole definition on one line.
  1000. #
  1001. #  If you must use a colon, precede it with a backslash!
  1002. #
  1003. #  If you do not include a %s, you will not be prompted for an
  1004. #  output filename.
  1005. #
  1006. #    example
  1007. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1008.  
  1009. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1010. # be allowed to specify files beginning with a dot in reply to output filename
  1011. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1012. # will not be included in the directory browser's listings.  If set FALSE, you
  1013. # can force it to be treated as TRUE via -restrictions=dotfiles.  If set FALSE
  1014. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1015. # may save the preference in the RC file).
  1016. #
  1017. #NO_DOT_FILES:TRUE
  1018.  
  1019. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1020. # to http or https servers if the personal_mail_address has been defined via
  1021. # the 'o'ptions menu.  The compilation default is TRUE (no From header is
  1022. # sent) and the default can be changed here.  The default can be toggled at
  1023. # run time via the -from switch.  Note that transmissions of From headers
  1024. # have become widely considered to create an invasion of privacy risk.
  1025. #
  1026. #NO_FROM_HEADER:TRUE
  1027.  
  1028. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1029. # transmissions to servers.  Lynx normally sends the URL of the document
  1030. # from which the link was derived, but not for startfile URLs, 'g'oto
  1031. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1032. # URLs that include the content from form submissions with method GET.
  1033. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1034. # switch.
  1035. #
  1036. #NO_REFERER_HEADER:FALSE
  1037.  
  1038. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1039. # transmissions to servers for links or actions derived from documents
  1040. # or forms with file URLs.  This would ensure that paths associated
  1041. # with the local file system are never indicated to servers, even if
  1042. # NO_REFERER_HEADER is FALSE.  If left FALSE here, it can be set TRUE
  1043. # at run time via the -nofilereferer switch.
  1044. #
  1045. #NO_FILE_REFERER:FALSE
  1046.  
  1047. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1048. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1049. # strings will be links for the resolved SRC rather than just text.  For
  1050. # ISMAP or other graphic links, the ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1051. # strings will have '-' and a link labeled "[IMAGE]" for the resolved SRC
  1052. # appended.
  1053. #
  1054. # The default defined here will override that in userdefs.h, and the user
  1055. # can use LYK_IMAGE_TOGGLE to toggle the feature on or off at run time.
  1056. #
  1057. # The default also can be toggled via an "-image_links" command line switch.
  1058. #
  1059. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1060.  
  1061. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which do not
  1062. # specify an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1063. # i.e., they'll be treated as having ALT="".  If MAKE_LINKS_FOR_ALL_IMAGES
  1064. # is defined or toggled to TRUE, however, the pseudo-ALTs will be created
  1065. # for inlines, so that they can be used as links to the SRCs.
  1066. #
  1067. # The default defined here will override that in userdefs.h, and the user
  1068. # can use LYK_INLINE_TOGGLE to toggle the feature on or off at run time.
  1069. #
  1070. # The default also can be toggled via a "-pseudo_inlines" command line
  1071. # switch.
  1072. #
  1073. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1074.  
  1075. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1076. # for emphasis tags in dumps.
  1077. #
  1078. # The default defined here will override that in userdefs.h, and the user
  1079. # can toggle the default via a "-underscore" command line switch.
  1080. #
  1081. #SUBSTITUTE_UNDERSCORES:FALSE
  1082.  
  1083. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1084. # behavior of treating any '>' as a terminator for comments, instead of
  1085. # seeking a valid '-->' terminator (note that white space can be present
  1086. # between the '--' and '>' in valid terminators).  The compilation default
  1087. # is FALSE.
  1088. #
  1089. # The compilation default, or default defined here, can be toggled via a
  1090. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1091. #
  1092. #HISTORICAL_COMMENTS:FALSE
  1093.  
  1094. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1095. # of '--' pairs as serial comments within an overall comment element,
  1096. # and instead will seek only a '-->' terminator for the overall comment
  1097. # element.  This emulates the Netscape v2.0 comment parsing bug, and
  1098. # will help Lynx cope with the use of dashes as "decorations", which
  1099. # consequently has become common in so-called "Enhanced for Netscape"
  1100. # pages.  Note that setting Historical comments on will override the
  1101. # Minimal or Valid setting.
  1102. #
  1103. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1104. # set it TRUE here, until Netscape gets its comment parsing right,
  1105. # and "decorative" dashes cease to be so common.
  1106. #
  1107. # The compilation default, or default defined here, can be toggled via a
  1108. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1109. #
  1110. MINIMAL_COMMENTS:TRUE
  1111.  
  1112. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1113. # treating '>' as a co-terminator of a double-quoted attribute value
  1114. # and the tag which contains it, as was done in old versions of Netscape
  1115. # and Mosaic.  The compilation default is FALSE.
  1116. #
  1117. # The compilation default, or default defined here, can be toggled via
  1118. # a "-soft_dquotes" command line switch.
  1119. #
  1120. #SOFT_DQUOTES:FALSE
  1121.  
  1122. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1123. # browsers to strip a leading "../" segment from relative URLs in HTML
  1124. # documents with a http or https base URL, if this would otherwise lead to
  1125. # an absolute URLs with those characters still in it.  Such URLs are normally
  1126. # erroneous and not what is intended by page authors.  Lynx will issue
  1127. # a warning message when this occurs.
  1128. #
  1129. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1130. # without taking any special actions or issuing Warnings, in most cases
  1131. # this will result in an error response from the server.
  1132. #
  1133. # Note that Lynx never tries to fix similar URLs for protocols other than
  1134. # http and https, since they are less common and may actually be valid in
  1135. # some cases.
  1136. #
  1137. #STRIP_DOTDOT_URLS:TRUE
  1138.  
  1139. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1140. # displaying each new screenful of text.  Though less efficient for normal
  1141. # use, this allows programs that maintain a buffer of previously-displayed
  1142. # text to recognize the continuity of what has been displayed, so that
  1143. # previous screenfuls can be reviewed by whatever method the program uses
  1144. # to scroll back through previous text.  For example, the PC comm program
  1145. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1146. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1147. # will have been stored on the local PC and will therefore be displayed
  1148. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1149. # speed of the comm connection (but Lynx will not know about the change,
  1150. # so you must restore the last screen before resuming with Lynx commands).
  1151. #
  1152. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1153. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1154. # some poor curses implementations).
  1155. #
  1156. # The default compilation or configuration setting can be toggled via an
  1157. # "-enable_scrollback" command line switch.
  1158. #
  1159. #ENABLE_SCROLLBACK:FALSE
  1160.  
  1161. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1162. # of news articles for buried article and URL references and convert them
  1163. # to links.  The compilation default is TRUE, but some email addresses
  1164. # enclosed in angle brackets ("<user@address>") might be converted to false
  1165. # news links, and uuencoded messages might be corrupted.  The conversion is
  1166. # not done when the display is toggled to source or when 'd'ownloading, so
  1167. # uuencoded articles can be saved intact regardless of these settings.
  1168. #
  1169. # The default setting can be toggled via a "-buried_news" command line
  1170. # switch.
  1171. #
  1172. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1173.  
  1174. # MIME types and viewers!
  1175. #
  1176. # file extensions may be assigned to MIME types using
  1177. # the SUFFIX: definition.
  1178. #
  1179. # The SUFFIX definition takes the form of:
  1180. #    SUFFIX:<file extension>:<mime type>
  1181. # for instance the following definition maps the
  1182. # extension ".gif" to the mime type "image/gif"
  1183. #    SUFFIX:.gif:image/gif
  1184. #
  1185. # file suffixes are case INsensitive!
  1186. #
  1187. # The suffix definitions listed here in the default lynx.cfg file are
  1188. # among those established via src/HTInit.c.  You can change any of the
  1189. # defaults by editing that file, or via the global or personal mime.types
  1190. # files at run time.  They will be overridden if you assign them here.
  1191. #
  1192. #SUFFIX:.ps:application/postscript
  1193. #SUFFIX:.eps:application/postscript
  1194. #SUFFIX:.ai:application/postscript
  1195. #SUFFIX:.rtf:application/x-rtf
  1196. #SUFFIX:.snd:audio/basic
  1197. #SUFFIX:.gif:image/gif
  1198. #SUFFIX:.rgb:image/x-rgb
  1199. #SUFFIX:.pict:image/x-pict
  1200. #SUFFIX:.xbm:image/x-xbitmap
  1201. #SUFFIX:.tiff:image/x-tiff
  1202. #SUFFIX:.jpg:image/jpeg
  1203. #SUFFIX:.jpeg:image/jpeg
  1204. #SUFFIX:.mpg:video/mpeg
  1205. #SUFFIX:.mpeg:video/mpeg
  1206. #SUFFIX:.mov:video/quicktime
  1207. #SUFFIX:.hqx:application/octet-stream
  1208. #SUFFIX:.bin:application/octet-stream
  1209. #SUFFIX:.exe:application/octet-stream
  1210. #SUFFIX:.tar:application/octet-stream
  1211. #SUFFIX:.Z:application/octet-stream
  1212. #SUFFIX:.gz:application/octet-stream
  1213. #SUFFIX:.zip:application/octet-stream
  1214. #SUFFIX:.lzh:application/octet-stream
  1215. #SUFFIX:.lha:application/octet-stream
  1216. #SUFFIX:.dms:application/octet-stream
  1217.  
  1218. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1219. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  1220. # configuration file, or in src/HTInit.c.  See the example mime.types file
  1221. # in the samples subdirectory.
  1222. #
  1223. #       Unix:
  1224. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  1225. #       VMS:
  1226. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  1227. #
  1228. #       Unix (sought in user's home directory):
  1229. #PERSONAL_EXTENSION_MAP:.mime.types
  1230. #       VMS (sought in user's sys$login directory):
  1231. #PERSONAL_EXTENSION_MAP:mime.types
  1232.  
  1233. # VMS:
  1234. # ====
  1235. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  1236. # for viewing image content types when the DECW$DISPLAY logical
  1237. # is set.  Make it the foreign command for your system's X image
  1238. # viewer (commonly, "xv").  Make it "exit" or something like that
  1239. # if you don't have one.  It can be anything that will handle GIF,
  1240. # TIFF and other popular image formats.  Freeware ports of xv for
  1241. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  1242. # http://www.openvms.digital.com/cd/XV310A/ subdirectories.  You
  1243. # must also have a "%s" for the filename.  The default is defined
  1244. # in userdefs.h and can be overridden here, or via the global or
  1245. # personal mailcap files (see below).
  1246. #
  1247. #XLOADIMAGE_COMMAND:xv %s
  1248.  
  1249. # Unix:
  1250. # =====
  1251. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  1252. # viewing image content types when the DISPLAY environment variable
  1253. # is set.  Make it the full path and name of the xli (also know as
  1254. # xloadimage or xview) command, or other image viewer.  Put 'echo' or
  1255. # something like it here if you don't have a suitable viewer.  It can
  1256. # be anything that will handle GIF, TIFF and other popular image formats
  1257. # (xli does).  The freeware distribution of xli is available in the
  1258. # ftp://ftp.x.org/contrib subdirectory.  The shareware, xv, also is
  1259. # suitable.  You must also have a "%s" for the filename; "&" for
  1260. # background is optional.  The default is defined in userdefs.h and can be
  1261. # overridden here, or via the global or personal mailcap files (see below).
  1262. # Note that open is used as the default for NeXT, instead of the
  1263. # XLOADIMAGE_COMMAND definition.
  1264. # If you use xli, you may want to add the -quiet flag.
  1265. #
  1266. #XLOADIMAGE_COMMAND:xli %s &
  1267.  
  1268. # MIME types may be assigned to external viewers using
  1269. # the VIEWER definition.
  1270. #
  1271. # Note: if you do not define a viewer to a new MIME type
  1272. #       that you assigned above then it will be saved to
  1273. #       disk by default.
  1274. #
  1275. # The VIEWER definition takes the form of:
  1276. #    VIEWER:<mime type>:<viewer command>[:environment]
  1277. #      where -mime type is the MIME content type of the file
  1278. #            -viewer command is a system command that can be
  1279. #             used to display the file where %s is replaced
  1280. #             within the command with the physical filename
  1281. #             (e.g. "ghostview %s" becomes "ghostview /tmp/temppsfile")
  1282. #            -environment is optional.  The only valid keywords
  1283. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS
  1284. #             environment is specified then the viewer will only be
  1285. #             defined when the user has the environment variable DISPLAY
  1286. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  1287. #             is specified the specified viewer will only be defined when the
  1288. #             user DOES NOT have the environment variable DISPLAY defined.
  1289. #  examples:
  1290. #               VIEWER:image/gif:xli %s:XWINDOWS
  1291. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  1292. #               VIEWER:application/start-elm:elm
  1293. #
  1294. # You must put the whole definition on one line.
  1295. #
  1296. # If you must use a colon in the viewer command, precede it with a backslash!
  1297. #
  1298. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  1299. # file are among those established via src/HTInit.c.  For the image types,
  1300. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  1301. # (open is used for NeXT).  You can change any of these defaults via the
  1302. # global or personal mailcap files at run time.  They will be overridden
  1303. # if you assign them here.
  1304. #
  1305. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  1306. #VIEWER:image/gif:xli %s&:XWINDOWS
  1307. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  1308. #VIEWER:image/x-rgb:xli %s&:XWINDOWS
  1309. #VIEWER:image/x-tiff:xli %s&:XWINDOWS
  1310. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  1311. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  1312.  
  1313. # The global and personal MAILCAP files allow you to specify external
  1314. # viewers to be spawned when Lynx encounters different MIME types, which
  1315. # will override any of the suffix maps in this (lynx.cfg) configuration
  1316. # file, or in src/HTInit.c.  See http://www.internic.net/rfc/rfc1524.txt
  1317. # and the example mailcap file in the samples subdirectory.
  1318. #
  1319. #       Unix:
  1320. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  1321. #       VMS:
  1322. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  1323. #
  1324. #       Sought in user's home (Unix) or sys$login (VMS) directory.
  1325. #PERSONAL_MAILCAP:.mailcap
  1326.  
  1327. # Key remapping definitions!
  1328. #
  1329. # You may redefine the keymapping of any function in Lynx by
  1330. # using the KEYMAP variable.  The form of KEYMAP is:
  1331. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  1332. #
  1333. # You must map upper and lowercase keys separately.
  1334. #
  1335. # A representative list of functions mapped to their default keys is
  1336. # provided below.  All of the mappings are commented out by default
  1337. # since they just map to the default mappings, except for TOGGLE_HELP
  1338. # (see below).  See LYKeymap.c for the complete key mapping.  Use the
  1339. # 'K'eymap command when running Lynx for a list of the current mappings.
  1340. #
  1341. # Special keys map to:
  1342. #         Up Arrow: 0x100
  1343. #       Down Arrow: 0x101
  1344. #      Right Arrow: 0x102
  1345. #       Left Arrow: 0x103
  1346. #        Page Down: 0x104
  1347. #          Page Up: 0x105
  1348. #      Keypad Home: 0x106
  1349. #       Keypad End: 0x107
  1350. #   Function key 1: 0x108
  1351. # vt100   Help Key: 0x108
  1352. # vt100     Do Key: 0x109
  1353. # vt100   Find Key: 0x10A
  1354. # vt100 Select Key: 0x10B
  1355. # vt100 Insert Key: 0x10C
  1356. # vt100 Remove Key: 0x10D
  1357. #  (0x00) NULL KEY: 0x10E (DO_NOTHING)
  1358. #
  1359.  
  1360. #KEYMAP:0x2F:SOURCE     # Toggle source viewing mode (show HTML source)
  1361. #KEYMAP:^R:RELOAD       # Reload the current document and redisplay
  1362. #KEYMAP:q:QUIT          # Ask the user to quit
  1363. #KEYMAP:Q:ABORT         # Quit without verification
  1364. #KEYMAP:0x20:NEXT_PAGE  # Move down to next page
  1365. #KEYMAP:-:PREV_PAGE     # Move up to previous page
  1366. #KEYMAP:^P:UP_TWO       # Move display up two lines
  1367. #KEYMAP:0x10C:UP_TWO    # Function key Insert - Move display up two lines
  1368. #KEYMAP:^N:DOWN_TWO     # Move display down two lines
  1369. #KEYMAP:0x10D:DOWN_TWO  # Function key Remove - Move display down two lines
  1370. #KEYMAP:(:UP_HALF       # Move display up half a page
  1371. #KEYMAP:):DOWN_HALF     # Move display down half a page
  1372. #KEYMAP:^W:REFRESH      # Refresh the screen
  1373. #KEYMAP:^A:HOME         # Go to top of current document
  1374. #KEYMAP:0x106:HOME      # Keypad Home - Go to top of current document
  1375. #KEYMAP:0x10A:HOME      # Function key Find - Go to top of current document
  1376. #KEYMAP:^E:END          # Go to bottom of current document
  1377. #KEYMAP:0x107:END       # Keypad End - Go to bottom of current document
  1378. #KEYMAP:0x10B:END       # Function key Select - Go to bottom of current document
  1379. #KEYMAP:0x100:PREV_LINK # Move to the previous link
  1380. #KEYMAP:0x101:NEXT_LINK # Move to the next link
  1381. #KEYMAP:<:UP_LINK       # Move to the link above
  1382. #KEYMAP:>:DOWN_LINK     # Move to the link below
  1383. #KEYMAP:0x00:RIGHT_LINK # Move to the link to the right
  1384. #KEYMAP:0x00:LEFT_LINK  # Move to the link to the left
  1385. #KEYMAP:0x7F:HISTORY    # Display stack of currently-suspended documents
  1386. #KEYMAP:0x08:HISTORY    # Display stack of currently-suspended documents
  1387. #KEYMAP:0x103:PREV_DOC  # Return to the previous document
  1388. #KEYMAP:0x102:ACTIVATE  # Select the current link
  1389. #KEYMAP:0x109:ACTIVATE  # Function key Do - Select the current link
  1390. #KEYMAP:g:GOTO          # Goto a random URL
  1391. #KEYMAP:G:ECGOTO        # Edit the current document's URL and go to it
  1392. #KEYMAP:H:HELP          # Show default help screen
  1393. #KEYMAP:0x108:HELP      # Function key Help - Show default help screen
  1394. #KEYMAP:i:INDEX         # Show default index
  1395. #*** Edit FORM_LINK_SUBMIT_MESSAGE in userdefs.h if you change NOCACHE ***
  1396. #KEYMAP:x:NOCACHE       # Force submission of form or link with no-cache
  1397. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  1398. #KEYMAP:z:INTERRUPT     # Interrupt network transmission
  1399. #KEYMAP:m:MAIN_MENU     # Return to the main menu
  1400. #KEYMAP:o:OPTIONS       # Show the options menu
  1401. #KEYMAP:i:INDEX_SEARCH  # Search a server based index
  1402. #KEYMAP:/:WHEREIS       # Find a string within the current document
  1403. #KEYMAP:n:NEXT          # Find next occurence of string within document
  1404. #KEYMAP:c:COMMENT       # Comment to the author of the current document
  1405. #KEYMAP:e:EDIT          # Edit current document
  1406. #KEYMAP:=:INFO          # Show info about current document
  1407. #KEYMAP:p:PRINT         # Show print options
  1408. #KEYMAP:a:ADD_BOOKMARK  # Add current document to bookmark list
  1409. #KEYMAP:v:VIEW_BOOKMARK # View the bookmark list
  1410. #KEYMAP:V:VLINKS        # List links visited during the current Lynx session
  1411. #KEYMAP:!:SHELL         # Spawn default shell
  1412. #KEYMAP:d:DOWNLOAD      # Download current link
  1413. #KEYMAP:j:JUMP          # Jump to a predefined target
  1414. #KEYMAP:k:KEYMAP        # Display the current key map
  1415. #KEYMAP:l:LIST          # List the references (links) in the current document
  1416. #KEYMAP:#:TOOLBAR       # Go to the Toolbar or Banner in the current document
  1417. #KEYMAP:^T:TRACE_TOGGLE # Toggle tracing of browser operations
  1418. #KEYMAP:*:IMAGE_TOGGLE  # Toggle inclusion of links for all images
  1419. #KEYMAP:[:INLINE_TOGGLE # Toggle pseudo-ALTs for inlines with no ALT string
  1420. #KEYMAP:0x00:DO_NOTHING # Does nothing (ignore this key)
  1421.  
  1422. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  1423. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  1424. # userdefs.h.  Otherwise, it will be NOVICE_LINE_TWO.
  1425. #
  1426. #KEYMAP:O:TOGGLE_HELP   # Show other commands in the novice help menu
  1427.  
  1428. # Alternate jumps files can be defined and mapped to keys here.  If the
  1429. # keys have already been mapped, then those mappings will be replaced,
  1430. # but you should leave at least one key mapped to the default jumps
  1431. # file.  You optionally may include a statusline prompt string for the
  1432. # mapping.  You must map upper and lowercase keys separately (beware of
  1433. # mappings to keys which the user can further remap via the 'o'ptions
  1434. # menu).  The format is:
  1435. #
  1436. #       JUMPFILE:path:key[:prompt]
  1437. #
  1438. # where path should begin with a '/' (i.e., not include file://localhost).
  1439. # Any white space following a prompt string will be trimmed, and a single
  1440. # space will be added by Lynx.
  1441. #
  1442. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  1443.  
  1444. # VMS ONLY:
  1445. #==========
  1446. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  1447. # use as the Directory/File Manager (sources, objects, or executables are
  1448. # available from ftp://narnia.memst.edu/).  CSWING_PATH should be defined
  1449. # here or in userdefs.h to your foreign command for CSwing, with any
  1450. # regulatory switches you want included.  If not defined, or defined as
  1451. # a zero-length string ("") or "none" (case-insensitive), the support
  1452. # will be disabled.  It will also be disabled if the -nobrowse or
  1453. # -selective switches are used, or if the file_url restriction is set.
  1454. #
  1455. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  1456. # CSwing, normally with the current default directory as an argument to
  1457. # position the user on that node of the directory tree.  However, if the
  1458. # current document is a local directory listing, or a local file and not
  1459. # one of the temporary menu or list files, the associated directory will
  1460. # be passed as an argument, to position the user on that node of the tree.
  1461. #
  1462. #CSWING_PATH:swing
  1463.  
  1464. # Unix ONLY:
  1465. #===========
  1466. # LIST_FORMAT defines the display for local files when Lynx has been
  1467. # compiled with LONG_LIST defined in the Makefile.  The default is set
  1468. # in userdefs.h, normally to "ls -l" format, and can be changed here
  1469. # by uncommenting the indicated lines, or adding a definition with a
  1470. # modified parameter list.
  1471. #
  1472. # The percent items in the list are interpreted as follows:
  1473. #
  1474. #       %p      Unix-style permission bits
  1475. #       %l      link count
  1476. #       %o      owner of file
  1477. #       %g      group of file
  1478. #       %d      date of last modification
  1479. #       %a      anchor pointing to file or directory
  1480. #       %A      as above but don't show symbolic links
  1481. #       %k      size of file in Kilobytes
  1482. #       %K      as above but omit size for directories
  1483. #       %s      size of file in bytes
  1484. #
  1485. # Anything between the percent and the letter is passed on to sprintf.
  1486. # A double percent yields a literal percent on output.  Other characters
  1487. # are passed through literally.
  1488. #
  1489. # If you want only the filename:
  1490. #
  1491. #LIST_FORMAT:    %a
  1492. #
  1493. # If you want a brief output:
  1494. #
  1495. #LIST_FORMAT:   %4K %-12.12d %a
  1496. #
  1497. # If you want the Unix "ls -l" format:
  1498. #
  1499. #LIST_FORMAT:    %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  1500.  
  1501. # Unix ONLY:
  1502. #===========
  1503. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  1504. # The behaviour of the default configuration given here is much the same
  1505. # as it was when this menu was hard-coded but these items can now be adjusted
  1506. # to suit local needs.  In particular, many of the LYNXDIRED actions can be
  1507. # replaced with lynxexec, lynxprog and lynxcgi script references.
  1508. #
  1509. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  1510. # definitions, so a complete set must then be defined here.
  1511. #
  1512. # Each line consists of the following fields:
  1513. #
  1514. #       DIRED_MENU:type:suffix:link text:extra text:action
  1515. #
  1516. #       type: TAG: list only when one or more files are tagged
  1517. #             FILE: list only when the current selection is a regular file
  1518. #             DIR: list only when the current selection is a directory
  1519. #             LINK: list only when the current selection is a symbolic link
  1520. #
  1521. #       suffix: list only if the current selection ends in this pattern
  1522. #
  1523. #       link text: the displayed text of the link
  1524. #
  1525. #       extra text: the text displayed following the link
  1526. #
  1527. #       action: the URL to be followed upon selection
  1528. #
  1529. #       link text and action are scanned  for % sequences that are expanded
  1530. #       at display time as follows:
  1531. #
  1532. #                       %p  path of current selection
  1533. #                       %f  filename (last component) of current selection
  1534. #                       %t  tagged list (full paths)
  1535. #                       %l  list of tagged file names
  1536. #                       %d  the current directory
  1537. #
  1538. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  1539. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  1540.  
  1541. #DIRED_MENU:FILE::Install:(of current selection):LYNXDIRED://INSTALL_SRC%p
  1542. #DIRED_MENU:DIR::Install:(of current selection):LYNXDIRED://INSTALL_SRC%p
  1543. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  1544. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  1545. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  1546.  
  1547. # Following depends on OK_PERMIT
  1548. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  1549. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  1550.  
  1551. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  1552. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  1553. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  1554. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1555. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1556. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1557.  
  1558. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  1559. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  1560.  
  1561. # Following depends on OK_TAR and !ARCHIVE_ONLY
  1562. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  1563.  
  1564. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  1565. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  1566. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  1567.  
  1568. # Following depends on !ARCHIVE_ONLY
  1569. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  1570.  
  1571. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  1572. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  1573.  
  1574. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  1575. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  1576.  
  1577. # Following depends on OK_TAR and !ARCHIVE_ONLY
  1578. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  1579.  
  1580. # Following depends on OK_TAR
  1581. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  1582.  
  1583. # Following depends on OK_TAR and OK_GZIP
  1584. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  1585.  
  1586. # Following depends on OK_ZIP
  1587. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  1588.  
  1589. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  1590.  
  1591. # Following depends on OK_GZIP
  1592. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  1593.  
  1594. # Following depends on OK_ZIP
  1595. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  1596.  
  1597. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  1598. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  1599. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  1600.  
  1601. # Unix ONLY:
  1602. #===========
  1603. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  1604. # core dumps via abort() calls on fatal errors or assert()
  1605. # calls to check potentially fatal errors.  The compilation
  1606. # default normally is FALSE, and can be changed here.  The
  1607. # compilation or configuration default can be toggled via
  1608. # the -core command line switch.
  1609. # Note that this setting cannot be used to prevent core dumps
  1610. # with certainty.  If this is important, means provided by the
  1611. # operating system or kernel should be used.
  1612. #
  1613. #NO_FORCED_CORE_DUMP:FALSE
  1614.  
  1615. # COLORS (only available if compiled with SVr4 curses or slang)
  1616. #
  1617. # The line must be of the form:
  1618. # COLOR:Integer:Foreground:Background
  1619. #
  1620. # The Integer value is interpreted as follows:
  1621. #     0 - normal               - normal text
  1622. #     1 - bold                 - hyperlinks, see also BOLD_* options above
  1623. #     2 - reverse              - statusline
  1624. #     3 - bold + reverse                (not used)
  1625. #     4 - underline                   - text emphasis (EM, I, B tags etc.)
  1626. #     5 - bold + underline            - hyperlinks within text emphasis
  1627. #     6 - reverse + underline         - currently selected hyperlink
  1628. #     7 - reverse + underline + bold  - WHEREIS search hits
  1629. #
  1630. # Each Foreground and Background value must be one of:
  1631. #      black              red            green            brown
  1632. #       blue          magenta             cyan        lightgray
  1633. #       gray        brightred      brightgreen           yellow
  1634. # brightblue    brightmagenta       brightcyan            white
  1635. #
  1636. # Uncomment and change any of the compilation defaults.
  1637. #
  1638. #COLOR:0:black:white
  1639. #COLOR:1:blue:white
  1640. #COLOR:2:yellow:blue
  1641. #COLOR:3:green:white
  1642. #COLOR:4:magenta:white
  1643. #COLOR:5:blue:white
  1644. #COLOR:6:red:white
  1645. #COLOR:7:magenta:cyan
  1646.  
  1647. # External application support. This feature allows lynx to pass a given
  1648. # URL to an external program.  It was written for three reasons.
  1649. #
  1650. # 1) To overcome the deficiency of Lynx_386 not supporting ftp and news.
  1651. #    External programs can be used instead by passing the URL.
  1652. #
  1653. # 2) To allow for background    transfers in multitasking systems.
  1654. #    I use wget for http and ftp transfers via the external command.
  1655. #
  1656. # 3) To allow for new URLs to be used through lynx.
  1657. #         URLs can be made up such as mymail: to spawn desired applications
  1658. #         via the external command.
  1659. #
  1660. # Restrictions can be imposed using -restrictions=externals at the lynx
  1661. # command line.  This will disallow all EXTERNAL lines in lynx.cfg that
  1662. # end in FALSE.  TRUE lines will still function.
  1663. #
  1664. # The lynx.cfg line is as follows:
  1665. #
  1666. # EXTERNAL:<url>:<command> %s:<norestriction>
  1667. #
  1668. # <url> Any given URL.  This can be normal ones like ftp or http or it
  1669. # can be one made up like mymail.
  1670. #
  1671. # <command> The command to run with %s being the URL that will be passed.
  1672. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  1673. # downloading http and ftp files in the background.  In Win95 I use
  1674. # "start ncftp %s" to spawn ncftp in a new window.
  1675. #
  1676. # <norestriction> This complements the -restrictions=externals feature to allow
  1677. # for certain externals to be enabled while restricting others.  TRUE means
  1678. # a command will still function while lynx is restricted.  WB
  1679. #
  1680. # EXTERNAL:ftp:wget %s &:TRUE
  1681.  
  1682. # Raw DOS Key hack
  1683. # This will bypass the DOS key hack if is compiled in.
  1684. # The hack is as follows:
  1685. # if (c == 0) c = '/';
  1686. # if (c > 255) {      /* handle raw dos keys */
  1687. #               switch (c)
  1688. #               {
  1689. #                       case 464: c = '-'; break;  /* keypad minus*/
  1690. #                       case 465: c = '+'; break;  /* keypad plus*/
  1691. #                       case 459: c = 13; break;  /* keypad enter*/
  1692. #                       case 463: c = '*'; break;  /* keypad * */
  1693. #                       case 440: c = 'Q'; break;  /* alt x */
  1694. #                       default: break;
  1695. #               }
  1696. #       }
  1697. #
  1698. # RAW_DOS_KEY_HACK = TRUE
  1699.  
  1700.