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