home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / lynx2_8.zip / lynx.cfg < prev    next >
Text File  |  1998-06-23  |  80KB  |  1,695 lines

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