home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / perl / bin / lynx.cfg < prev    next >
Encoding:
Text File  |  2000-04-19  |  125.4 KB  |  3,060 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. #
  6. # Definition pairs are of the form  VARIABLE:DEFINITION
  7. # NO spaces are allowed between the pair items.
  8. #
  9. #  If you do not have write access to /usr/local/lib you may change
  10. #  the default location of this file in the userdefs.h file and recompile,
  11. #  or specify its location on the command line with the "-cfg"
  12. #  command line option.
  13. #
  14. # Items may be commented out by putting a '#' as the FIRST char of the line
  15. # (Any line beginning with punctuation is ignored).  Leading blanks on each
  16. # line are ignored; trailing blanks may be significant depending on the option.
  17.  
  18. # An HTML'ized description of all settings (based on comments in this file,
  19. # with alphabetical table of settings and with table of settings by category)
  20. # is available at http://www.hippo.ru/~hvv/lynxcfg_toc.html
  21. #
  22. ### The conversion is done via the scripts/cfg2html.pl script.
  23. ### Several directives beginning with '.' are used for this purpose.
  24.  
  25.  
  26. .h1 Auxiliary Facilities
  27. # These settings control the auxiliary navigating facilities of lynx, e.g.,
  28. # jumpfiles, bookmarks, default URLs.
  29.  
  30.  
  31. .h2 INCLUDE
  32. # Starting with Lynx 2.8.1, the lynx.cfg file has a crude "include"
  33. # facility.  This means that you can take advantage of the global lynx.cfg
  34. # while also supplying your own tweaks.
  35. #
  36. # You can use a command-line argument (-cfg /where/is/lynx.cfg) or an
  37. # environment variable (LYNX_CFG=/where/is/lynx.cfg).
  38. # For instance, put in your .profile or .login:
  39. #
  40. #   LYNX_CFG=~/lynx.cfg; export LYNX_CFG   # in .profile for sh/ksh/bash/etc.
  41. #   setenv LYNX_CFG ~/lynx.cfg             # in .login for [t]csh
  42. #
  43. # Then in ~/lynx.cfg:
  44. #
  45. #   INCLUDE:/usr/local/lib/lynx.cfg
  46. #           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
  47. # and now your own tweaks.
  48. #
  49. # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful.  You can
  50. # suppress all but specific settings that will be read from included files.
  51. # This allows sysadmins to provide users the ability to customize lynx with
  52. # options that normally do not affect security, such as COLOR, VIEWER, KEYMAP.
  53. #
  54. # The syntax is
  55. #
  56. #   INCLUDE:filename for <space-separated-list-of-allowed-settings>
  57. #
  58. # sample:
  59. .ex
  60. #INCLUDE:~/lynx.cfg for COLOR VIEWER KEYMAP
  61. # only one space character should surround the word 'for'.  On Unix systems ':'
  62. # is also accepted as separator.  In that case, the example can be written as
  63. .ex
  64. #INCLUDE:~/lynx.cfg:COLOR VIEWER KEYMAP
  65. # In the example, only the settings COLOR, VIEWER and KEYMAP are accepted by
  66. # lynx.  Other settings are ignored.  Note:  INCLUDE is also treated as a
  67. # setting, so to allow an included file to include other files, put INCLUDE in
  68. # the list of allowed settings.
  69. #
  70. # If you allow an included file to include other files, and if a list of
  71. # allowed settings is specified for that file with the INCLUDE command, nested
  72. # files are only allowed to include the list of settings that is the set AND of
  73. # settings allowed for the included file and settings allowed by nested INCLUDE
  74. # commands.  In short, there is no security hole introduced by including a
  75. # user-defined configuration file if the original list of allowed settings is
  76. # secure.
  77.  
  78.  
  79. .h2 STARTFILE
  80. # STARTFILE is the default starting URL if none is specified
  81. #   on the command line or via a WWW_HOME environment variable;
  82. #   Lynx will refuse to start without a starting URL of some kind.
  83. # STARTFILE can be remote, e.g. http://www.w3.org/default.html ,
  84. #                or local, e.g. file://localhost/PATH_TO/FILENAME ,
  85. #           where PATH_TO is replaced with the complete path to FILENAME
  86. #           using Unix shell syntax and including the device on VMS.
  87. #
  88. # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  89. # site:
  90. STARTFILE:http://lynx.browser.org/
  91. #
  92. # As an alternative, you may want to use a local URL.  A good choice for this is
  93. # the user's home directory:
  94. .ex
  95. #STARTFILE:file://localhost/~/
  96. #
  97. # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  98. # you can connect to reliably.  Otherwise users will become confused and think
  99. # that they cannot run Lynx.
  100.  
  101.  
  102. .h2 HELPFILE
  103. # HELPFILE must be defined as a URL and must have a
  104. # complete path if local:
  105. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  106. #   Replace PATH_TO with the path to the lynx_help subdirectory
  107. #   for this distribution (use SHELL syntax including the device
  108. #   on VMS systems).
  109. # The default HELPFILE is:
  110. # http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
  111. #   This should be changed to the local path.
  112. #
  113. HELPFILE:http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
  114. .ex
  115. #HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  116.  
  117.  
  118. .h2 DEFAULT_INDEX_FILE
  119. # DEFAULT_INDEX_FILE is the default file retrieved when the
  120. # user presses the 'I' key when viewing any document.
  121. # An index to your CWIS can be placed here or a document containing
  122. # pointers to lots of interesting places on the web.
  123. #
  124. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  125.  
  126.  
  127. .h1 Interaction
  128.  
  129. .h2 GOTOBUFFER
  130. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  131. # if any, offered for reuse or editing when using the 'g'oto command.
  132. # The default is defined in userdefs.h.  If left FALSE, the circular
  133. # buffer of previously entered goto URLs can still be invoked via the
  134. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  135. #
  136. #GOTOBUFFER:FALSE
  137.  
  138.  
  139. .h2 JUMP_PROMPT
  140. # JUMP_PROMPT is the default statusline prompt for selecting a jumps file
  141. # shortcut.  (see below).
  142. # You can change the prompt here from that defined in userdefs.h.  Any
  143. # trailing white space will be trimmed, and a single space is added by Lynx
  144. # following the last non-white character.  You must set the default prompt
  145. # before setting the default jumps file (below).  If a default jumps file
  146. # was set via userdefs.h, and you change the prompt here, you must set the
  147. # default jumps file again (below) for the change to be implemented.
  148. #
  149. #JUMP_PROMPT:Jump to (use '?' for list):
  150.  
  151.  
  152. .h1 Auxiliary Facilities
  153.  
  154. .h2 JUMPFILE
  155. # JUMPFILE is the local file checked for short-cut names for URLs
  156. # when the user presses the 'j' (JUMP) key.  The user will be prompted
  157. # to enter a short-cut name for an URL, which Lynx will then follow
  158. # in a similar manner to 'g'oto; alternatively, s/he can enter '?'
  159. # to view the full JUMPFILE list of short-cuts with associated URLs.
  160. # There is an example jumps file in the samples subdirectory.
  161. # If not defined here or in userdefs.h, the JUMP command will invoke
  162. # the NO_JUMPFILE statusline message (see  LYMessages_en.h ).
  163. #
  164. # To allow '?' to work, include in the JUMPFILE
  165. # a short-cut to the JUMPFILE itself, e.g.
  166. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  167. #
  168. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  169. #
  170. # Additional jumps files can be defined and mapped to keystrokes
  171. # in  lynx.cfg , but you should first define the default jumps file,
  172. # which is mapped by default to 'j' (or 'J' when VI keys are ON).
  173. #
  174. # In the following line, include the actual full local path to JUMPFILE,
  175. # but do not include 'file://localhost' in the line.
  176. #JUMPFILE:/FULL_LOCAL_PATH/jumps.html
  177.  
  178.  
  179. .h2 JUMPBUFFER
  180. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  181. # if any, offered for reuse or editing when using the 'J'ump command.
  182. # The default is defined in userdefs.h.  If left FALSE, the circular
  183. # buffer of previously entered targets (shortcuts) can still be invoked
  184. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  185. # If multiple jumps files are installed, the recalls of shortcuts will
  186. # be specific to each file.  If Lynx was built with PERMIT_GOTO_FROM_JUMP
  187. # defined, any random URLs used instead of shortcuts will be stored in the
  188. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  189. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  190. # followed by Up-Arrow had been entered).
  191. #
  192. #JUMPBUFFER:FALSE
  193.  
  194.  
  195. .h1 Internal Behavior
  196.  
  197. .h2 SAVE_SPACE
  198. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  199. # suggested filename in "Save to Disk" operations from the 'p'rint or
  200. # 'd'ownload menus.  On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  201. # or Unix syntax (including '~' for the HOME directory).  On Unix, you
  202. # must use Unix syntax.  If the symbol is not defined, or is zero-length
  203. # (""), no prefix will be used, and only a filename for saving in the
  204. # current default directory will be suggested.
  205. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  206. # variable has been set on Unix, or logical has been defined on VMS.
  207. #
  208. #SAVE_SPACE:~/foo/
  209.  
  210.  
  211. .h2 REUSE_TEMPFILES
  212. # Lynx uses temporary files for (among other purposes) the content of
  213. # various user interface pages.  REUSE_TEMPFILES changes the behavior
  214. # for some of these temp files, among them pages shown for HISTORY,
  215. # VLINKS, OPTIONS, INFO, PRINT, DOWNLOAD commands.
  216. # If set to TRUE, the same file can be used multiple times for the same
  217. # purpose.  If set to FALSE, a new filename is generated each time before
  218. # rewriting such a page.  With TRUE, repeated invocation of these commands
  219. # is less likely to push previous documents out of the cache of rendered
  220. # texts (see also DEFAULT_CACHE_SIZE).  This is especially useful with
  221. # intermittent (dialup) network connections, when it is desirable to
  222. # continue browsing through the cached documents after disconnecting.
  223. # With the default setting of FALSE, there can be more than one incarnation
  224. # of e.g. the VLINKS page cached in memory (but still only the most recently
  225. # generated one is kept as a file), resulting in sometimes less surprising
  226. # behaviour when returning to such a page via HISTORY or PREV_DOC functions
  227. # (most users will not encounter and notice this difference).
  228. #
  229. #REUSE_TEMPFILES:FALSE
  230.  
  231.  
  232. .h2 LYNX_HOST_NAME
  233. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  234. # treated as an alias for the local host name in checks for URLs on
  235. # the local host (e.g., when the -localhost switch is set), and this
  236. # host name, "localhost", and HTHostName (the fully qualified domain
  237. # name of the system on which Lynx is running) will all be passed as
  238. # local.  A different definition here will override that in userdefs.h.
  239. #
  240. #LYNX_HOST_NAME:www.cc.ukans.edu
  241.  
  242.  
  243. .h2 LOCALHOST_ALIAS
  244. # localhost aliases
  245. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  246. # the -localhost switch is set.  These need not actually be local, i.e.,
  247. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  248. # other Internet sites.
  249. #
  250. .ex 2
  251. #LOCALHOST_ALIAS:gopher.server.domain
  252. #LOCALHOST_ALIAS:news.server.domain
  253.  
  254.  
  255. .h2 LOCAL_DOMAIN
  256. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  257. # the utmp or utmpx structure on systems with utmp capabilities, to
  258. # determine if a user is local to your campus or organization when
  259. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  260. # news, telnet/tn3270 and rlogin URLs.  An "inside" user is assumed
  261. # if your system does not have utmp capabilities.  CHANGE THIS here
  262. # if it was not changed in userdefs.h at compilation time.
  263. #
  264. #LOCAL_DOMAIN:ukans.edu
  265.  
  266.  
  267. .h1 Character sets
  268.  
  269. .h2 CHARACTER_SET
  270. # CHARACTER_SET defines the display character set, i.e., assumed to be
  271. # installed on the user's terminal.  It determines which characters or strings
  272. # will be used to represent 8-bit character entities within HTML.  New
  273. # character sets may be defined as explained in the README files of the
  274. # src/chrtrans directory in the Lynx source code distribution.  For Asian (CJK)
  275. # character sets, it also determines how Kanji code will be handled.  The
  276. # default is defined in userdefs.h and can be changed here or via the
  277. # 'o'ptions menu.  The 'o'ptions menu setting will be stored in the user's RC
  278. # file whenever those settings are saved, and thereafter will be used as the
  279. # default.  For Lynx a "character set" has two names:  a MIME name (for
  280. # recognizing properly labeled charset parameters in HTTP headers etc.), and a
  281. # human-readable string for the 'O'ptions Menu (so you may find info about
  282. # language or group of languages besides MIME name).  Not all 'human-readable'
  283. # names correspond to exactly one valid MIME charset (example is "Chinese");
  284. # in that case an appropriate valid (and more specific) MIME name should be
  285. # used where required.  Well-known synonyms are also processed in the code.
  286. #
  287. # Raw (CJK) mode
  288. #
  289. # Lynx normally translates characters from a document's charset to display
  290. # charset, using ASSUME_CHARSET value (see below) if the document's charset
  291. # is not specified explicitly.  Raw (CJK) mode is OFF for this case.
  292. # When the document charset is specified explicitly, that charset
  293. # overrides any assumption like ASSUME_CHARSET or raw (CJK) mode.
  294. #
  295. # For the Asian (CJK) display character sets, the corresponding charset is
  296. # assumed in documents, i.e., raw (CJK) mode is ON by default.  In raw CJK
  297. # mode, 8-bit characters are not reverse translated in relation to the entity
  298. # conversion arrays, i.e., they are assumed to be appropriate for the display
  299. # character set.  The mode should be toggled OFF when an Asian (CJK) display
  300. # character set is selected but the document is not CJK and its charset not
  301. # specified explicitly.
  302. #
  303. # Raw (CJK) mode may be toggled by user via '@' (LYK_RAW_TOGGLE) key,
  304. # the -raw command line switch or from the 'o'ptions menu.
  305. #
  306. # Raw (CJK) mode effectively changes the charset assumption about unlabeled
  307. # documents.  You can toggle raw mode ON if you believe the document has a
  308. # charset which does correspond to your Display Character Set.  On the other
  309. # hand, if you set ASSUME_CHARSET the same as Display Character Set you get raw
  310. # mode ON by default (but you get assume_charset=iso-8859-1 if you try raw mode
  311. # OFF after it).
  312. #
  313. # Note that "raw" does not mean that every byte will be passed to the screen.
  314. # HTML character entities may get expanded and translated, inappropriate
  315. # control characters filtered out, etc.  There is a "Transparent" pseudo
  316. # character set for more "rawness".
  317. #
  318. # Since Lynx now supports a wide range of platforms it may be useful to note
  319. # the cpXXX codepages used by IBM PC compatible computers, and windows-xxxx
  320. # used by native MS-Windows apps.  We also note that cpXXX pages rarely are
  321. # found on Internet, but are mostly for local needs on DOS.
  322. #
  323. # Recognized character sets include:
  324. #
  325. .nf
  326. #    string for 'O'ptions Menu          MIME name
  327. #    ===========================        =========
  328. #    7 bit approximations (US-ASCII)    us-ascii
  329. #    Western (ISO-8859-1)               iso-8859-1
  330. #    Western (ISO-8859-15)              iso-8859-15
  331. #    Western (cp850)                    cp850
  332. #    Western (windows-1252)             windows-1252
  333. #    IBM PC US codepage (cp437)         cp437
  334. #    DEC Multinational                  dec-mcs
  335. #    Macintosh (8 bit)                  macintosh
  336. #    NeXT character set                 next
  337. #    HP Roman8                          hp-roman8
  338. #    Chinese                            euc-cn
  339. #    Japanese (EUC-JP)                  euc-jp
  340. #    Japanese (Shift_JIS)               shift_jis
  341. #    Korean                             euc-kr
  342. #    Taipei (Big5)                      big5
  343. #    Vietnamese (VISCII)                viscii
  344. #    Eastern European (ISO-8859-2)      iso-8859-2
  345. #    Eastern European (cp852)           cp852
  346. #    Eastern European (windows-1250)    windows-1250
  347. #    Latin 3 (ISO-8859-3)               iso-8859-3
  348. #    Latin 4 (ISO-8859-4)               iso-8859-4
  349. #    Baltic Rim (cp775)                 cp775
  350. #    Baltic Rim (windows-1257)          windows-1257
  351. #    Cyrillic (ISO-8859-5)              iso-8859-5
  352. #    Cyrillic (cp866)                   cp866
  353. #    Cyrillic (windows-1251)            windows-1251
  354. #    Cyrillic (KOI8-R)                  koi8-r
  355. #    Arabic (ISO-8859-6)                iso-8859-6
  356. #    Arabic (cp864)                     cp864
  357. #    Arabic (windows-1256)              windows-1256
  358. #    Greek (ISO-8859-7)                 iso-8859-7
  359. #    Greek (cp737)                      cp737
  360. #    Greek2 (cp869)                     cp869
  361. #    Greek (windows-1253)               windows-1253
  362. #    Hebrew (ISO-8859-8)                iso-8859-8
  363. #    Hebrew (cp862)                     cp862
  364. #    Hebrew (windows-1255)              windows-1255
  365. #    Turkish (ISO-8859-9)               iso-8859-9
  366. #    ISO-8859-10                        iso-8859-10
  367. #    Ukrainian Cyrillic (cp866u)        cp866u
  368. #    Ukrainian Cyrillic (KOI8-U)        koi8-u
  369. #    UNICODE (UTF-8)                    utf-8
  370. #    RFC 1345 w/o Intro                 mnemonic+ascii+0
  371. #    RFC 1345 Mnemonic                  mnemonic
  372. #    Transparent                        x-transparent
  373. .fi
  374. #
  375. # The value should be the MIME name of a character set recognized by
  376. # Lynx (case insensitive).
  377. # Find RFC 1345 at http://www.ics.uci.edu/pub/ietf/uri/rfc1345.txt .
  378. #
  379. #CHARACTER_SET:iso-8859-1
  380.  
  381.  
  382. .h2 ASSUME_CHARSET
  383. # ASSUME_CHARSET changes the handling of documents which do not
  384. # explicitly specify a charset.  Normally Lynx assumes that 8-bit
  385. # characters in those documents are encoded according to iso-8859-1
  386. # (the official default for the HTTP protocol).  When ASSUME_CHARSET
  387. # is defined here or by an -assume_charset command line flag is in effect,
  388. # Lynx will treat documents as if they were encoded accordingly.
  389. # See above on how this interacts with "raw mode" and the Display
  390. # Character Set.
  391. # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will
  392. # not be saved as permanent value in user's .lynxrc file to avoid more chaos.
  393. #
  394. #ASSUME_CHARSET:iso-8859-1
  395.  
  396.  
  397. .h2 ASSUMED_DOC_CHARSET_CHOICE
  398. .h2 DISPLAY_CHARSET_CHOICE
  399. # It is possible to reduce the number of charset choices in the 'O'ptions menu
  400. # for "display charset" and "assumed document charset" fields via
  401. # DISPLAY_CHARSET_CHOICE and ASSUMED_DOC_CHARSET_CHOICE settings correspondingly.
  402. # Each of these settings can be used several times to define the set of possible
  403. # choices for corresponding field. The syntax for the values is
  404. #
  405. #    string | prefix* | *
  406. #
  407. # where
  408. #
  409. #    'string' is either the MIME name of charset or it's full name (listed
  410. #        either in the left or in the right column of table of
  411. #        recognized charsets), case-insensitive - e.g.  'Koi8-R' or
  412. #        'Cyrillic (KOI8-R)' (both without quotes),
  413. #
  414. #    'prefix' is any string, and such value will select all charsets having
  415. #        the name with prefix matching given (case insensitive), i.e.,
  416. #        for the charsets listed in the table of recognized charsets,
  417. #
  418. .ex
  419. # ASSUMED_DOC_CHARSET_CHOICE:cyrillic*
  420. #        will be equal to specifying
  421. .ex 4
  422. # ASSUMED_DOC_CHARSET_CHOICE:cp866
  423. # ASSUMED_DOC_CHARSET_CHOICE:windows-1251
  424. # ASSUMED_DOC_CHARSET_CHOICE:koi8-r
  425. # ASSUMED_DOC_CHARSET_CHOICE:iso-8859-5
  426. #        or lines with full names of charsets.
  427. #
  428. #    literal string '*' (without quotes) will enable all charset choices
  429. #        in corresponding field.  This is useful for overriding site
  430. #        defaults in private pieces of lynx.cfg included via INCLUDE
  431. #        directive.
  432. #
  433. # Default values for both settings are '*', but any occurrence of settings
  434. # with values that denote any charsets will make only listed choices available
  435. # for corresponding field.
  436. #ASSUMED_DOC_CHARSET_CHOICE:*
  437. #DISPLAY_CHARSET_CHOICE:*
  438.  
  439.  
  440. .h2 ASSUME_LOCAL_CHARSET
  441. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  442. # files.  If no setting is given here or by an -assume_local_charset
  443. # command line option, the value for ASSUME_CHARSET or -assume_charset
  444. # is used.  It works for both text/plain and text/html files.
  445. # This option will ignore "raw mode" toggling when local files are viewed
  446. # (it is "stronger" than "assume_charset" or the effective change
  447. # of the charset assumption caused by changing "raw mode"),
  448. # so only use when necessary.
  449. #
  450. #ASSUME_LOCAL_CHARSET:iso-8859-1
  451.  
  452.  
  453. .h2 PREPEND_CHARSET_TO_SOURCE
  454. # PREPEND_CHARSET_TO_SOURCE:TRUE tells Lynx to prepend a META CHARSET line
  455. # to text/html source files when they are retrieved for 'd'ownloading
  456. # or passed to 'p'rint functions, so HTTP headers will not be lost.
  457. # This is necessary for resolving charset for local html files,
  458. # while the assume_local_charset is just an assumption.
  459. # For the 'd'ownload option, a META CHARSET will be added only if the HTTP
  460. # charset is present.  The compilation default is TRUE.
  461. # It is generally desirable to have charset information for every local
  462. # html file, but META CHARSET string potentially could cause
  463. # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
  464. # Note that the prepending is not done for -source dumps.
  465. #
  466. #PREPEND_CHARSET_TO_SOURCE:TRUE
  467.  
  468.  
  469. .h2 NCR_IN_BOOKMARKS
  470. # NCR_IN_BOOKMARKS:TRUE allows you to save 8-bit characters in bookmark titles
  471. # in the unicode format (NCR).  This may be useful if you need to switch
  472. # display charsets frequently.  This is the case when you use Lynx on different
  473. # platforms, e.g., on UNIX and from a remote PC, and want to keep the bookmarks
  474. # file persistent.
  475. # Another aspect is compatibility:  NCR is part of I18N and HTML4.0
  476. # specifications supported starting with Lynx 2.7.2, Netscape 4.0 and MSIE 4.0.
  477. # Older browser versions will fail so keep NCR_IN_BOOKMARKS:FALSE if you
  478. # plan to use them.
  479. #
  480. #NCR_IN_BOOKMARKS:FALSE
  481.  
  482.  
  483. .h2 FORCE_8BIT_TOUPPER
  484. # FORCE_8BIT_TOUPPER overrides locale settings and uses internal 8-bit
  485. # case-conversion mechanism for case-insensitive searches in non-ASCII display
  486. # character sets.  It is FALSE by default and should not be changed unless
  487. # you encounter problems with case-insensitive searches.
  488. #
  489. #FORCE_8BIT_TOUPPER:FALSE
  490.  
  491.  
  492. .h2 OUTGOING_MAIL_CHARSET
  493. # While Lynx supports different platforms and display character sets
  494. # we need to limit the charset in outgoing mail to reduce
  495. # trouble for remote recipients who may not recognize our charset.
  496. # You may try US-ASCII as the safest value (7 bit), any other MIME name,
  497. # or leave this field blank (default) to use the display character set.
  498. # Charset translations currently are implemented for mail "subjects= " only.
  499. #
  500. #OUTGOING_MAIL_CHARSET:
  501.  
  502.  
  503. .h2 ASSUME_UNREC_CHARSET
  504. # If Lynx encounters a charset parameter it doesn't recognize, it will
  505. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  506. # -assume_unrec_charset command line option) for it.  This can be used
  507. # to deal with charsets unknown to Lynx, if they are "sufficiently
  508. # similar" to one that Lynx does know about, by forcing the same
  509. # treatment.  There is no default, and you probably should leave this
  510. # undefined unless necessary.
  511. #
  512. #ASSUME_UNREC_CHARSET:iso-8859-1
  513.  
  514. .h2 PREFERRED_LANGUAGE
  515. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  516. # "fr") which will be indicated by Lynx in its Accept-Language headers
  517. # as the preferred language.  If available, the document will be
  518. # transmitted in that language.  Users can override this setting via
  519. # the 'o'ptions menu and save that preference in their RC file.
  520. # This may be a comma-separated list of languages in decreasing preference.
  521. #
  522. #PREFERRED_LANGUAGE:en
  523.  
  524.  
  525. .h2 PREFERRED_CHARSET
  526. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  527. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  528. # requests to http servers using an Accept-Charsets header.  Users can
  529. # change it via the 'o'ptions menu and save that preference in their RC file.
  530. # The value should NOT include "ISO-8859-1" or "US-ASCII",
  531. # since those values are always assumed by default.
  532. # If a file in that character set is available, the server will send it.
  533. # If no Accept-Charset header is present, the default is that any
  534. # character set is acceptable.  If an Accept-Charset header is present,
  535. # and if the server cannot send a response which is acceptable
  536. # according to the Accept-Charset header, then the server SHOULD send
  537. # an error response with the 406 (not acceptable) status code, though
  538. # the sending of an unacceptable response is also allowed.  See RFC 2068
  539. # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt).
  540. #
  541. #PREFERRED_CHARSET:
  542.  
  543.  
  544. .h1 Interaction
  545.  
  546. .h2 URL_DOMAIN_PREFIXES
  547. .h2 URL_DOMAIN_SUFFIXES
  548. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  549. # prepended (together with a scheme://) and appended to the first element
  550. # of command line or 'g'oto arguments which are not complete URLs and
  551. # cannot be opened as a local file (file://localhost/string).  Both
  552. # can be comma-separated lists.  Each prefix must end with a dot, each
  553. # suffix must begin with a dot, and either may contain other dots (e.g.,
  554. # .com.jp).  The default lists are defined in userdefs.h and can be
  555. # replaced here.  Each prefix will be used with each suffix, in order,
  556. # until a valid Internet host is created, based on a successful DNS
  557. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  558. # etc.).  The first element can include a :port and/or /path which will
  559. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  560. # become http://www.wfbr.edu:8002/dir/lynx).  The prefixes will not be
  561. # used if the first element ends in a dot (or has a dot before the
  562. # :port or /path), and similarly the suffixes will not be used if the
  563. # the first element begins with a dot (e.g., .nyu.edu will become
  564. # http://www.nyu.edu without testing www.nyu.com).  Lynx will try to
  565. # guess the scheme based on the first field of the expanded host name,
  566. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  567. # will be made gopher://gopher.wfbr.edu).
  568. #
  569. #URL_DOMAIN_PREFIXES:www.
  570. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  571.  
  572.  
  573. .h2 FORMS_OPTIONS
  574. # Toggle whether the Options Menu is key-based or form-based;
  575. # the key-based version is available only if specified at compile time.
  576. #FORMS_OPTIONS:TRUE
  577.  
  578.  
  579. .h2 PARTIAL
  580. # Display partial pages while downloading
  581. #PARTIAL:TRUE
  582.  
  583.  
  584. .h2 PARTIAL_THRES
  585. # Set the threshold # of lines Lynx must render before it
  586. # redraws the screen in PARTIAL mode.  Anything < 0 implies
  587. # use of the screen size.
  588. #PARTIAL_THRES:-1
  589.  
  590.  
  591. .h2 SHOW_KB_RATE
  592. # While getting large files, Lynx shows the approximate rate of transfer.
  593. # Set this to change the units shown:
  594. # TRUE for KB/sec or FALSE for bytes/sec:  default is TRUE.
  595. #SHOW_KB_RATE:TRUE
  596.  
  597.  
  598. .h1 Timeouts
  599.  
  600. .h2 INFOSECS
  601. .h2 MESSAGESECS
  602. .h2 ALERTSECS
  603. # The following three definitions set the number of seconds for
  604. # pauses following statusline messages that would otherwise be
  605. # replaced immediately, and are more important than the unpaused
  606. # progress messages.  Those set by INFOSECS are also basically
  607. # progress messages (e.g., that a prompted input has been canceled)
  608. # and should have the shortest pause.  Those set by MESSAGESECS are
  609. # informational (e.g., that a function is disabled) and should have
  610. # a pause of intermediate duration.  Those set by ALERTSECS typically
  611. # report a serious problem and should be paused long enough to read
  612. # whenever they appear (typically unexpectedly).  The default values
  613. # are defined in userdefs.h, and can be modified here should longer
  614. # pauses be desired for braille-based access to Lynx.
  615. #
  616. #INFOSECS:1
  617. #MESSAGESECS:2
  618. #ALERTSECS:3
  619.  
  620.  
  621. .h1 Appearance
  622. # These settings category control the appearance of Lynx's screen and the way
  623. # Lynx renders some tags.
  624.  
  625. .h2 USE_SELECT_POPUPS
  626. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  627. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  628. # attribute, instead of using a popup menu.  Note that if the MULTIPLE
  629. # attribute is present in the SELECT start tag, Lynx always will create a
  630. # vertical list of checkboxes for the OPTIONs.
  631. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  632. # menu and saved in the RC file, and always can be toggled via the -popup
  633. # command line switch.
  634. #
  635. #USE_SELECT_POPUPS:TRUE
  636.  
  637.  
  638. .h2 SHOW_CURSOR
  639. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  640. # over the current link in documents or the current option in popups.
  641. # Showing the cursor is handy if you are a sighted user with a poor
  642. # terminal that can't do bold and reverse video at the same time or
  643. # at all.  It also can be useful to blind users, as an alternative
  644. # or supplement to setting LINKS_AND_FIELDS_ARE_NUMBERED or
  645. # LINKS_ARE_NUMBERED.
  646. # The default defined here or in userdefs.h can be changed via the
  647. # 'o'ptions menu and saved in the RC file, and always can be toggled
  648. # via the -show_cursor command line switch.
  649. #
  650. #SHOW_CURSOR:FALSE
  651.  
  652.  
  653. .h2 BOLD_HEADERS
  654. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  655. # upon for <H1> through <H6> headers.  The compilation default is FALSE
  656. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  657. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  658. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  659. #
  660. #BOLD_HEADERS:FALSE
  661.  
  662.  
  663. .h2 BOLD_H1
  664. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  665. # upon for <H1> headers even if BOLD_HEADERS is FALSE.  The compilation
  666. # default is FALSE.  On Unix, compilation with -DUNDERLINE_LINKS also
  667. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  668. #
  669. #BOLD_H1:FALSE
  670.  
  671.  
  672. .h2 BOLD_NAME_ANCHORS
  673. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  674. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  675. # have the HT_BOLD default style.  The compilation default is FALSE.
  676. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  677. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  678. #
  679. #BOLD_NAME_ANCHORS:FALSE
  680.  
  681.  
  682. .h1 Internal Behavior
  683.  
  684. .h2 DEFAULT_CACHE_SIZE
  685. .h2 DEFAULT_VIRTUAL_MEMORY_SIZE
  686. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  687. # cached in memory at one time.
  688. #
  689. # This so-called cache size (actually, number) is defined in userdefs.h and
  690. # may be modified here and/or with the command line argument -cache=NUMBER
  691. # The minimum allowed value is 2, for the current document and at least one
  692. # to fetch, and there is no absolute maximum number of cached documents.
  693. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  694. # the least recently displayed document will be removed from memory.
  695. #
  696. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  697. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  698. # before previous documents are removed from memory.  If the values for both
  699. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  700. # the least recently displayed documents will be freed until one or the other
  701. # value is no longer exceeded.  The default value is defined in userdefs.h.
  702. #
  703. # The Unix and VMS (but not VAXC) implementations use the C library malloc's
  704. # and calloc's for memory allocation, but procedures for taking the actual
  705. # amount of cache into account still need to be developed.  They use only
  706. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  707. # number of documents to cache (rather than the maximum number only if
  708. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  709. #
  710. #DEFAULT_CACHE_SIZE:10
  711. #DEFAULT_VIRTUAL_MEMORY_SIZE:512000
  712.  
  713.  
  714. .h2 SOURCE_CACHE
  715. # SOURCE_CACHE sets the source caching behavior for Lynx:
  716. # FILE causes Lynx to keep a temporary file for each cached document
  717. #   containing the HTML source of the document, which it uses to regenerate
  718. #   the document when certain settings are changed (for instance,
  719. #   historical vs. minimal vs. valid comment parsing) instead of reloading
  720. #   the source from the network.
  721. # MEMORY is like FILE, except the document source is kept in memory.  You
  722. #   may wish to adjust DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE
  723. #   accordingly.
  724. # NONE is the default; the document source is not cached, and is reloaded
  725. #   from the network when needed.
  726. #
  727. #SOURCE_CACHE:NONE
  728.  
  729.  
  730. .h2 ALWAYS_RESUBMIT_POSTS
  731. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  732. # with method POST, dumping any cache from a previous submission of the
  733. # form, including when the document returned by that form is sought with
  734. # the PREV_DOC command or via the history list.  Lynx always resubmits
  735. # forms with method POST when a submit button or a submitting text input
  736. # is activated, but normally retrieves the previously returned document
  737. # if it had links which you activated, and then go back with the PREV_DOC
  738. # command or via the history list.
  739. #
  740. # The default defined here or in userdefs.h can be toggled via
  741. # the -resubmit_forms command line switch.
  742. #
  743. #ALWAYS_RESUBMIT_POSTS:FALSE
  744.  
  745.  
  746. .h1 HTML Parsing
  747.  
  748. .h2 NO_ISMAP_IF_USEMAP
  749. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  750. # server-side image map if both a server-side and client-side map for the
  751. # same image is indicated in the HTML markup.  The compilation default is
  752. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  753. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  754. # accessing Lynx's text-based rendition of the client-side map (based on
  755. # the content of the associated MAP element).  If the "[ISMAP]" link is
  756. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  757. # Lynx-friendly sites can map to a for-text-client document, homologous
  758. # to what is intended for the content of a FIG element.
  759. #
  760. # The compilation default, or default defined here, can be toggled via
  761. # the "-ismap" command line switch.
  762. #
  763. #NO_ISMAP_IF_USEMAP:FALSE
  764.  
  765.  
  766. .h2 SEEK_FRAG_MAP_IN_CUR
  767. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  768. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  769. # will be resolved with respect to the current document's base, which
  770. # might not be the same as the current document's URL.
  771. # The compilation default is to use the current document's URL in all
  772. # cases (i.e., assume the MAP is present below, if it wasn't present
  773. # above the point in the HTML stream where the USEMAP attribute was
  774. # detected).  Lynx's present "single pass" rendering engine precludes
  775. # checking below before making the decision on how to resolve a USEMAP
  776. # reference consisting solely of a fragment.
  777. #
  778. #SEEK_FRAG_MAP_IN_CUR:TRUE
  779.  
  780.  
  781. .h2 SEEK_FRAG_AREA_IN_CUR
  782. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  783. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  784. # resolved with respect to the current document's base, which might
  785. # not be the same as the current document's URL.  The compilation
  786. # default is to use the current document's URL, as is done for the
  787. # HREF attribute values of Anchors and LINKs that consist solely of
  788. # a fragment.
  789. #
  790. #SEEK_FRAG_AREA_IN_CUR:TRUE
  791.  
  792.  
  793. .h1 CGI scripts
  794. # These settings control Lynx's ability to execute various types of scripts.
  795.  
  796. .h2 LOCAL_EXECUTION_LINKS_ALWAYS_ON
  797. .h2 LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE
  798. # Local execution links and scripts are by default completely disabled,
  799. # unless a change is made to the userdefs.h file to enable them or
  800. # the configure script is used with the corresponding options
  801. # (--enable-exec-links and --enable-exec-scripts).
  802. # See the Lynx source code distribution and the userdefs.h
  803. # file for more detail on enabling execution links and scripts.
  804. #
  805. # If you have enabled execution links or scripts the following
  806. # two variables control Lynx's action when an execution link
  807. # or script is encountered.
  808. #
  809. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  810. # link or script will be executed no matter where it came from.
  811. # This is EXTREMELY dangerous.  Since Lynx can access files from
  812. # anywhere in the world, you may encounter links or scripts that
  813. # will cause damage or compromise the security of your system.
  814. #
  815. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  816. # links or scripts that reside on the local machine and are
  817. # referenced with a URL beginning with "file://localhost/" or meet
  818. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  819. # executed.  This is much less dangerous than enabling all execution
  820. # links, but can still be dangerous.
  821. #
  822. #LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  823. #LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  824.  
  825.  
  826. .h2 TRUSTED_EXEC
  827. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  828. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  829. # or lynxprog command will be permitted if it was referenced from within
  830. # a document whose URL begins with that string.  If you wish to restrict the
  831. # referencing URLs further, you can extend the string to include a trusted
  832. # path.  You also can specify a trusted directory for http URLs, which will
  833. # then be treated as if they were local rather than remote.  For example:
  834. #
  835. #    TRUSTED_EXEC:file://localhost/trusted/
  836. #    TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  837. #
  838. # If you also wish to restrict the commands which can be executed, create
  839. # a series of rules with the path (Unix) or command name (VMS) following
  840. # the string, separated by a tab.  For example:
  841. #
  842. # Unix:
  843. # ====
  844. #    TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  845. #    TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  846. # VMS:
  847. # ===
  848. #    TRUSTED_EXEC:file://localhost/<tab>copy
  849. #    TRUSTED_EXEC:file://localhost/<tab>delete
  850. #
  851. # Once you specify a TRUSTED_EXEC referencing string, the default is
  852. # replaced, and all the referencing strings you desire must be specified
  853. # as a series.  Similarly, if you associate a command with the referencing
  854. # string, you must specify all of the allowable commands as a series of
  855. # TRUSTED_EXEC rules for that string.  If you specify ALWAYS_TRUSTED_EXEC
  856. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  857. #
  858. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  859. # URLs in that file will be permitted, regardless of other settings.  If
  860. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  861. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  862. # lynxexec or lynxprog URLs in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  863. # see below) will be allowed.  Note, however, that if Lynx was compiled with
  864. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  865. # is included with the -anonymous switch at run time, then users of an
  866. # anonymous account will not be able to access the jumps file or enter
  867. # 'j'ump shortcuts, and this selective execution feature will be overridden
  868. # as well (i.e., they will only be able to access lynxexec or lynxprog
  869. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  870. #
  871. #TRUSTED_EXEC:none
  872.  
  873.  
  874. .h2 ALWAYS_TRUSTED_EXEC
  875. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  876. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it.  This is useful for
  877. # anonymous accounts in which you have disabled execution links generally,
  878. # and may also have disabled jumps file links, but still want to allow
  879. # execution of particular utility scripts or programs.  The format is
  880. # like that for TRUSTED_EXEC.  For example:
  881. #
  882. # Unix:
  883. # ====
  884. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  885. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  886. # VMS:
  887. # ===
  888. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  889. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  890. #
  891. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  892. #
  893. #ALWAYS_TRUSTED_EXEC:none
  894.  
  895.  
  896. .h2 TRUSTED_LYNXCGI
  897. # Unix:
  898. # =====
  899. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  900. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h).  The format
  901. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  902. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  903. # and path for lynxcgi links will be permitted.  Example rules:
  904. #
  905. #    TRUSTED_LYNXCGI:file://localhost/
  906. #     TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  907. #     TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  908. #
  909. # VMS:
  910. # ====
  911. # Do not define this.
  912. #
  913. #TRUSTED_LYNXCGI:none
  914.  
  915.  
  916. .h2 LYNXCGI_ENVIRONMENT
  917. # Unix:
  918. # =====
  919. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  920. # environment variable to the list of environment variables passed on to the
  921. # lynxcgi script.  Useful variables are HOME, USER, etc...  If proxies
  922. # are in use, and the script invokes another copy of lynx (or a program like
  923. # wget) in a subsidiary role, it can be useful to add http_proxy and other
  924. # *_proxy variables.
  925. #
  926. # VMS:
  927. # ====
  928. # Do not define this.
  929. #
  930. #LYNXCGI_ENVIRONMENT:
  931.  
  932.  
  933. .h2 LYNXCGI_DOCUMENT_ROOT
  934. # Unix:
  935. # =====
  936. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  937. # to lynxcgi scripts.  If set and the URL has PATH_INFO data, then
  938. # PATH_TRANSLATED will also be generated.  Examples:
  939. #    LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  940. #    LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  941. #
  942. # VMS:
  943. # ====
  944. # Do not define this.
  945. #
  946. #LYNXCGI_DOCUMENT_ROOT:
  947.  
  948.  
  949. .h1 Cookies
  950.  
  951. .h2 FORCE_SSL_COOKIES_SECURE
  952. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  953. # received from https servers never will be sent unencrypted to http
  954. # servers.  The compilation default is to impose this block only if the
  955. # https server included a secure attribute for the cookie.  The normal
  956. # default or that defined here can be toggled via the -force_secure
  957. # command line switch.
  958. #
  959. #FORCE_SSL_COOKIES_SECURE:FALSE
  960.  
  961.  
  962. .h1 Internal Behavior
  963.  
  964. .h2 MAIL_SYSTEM_ERROR_LOGGING
  965. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  966. #  the information, or ALERTMAIL if there is no owner, every time
  967. #  that a document cannot be accessed!
  968. #
  969. #  NOTE:  This can generate A LOT of mail, be warned.
  970. #
  971. #MAIL_SYSTEM_ERROR_LOGGING:FALSE
  972.  
  973.  
  974. .h2 CHECKMAIL
  975. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  976. # message) about the existence of any unread mail at startup of Lynx, and
  977. # will get statusline messages if subsequent new mail arrives.  If a jumps
  978. # file with a lynxprog URL for invoking mail is available, or your html
  979. # pages include an mail launch file URL, the user thereby can access mail
  980. # and read the messages.  The checks and statusline reports will not be
  981. # performed if Lynx has been invoked with the -restrictions=mail switch.
  982. #
  983. # VMS USERS !!!
  984. # =============
  985. # New mail is normally broadcast as it arrives, via "unsolicited screen
  986. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  987. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  988. # instead (e.g., in a public account which will be used by people who
  989. # are ignorant about VMS).
  990. #
  991. #CHECKMAIL:FALSE
  992.  
  993.  
  994. .h1 News-groups
  995.  
  996. .h2 NNTPSERVER
  997. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  998. # must be set so that it points to your site's NNTP server
  999. # (see Lynx Users Guide on environment variables).
  1000. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt)
  1001. # and does not accept a host field in news URLs (use nntp: instead of news: for
  1002. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  1003. # RFC).  If you have not set the variable externally, you can set it at run
  1004. # time via this configuration file.  It will not override an external setting.
  1005. # Note that on VMS it is set as a process logical rather than symbol, and will
  1006. # outlive the Lynx image.
  1007. # The news reading facility in Lynx is quite limited.  Lynx does not provide a
  1008. # full featured news reader with elaborate error checking and safety features.
  1009. #
  1010. #NNTPSERVER:news.server.dom
  1011.  
  1012.  
  1013. .h2 LIST_NEWS_NUMBERS
  1014. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  1015. # the numbers of articles in news listings, instead of using an unordered
  1016. # list.  The default is defined in userdefs.h, and can be overridden here.
  1017. #
  1018. #LIST_NEWS_NUMBERS:FALSE
  1019.  
  1020.  
  1021. .h2 LIST_NEWS_DATES
  1022. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  1023. # news listings.  The dates always are included in the articles, themselves.
  1024. # The default is defined in userdefs.h, and can be overridden here.
  1025. #
  1026. #LIST_NEWS_DATES:FALSE
  1027.  
  1028.  
  1029. .h2 NEWS_CHUNK_SIZE
  1030. .h2 NEWS_MAX_CHUNK
  1031. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  1032. # listings with inclusion of links for listing earlier and/or later articles.
  1033. # The defaults are defined in HTNews.c as 30 and 40, respectively.  If the
  1034. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  1035. # in NEWS_CHUNK_SIZE chunks.  You can change the defaults here, and/or on
  1036. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  1037. # switches.  Note that if the chunk size is increased, here or on the command
  1038. # line, to a value greater than the current maximum, the maximum will be
  1039. # increased to that number.  Conversely, if the maximum is set to a number
  1040. # less than the current chunk size, the chunk size will be reduced to that
  1041. # number.  Thus, you need use only one of the two switches on the command
  1042. # line, based on the direction of intended change relative to the compilation
  1043. # or configuration defaults.  The compilation defaults ensure that there will
  1044. # be at least 10 earlier articles before bothering to chunk and create a link
  1045. # for earlier articles.
  1046. #
  1047. #NEWS_CHUNK_SIZE:30
  1048. #NEWS_MAX_CHUNK:40
  1049.  
  1050.  
  1051. .h2 NEWS_POSTING
  1052. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  1053. # news groups via Lynx.  If left TRUE, Lynx will use its news gateway to
  1054. # post new messages or followups to news groups, using the URL schemes
  1055. # described in the "Supported URLs" section of the online 'h'elp.  The
  1056. # posts will be attempted via the nntp server specified in the URL, or
  1057. # if none was specified, via the NNTPSERVER configuration or environment
  1058. # variable.  Links with these URLs for posting or sending followups are
  1059. # created by the news gateway when reading group listings or articles
  1060. # from nntp servers if the server indicates that it permits posting.
  1061. # The compilation default set in userdefs.h can be changed here.  If
  1062. # the default is TRUE, posting can still be disallowed via the
  1063. # -restrictions command line switch.
  1064. # The posting facility in Lynx is quite limited.  Lynx does not provide a
  1065. # full featured news poster with elaborate error checking and safety features.
  1066. #
  1067. #NEWS_POSTING:TRUE
  1068.  
  1069.  
  1070. .h2 LYNX_SIG_FILE
  1071. # LYNX_SIG_FILE defines the name of a file containing a signature which
  1072. # can be appended to email messages and news postings or followups.  The
  1073. # user will be prompted whether to append it.  It is sought in the home
  1074. # directory.  If it is in a subdirectory, begin it with a dot-slash
  1075. # (e.g., ./lynx/.lynxsig).  The definition is set in userdefs.h and can
  1076. # be changed here.
  1077. #
  1078. #LYNX_SIG_FILE:.lynxsig
  1079.  
  1080.  
  1081. .h1 Interaction
  1082. # These settings control interaction of the user with lynx.
  1083.  
  1084. .h2 SCROLLBAR
  1085. # If SCROLLBAR is set TRUE, Lynx will show scrollbar on windows.  With mouse
  1086. # enabled, the scrollbar strip outside the bar is clickable, and scrolls the
  1087. # window by pages.  The appearance of the scrollbar can be changed from
  1088. # LYNX_LSS file:  define attributes scroll.bar, scroll.back (for the bar, and
  1089. # for the strip along which the scrollbar moves).
  1090. #SCROLLBAR:FALSE
  1091.  
  1092.  
  1093. .h2 SCROLLBAR_ARROW
  1094. # If SCROLLBAR_ARROW is set TRUE, Lynx's scrollbar will have arrows at the
  1095. # ends.  With mouse enabled, the arrows are clickable, and scroll the window by
  1096. # 2 lines.  The appearance of the scrollbar arrows can be changed from LYNX_LSS
  1097. # file:  define attributes scroll.arrow, scroll.noarrow (for enabled-arrows,
  1098. # and disabled arrows).  An arrow is "disabled" if the bar is at this end of
  1099. # the strip.
  1100. #SCROLLBAR_ARROW:TRUE
  1101.  
  1102.  
  1103. .h2 USE_MOUSE
  1104. # If USE_MOUSE is set TRUE, Lynx (when configured with ncurses, PDcurses or
  1105. # slang) will allow the user to click with button-1 on links to select them. 
  1106. # Other mouse-usable operations include:  clicking on the top or bottom of a
  1107. # page to make it scroll up or down, clicking on the left edge to pop the
  1108. # history stack, to move to a text entry field, or manipulate a popup menu.
  1109. #
  1110. # ncurses and slang have built-in support for the xterm mouse protocol.  In
  1111. # addition, ncurses can be linked with the gpm mouse library, to automatically
  1112. # provide support for this interface in applications such as Lynx.  (Please
  1113. # read the ncurses faq to work around broken gpm configurations packaged by
  1114. # some distributors).  PDCurses implements mouse support for win32 console
  1115. # windows, as does slang.
  1116. #USE_MOUSE:FALSE
  1117.  
  1118.  
  1119. .h1 HTML Parsing
  1120. # These settings control the way Lynx parses invalid HTML
  1121. # and how it may resolve such issues.
  1122.  
  1123. .h2 COLLAPSE_BR_TAGS
  1124. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  1125. # If set TRUE, two or more concurrent BRs will be collapsed into a single
  1126. # line break.  Note that the valid way to insert extra blank lines in HTML
  1127. # is via a PRE block with only newlines in the block.
  1128. #
  1129. #COLLAPSE_BR_TAGS:TRUE
  1130.  
  1131.  
  1132. .h2 TAGSOUP
  1133. # If TAGSOUP is set, Lynx uses the "Tag Soup DTD" rather than "SortaSGML".
  1134. # The two approaches differ by the style of error detection and recovery.
  1135. # Tag Soup DTD allows for improperly nested tags; SortaSGML is stricter.
  1136. #TAGSOUP:FALSE
  1137.  
  1138.  
  1139. .h1 Cookies
  1140.  
  1141. .h2 SET_COOKIES
  1142. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  1143. # in http server replies.  Note that if a COOKIE_FILE is in use (see
  1144. # below) that contains cookies at startup, Lynx will still send those
  1145. # persistent cookies in requests as appropriate.  Setting SET_COOKIES
  1146. # to FALSE just prevents accepting any new cookies from servers.  To
  1147. # prevent all cookie processing (sending *and* receiving) in a session,
  1148. # make sure that PERSISTENT_COOKIES is not TRUE or that COOKIE_FILE does
  1149. # not point to a file with cookies, in addition to setting SET_COOKIES
  1150. # to FALSE.
  1151. # The default is defined in userdefs.h, and can be overridden here,
  1152. # and/or toggled via the -cookies command line switch.
  1153. #
  1154. #SET_COOKIES:TRUE
  1155.  
  1156.  
  1157. .h2 ACCEPT_ALL_COOKIES
  1158. # If ACCEPT_ALL_COOKIES is set TRUE, Lynx will accept cookies from all
  1159. # domains with no user interaction.  This is equivalent to automatically
  1160. # replying to all cookie 'Allow?' prompts with 'A'lways.  Note that it
  1161. # does not preempt validity checking, which has to be controlled separately
  1162. # (see below).
  1163. # The default is defined in userdefs.h and can be overridden here, or
  1164. # in the .lynxrc file via an o(ptions) screen setting.  It may also be
  1165. # toggled via the -accept_all_cookies command line switch.
  1166. #
  1167. #ACCEPT_ALL_COOKIES:FALSE
  1168.  
  1169.  
  1170. .h2 COOKIE_ACCEPT_DOMAINS
  1171. .h2 COOKIE_REJECT_DOMAINS
  1172. # COOKIE_ACCEPT_DOMAINS and COOKIE_REJECT_DOMAINS are comma-delimited lists
  1173. # of domains from which Lynx should automatically accept or reject cookies
  1174. # without asking for confirmation.  If the same domain is specified in both
  1175. # lists, rejection will take precedence.
  1176. # Note that in order to match cookies, domains have to be spelled out exactly
  1177. # in the form in which they would appear on the Cookie Jar page (case is
  1178. # insignificant).  They are not wildcards.  Domains that apply to more than
  1179. # one host have a leading '.', but have to match *the cookie's* domain
  1180. # exactly.
  1181. #
  1182. #COOKIE_ACCEPT_DOMAINS:
  1183. #COOKIE_REJECT_DOMAINS:
  1184.  
  1185.  
  1186. .h2 COOKIE_LOOSE_INVALID_DOMAINS
  1187. .h2 COOKIE_STRICT_INVALID_DOMAINS
  1188. .h2 COOKIE_QUERY_INVALID_DOMAINS
  1189. # COOKIE_LOOSE_INVALID_DOMAINS, COOKIE_STRICT_INVALID_DOMAINS, and
  1190. # COOKIE_QUERY_INVALID_DOMAINS are comma-delimited lists of domains.
  1191. # They control the degree of validity checking that is applied to cookies
  1192. # for the specified domains.
  1193. # Note that in order to match cookies, domains have to be spelled out exactly
  1194. # in the form in which they would appear on the Cookie Jar page (case is
  1195. # insignificant).  They are not wildcards.  Domains that apply to more than
  1196. # one host have a leading '.', but have to match *the cookie's* domain
  1197. # exactly.
  1198. # If a domain is set to strict checking, strict conformance to RFC2109 will
  1199. # be applied.  A domain with loose checking will be allowed to set cookies
  1200. # with an invalid path or domain attribute.  All domains will default to
  1201. # asking the user for confirmation in case of an invalid path or domain.
  1202. # Cookie validity checking takes place as a separate step before the
  1203. # final decision to accept or reject (see previous options), therefore
  1204. # a cookie that passes validity checking may still be automatically
  1205. # rejected or cause another prompt.
  1206. #
  1207. #COOKIE_LOOSE_INVALID_DOMAINS:
  1208. #COOKIE_STRICT_INVALID_DOMAINS:
  1209. #COOKIE_QUERY_INVALID_DOMAINS:
  1210.  
  1211.  
  1212. .h2 PERSISTENT_COOKIES
  1213. # PERSISTENT_COOKIES indicates that cookies should be read at startup from
  1214. # the COOKIE_FILE, and saved at exit for storage between Lynx sessions.
  1215. # It is not used if Lynx was compiled without EXP_PERSISTENT_COOKIES.
  1216. # The default is FALSE, so that the feature needs to be enabled here
  1217. # explicitly if you want it.
  1218. #
  1219. #PERSISTENT_COOKIES:FALSE
  1220.  
  1221.  
  1222. .h2 COOKIE_FILE
  1223. # COOKIE_FILE is the default file from which persistent cookies are read
  1224. # at startup (if the file exists), if Lynx was compiled with
  1225. # EXP_PERSISTENT_COOKIES and the PERSISTENT_COOKIES option is enabled.
  1226. # The cookie file can also be specified in .lynxrc or on the command line.
  1227. #
  1228. #COOKIE_FILE:~/.lynx_cookies
  1229.  
  1230.  
  1231. .h2 COOKIE_SAVE_FILE
  1232. # COOKIE_SAVE_FILE is the default file in which persistent cookies are
  1233. # stored at exit, if Lynx was compiled with EXP_PERSISTENT_COOKIES and the
  1234. # PERSISTENT_COOKIES option is enabled.  The cookie save file can also be
  1235. # specified on the command line.
  1236. #
  1237. # With an interactive Lynx session, COOKIE_SAVE_FILE will default to
  1238. # COOKIE_FILE if it is not set.  With a non-interactive Lynx session (e.g.,
  1239. # -dump), cookies will only be saved to file if COOKIE_SAVE_FILE is set.
  1240. #
  1241. #COOKIE_SAVE_FILE:~/.lynx_cookies
  1242.  
  1243.  
  1244. .h1 Mail-related
  1245.  
  1246. .h2 SYSTEM_MAIL
  1247. .h2 SYSTEM_MAIL_FLAGS
  1248. # VMS:
  1249. # ===
  1250. # The mail command and qualifiers are defined in userdefs.h.  Lynx
  1251. # will spawn a subprocess to send replies and error messages.  The
  1252. # command, and qualifiers (if any), can be re-defined here.  If
  1253. # you use PMDF then headers will we passed via a header file.
  1254. # If you use "generic" VMS MAIL, the subject will be passed on the
  1255. # command line via a /subject="SUBJECT" qualifier, and inclusion
  1256. # of other relevant headers may not be possible.
  1257. # If your mailer uses another syntax, some hacking of the mailform()
  1258. # mailmsg() and reply_by_mail() functions in LYMail.c, and send_file_to_mail()
  1259. # function in LYPrint.c, may be required.
  1260. #
  1261. .ex 2
  1262. #SYSTEM_MAIL:PMDF SEND
  1263. #SYSTEM_MAIL_FLAGS:/headers
  1264. #
  1265. .ex 2
  1266. #SYSTEM_MAIL:MAIL
  1267. #SYSTEM_MAIL_FLAGS:
  1268. #
  1269. # Unix:
  1270. #======
  1271. # The mail path and flags normally are defined for sendmail (or submit
  1272. # with MMDF) in userdefs.h.  You can change them here, but should first
  1273. # read the zillions of CERT advisories about security problems with Unix
  1274. # mailers.
  1275. #
  1276. .ex 2
  1277. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  1278. #SYSTEM_MAIL_FLAGS:-mlruxto,cc\*
  1279. #
  1280. .ex 2
  1281. #SYSTEM_MAIL:/usr/sbin/sendmail
  1282. #SYSTEM_MAIL_FLAGS:-t -oi
  1283. #
  1284. .ex 2
  1285. #SYSTEM_MAIL:/usr/lib/sendmail
  1286. #SYSTEM_MAIL_FLAGS:-t -oi
  1287.  
  1288. # Win32:
  1289. #=======
  1290. # Please read sendmail.txt in the LYNX_W32.ZIP distribution
  1291. #
  1292. #SYSTEM_MAIL:sendmail -f me@my.host -h my.host -r my.smtp.mailer -m SMTP
  1293.  
  1294.  
  1295. .h2 MAIL_ADRS
  1296. # VMS ONLY:
  1297. # ========
  1298. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  1299. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  1300. # by the user.  If you are using a different Internet mail transport, change
  1301. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  1302. #
  1303. #MAIL_ADRS:"IN%%""%s"""
  1304.  
  1305.  
  1306. .h2 USE_FIXED_RECORDS
  1307. # VMS ONLY:
  1308. # ========
  1309. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  1310. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  1311. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  1312. # headers of such files will indicate that they are Stream_LF with Implied
  1313. # Carriage Control, which is incorrect, and can cause downloading software
  1314. # to get confused and unhappy.  If you do set it FALSE, you can use the
  1315. # FIXED512.COM command file, which is included in this distribution, to do
  1316. # the conversion externally.
  1317. #
  1318. #USE_FIXED_RECORDS:TRUE
  1319.  
  1320.  
  1321. .h1 Keyboard Input
  1322. # These settings control the way Lynx interprets user input.
  1323.  
  1324.  
  1325. .h2 VI_KEYS_ALWAYS_ON
  1326. .h2 EMACS_KEYS_ALWAYS_ON
  1327. # Vi or Emacs movement keys, i.e. familiar hjkl or ^N^P^F^B .
  1328. # These are defaults, which can be changed in the Options Menu or .lynxrc .
  1329. #VI_KEYS_ALWAYS_ON:FALSE
  1330. #EMACS_KEYS_ALWAYS_ON:FALSE
  1331.  
  1332.  
  1333. .h2 DEFAULT_KEYPAD_MODE
  1334. # DEFAULT_KEYPAD_MODE may be set to NUMBERS_AS_ARROWS
  1335. #                                or LINKS_ARE_NUMBERED
  1336. #                                or LINKS_AND_FIELDS_ARE_NUMBERED
  1337. # to specify whether numbers (e.g. [10]) appear before all links,
  1338. # allowing immediate access by entering the number on the keyboard,
  1339. # or numbers on the numeric key-pad work like arrows;
  1340. # the 3rd option causes form fields also to be preceded by numbers.
  1341. # The first two options (but not the last) can be changed in lynx.cfg
  1342. # and all three can be changed via the Options Menu.
  1343. #
  1344. #DEFAULT_KEYPAD_MODE:NUMBERS_AS_ARROWS
  1345.  
  1346.  
  1347. .h2 DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS
  1348. # Obsolete form of DEFAULT_KEYPAD_MODE,
  1349. # numbers work like arrows or numbered links.
  1350. # Set to TRUE, indicates numbers act as arrows,
  1351. # and set to FALSE indicates numbers refer to numbered links on the page.
  1352. # LINKS_AND_FIELDS_ARE_NUMBERED cannot be set by this option because
  1353. # it allows only two values (true and false).
  1354. #
  1355. #DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  1356.  
  1357.  
  1358. .h2 CASE_SENSITIVE_ALWAYS_ON
  1359. # The default search type.
  1360. # This is a default that can be overridden by the user!
  1361. #
  1362. #CASE_SENSITIVE_ALWAYS_ON:FALSE
  1363.  
  1364.  
  1365. .h1 Auxiliary Facilities
  1366.  
  1367. .h2 DEFAULT_BOOKMARK_FILE
  1368. # DEFAULT_BOOKMARK_FILE is the filename used for storing personal bookmarks.
  1369. # It will be prepended by the user's home directory.
  1370. # NOTE that a file ending in .html or other suffix mapped to text/html
  1371. # should be used to ensure its treatment as HTML.  The built-in default
  1372. # is lynx_bookmarks.html.  On both Unix and VMS, if a subdirectory off of
  1373. # the HOME directory is desired, the path should begin with "./" (e.g.,
  1374. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  1375. # Lynx will create the bookmark file, if it does not already exist, on
  1376. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  1377. # (i.e., if the definition is just filename.html without any slashes),
  1378. # but requires a pre-existing subdirectory to create the file there.
  1379. # The user can re-define the default bookmark file, as well as a set
  1380. # of sub-bookmark files if multiple bookmark file support is enabled
  1381. # (see below), via the 'o'ptions menu, and can save those definitions
  1382. # in the .lynxrc file.
  1383. #
  1384. #DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  1385.  
  1386.  
  1387. .h2 MULTI_BOOKMARK_SUPPORT
  1388. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  1389. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  1390. # first prompt the user to select an active sub-bookmark file or the
  1391. # default bookmark file.  FALSE is the default so that one (the default)
  1392. # bookmark file will be available initially.  The definition here will
  1393. # override that in userdefs.h.  The user can turn on multiple bookmark
  1394. # support via the 'o'ptions menu, and can save that choice as the startup
  1395. # default via the .lynxrc file.  When on, the setting can be STANDARD or
  1396. # ADVANCED.  If SUPPORT is set to the latter, and the user mode also is
  1397. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  1398. # which the user can enter the letter token (A - Z) of the desired bookmark,
  1399. # or '=' to get a menu of available bookmark files.  The menu always is
  1400. # presented in NOVICE or INTERMEDIATE mode, or if the SUPPORT is set to
  1401. # STANDARD.  No prompting or menu display occurs if only one (the startup
  1402. # default) bookmark file has been defined (define additional ones via the
  1403. # 'o'ptions menu).  The startup default, however set, can be overridden on
  1404. # the command line via the -restrictions=multibook or the -anonymous or
  1405. # -validate switches.
  1406. #
  1407. #MULTI_BOOKMARK_SUPPORT:FALSE
  1408.  
  1409.  
  1410. .h2 BLOCK_MULTI_BOOKMARKS
  1411. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  1412. # be forced off, and cannot to toggled on via the 'o'ptions menu.  The
  1413. # compilation setting is normally FALSE, and can be overridden here.
  1414. # It can also be set via the -restrictions=multibook or the -anonymous
  1415. # or -validate command line switches.
  1416. #
  1417. #BLOCK_MULTI_BOOKMARKS:FALSE
  1418.  
  1419.  
  1420. .h1 Interaction
  1421.  
  1422. .h2 DEFAULT_USER_MODE
  1423. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  1424. # NOVICE shows a three line help message at the bottom of the screen.
  1425. # INTERMEDIATE shows normal amount of help (one line).
  1426. # ADVANCED help is replaced by the URL of the current link.
  1427. #
  1428. #DEFAULT_USER_MODE:NOVICE
  1429.  
  1430.  
  1431. .h1 External Programs
  1432.  
  1433. .h2 DEFAULT_EDITOR
  1434. # If DEFAULT_EDITOR is defined, users may edit local documents with it
  1435. # & it will also be used for sending mail messages.
  1436. # If no editor is defined here or by the user,
  1437. # the user will not be able to edit local documents
  1438. # and a primitive line-oriented mail-input mode will be used.
  1439. #
  1440. # For sysadmins: do not define a default editor
  1441. # unless you know EVERY user will know how to use it;
  1442. # users can easily define their own editor in the Options Menu.
  1443. #
  1444. #DEFAULT_EDITOR:
  1445.  
  1446.  
  1447. .h2 SYSTEM_EDITOR
  1448. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR,
  1449. # except that it can't be changed by users.
  1450. #
  1451. #SYSTEM_EDITOR:
  1452.  
  1453.  
  1454. .h1 Proxy
  1455.  
  1456. .h2 HTTP_PROXY
  1457. .h2 HTTPS_PROXY
  1458. .h2 FTP_PROXY
  1459. .h2 GOPHER_PROXY
  1460. .h2 NEWSPOST_PROXY
  1461. .h2 NEWSREPLY_PROXY
  1462. .h2 NEWS_PROXY
  1463. .h2 NNTP_PROXY
  1464. .h2 SNEWSPOST_PROXY
  1465. .h2 SNEWSREPLY_PROXY
  1466. .h2 SNEWS_PROXY
  1467. .h2 WAIS_PROXY
  1468. .h2 FINGER_PROXY
  1469. .h2 CSO_PROXY
  1470. # Lynx version 2.2 and beyond supports the use of proxy servers that can act as
  1471. # firewall gateways and caching servers.  They are preferable to the older
  1472. # gateway servers.  Each protocol used by Lynx can be mapped separately using
  1473. # PROTOCOL_proxy environment variables (see Lynx Users Guide).  If you have not set
  1474. # them externally, you can set them at run time via this configuration file.
  1475. # They will not override external settings.  The no_proxy variable can be used
  1476. # to inhibit proxying to selected regions of the Web (see below).  Note that on
  1477. # VMS these proxy variables are set as process logicals rather than symbols, to
  1478. # preserve lowercasing, and will outlive the Lynx image.
  1479. #
  1480. .ex 15
  1481. #http_proxy:http://some.server.dom:port/
  1482. #https_proxy:http://some.server.dom:port/
  1483. #ftp_proxy:http://some.server.dom:port/
  1484. #gopher_proxy:http://some.server.dom:port/
  1485. #news_proxy:http://some.server.dom:port/
  1486. #newspost_proxy:http://some.server.dom:port/
  1487. #newsreply_proxy:http://some.server.dom:port/
  1488. #snews_proxy:http://some.server.dom:port/
  1489. #snewspost_proxy:http://some.server.dom:port/
  1490. #snewsreply_proxy:http://some.server.dom:port/
  1491. #nntp_proxy:http://some.server.dom:port/
  1492. #wais_proxy:http://some.server.dom:port/
  1493. #finger_proxy:http://some.server.dom:port/
  1494. #cso_proxy:http://some.server.dom:port/
  1495. #no_proxy:host.domain.dom
  1496.  
  1497.  
  1498. .h2 NO_PROXY
  1499. # The no_proxy variable can be a comma-separated list of strings defining
  1500. # no-proxy zones in the DNS domain name space.  If a tail substring of the
  1501. # domain-path for a host matches one of these strings, transactions with that
  1502. # node will not be proxied.
  1503. .ex
  1504. #no_proxy:domain.path1,path2
  1505. #
  1506. # A single asterisk as an entry will override all proxy variables and no
  1507. # transactions will be proxied.
  1508. .ex
  1509. #no_proxy:*
  1510. # This is the only allowed use of * in no_proxy.
  1511. #
  1512. # Warning:  Note that setting 'il' as an entry in this list will block proxying
  1513. # for the .mil domain as well as the .il domain.  If the entry is '.il' this
  1514. # will not happen.
  1515.  
  1516.  
  1517. .h1 External Programs
  1518.  
  1519. .h2 PRINTER
  1520. .h2 DOWNLOADER
  1521. .h2 UPLOADER
  1522. # PRINTER, DOWNLOADER & UPLOADER DEFINITIONS:
  1523. # Lynx has 4 pre-defined print options & 1 pre-defined download option,
  1524. # which are called up on-screen when `p' or `d' are entered;
  1525. # any number of options can be added by the user, as explained below.
  1526. # Uploaders can be defined only for UNIX with DIRED_SUPPORT:
  1527. # see the Makefile in the top directory & the header of src/LYUpload.c .
  1528. #
  1529. # For `p' pre-defined options are: `Save to local file', `E-mail the file',
  1530. # `Print to screen' and `Print to local printer attached to vt100'.
  1531. # `Print to screen' allows file transfers in the absence of alternatives
  1532. # and is often the only option allowed here for anonymous users;
  1533. # the 3rd & 4th options are not pre-defined for DOS/WINDOWS versions of Lynx.
  1534. # For `d' the pre-defined option is: `Download to local file'.
  1535. #
  1536. # To define your own print or download option use the following formats:
  1537. #
  1538. # PRINTER:<name>:<command>:<option>:<lines/page>
  1539. #
  1540. # DOWNLOADER:<name>:<command>:<option>
  1541. #
  1542. # <name>       is what you will see on the print/download screen.
  1543. #
  1544. # <command>    is the command your system will execute:
  1545. #              the 1st %s in the command will be replaced
  1546. #              by the temporary filename used by Lynx;
  1547. #              a 2nd %s will be replaced by a filename of your choice,
  1548. #              for which Lynx will prompt, offering a suggestion.
  1549. #              On Unix, which has pipes, you may use a '|' as the first
  1550. #              character of the command, and Lynx will open a pipe to
  1551. #              the command.
  1552. #              If the command format of your printer/downloader requires
  1553. #              a different layout, you will need to use a script
  1554. #              (see the last 2 download examples below).
  1555. #
  1556. # <option>     TRUE : the printer/downloader will always be ENABLED,
  1557. #              except that downloading is disabled when -validate is used;
  1558. #              FALSE : both will be DISABLED for anonymous users
  1559. #              and printing will be disabled when -noprint is used.
  1560. #
  1561. # <lines/page> (printers: optional) the number of lines/page (default 66):
  1562. #              used to compute the approximate output size
  1563. #              and prompt if the document is > 4 printer pages;
  1564. #              it uses current screen length for the computation
  1565. #              when `Print to screen' is selected.
  1566. #
  1567. # You must put the whole definition on one line;
  1568. # if you use a colon, precede it with a backslash.
  1569. #
  1570. # `Printer' can be any file-handling program you find useful,
  1571. # even if it does not physically print anything.
  1572. #
  1573. # Usually, down/up-loading involves the use of (e.g.) Ckermit or ZModem
  1574. # to transfer files to a user's local machine over a serial link,
  1575. # but download options do not have to be download-protocol programs.
  1576. #
  1577. # Printer examples:
  1578. .ex 3
  1579. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  1580. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  1581. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  1582. # If you have a very busy VMS print queue
  1583. # and Lynx deletes the temporary files before they have been queued,
  1584. # use the VMSPrint.com included in the distribution:
  1585. .ex
  1586. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  1587. # To specify a print option at run-time:
  1588. # NBB if you have ANONYMOUS users, DO NOT allow this option!
  1589. .ex
  1590. #PRINTER:Specify at run-time:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  1591. # To pass to a sophisticated file viewer: -k suppresses invocation
  1592. # of hex display mode if 8-bit or control characters are present;
  1593. # +s invokes secure mode (see ftp://space.mit.edu/pub/davis/most):
  1594. .ex
  1595. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  1596. #
  1597. # Downloader examples:
  1598. # in Kermit, -s %s is the filename sent, -a %s the filename on arrival
  1599. # (if they are given in reverse order here, the command will fail):
  1600. .ex
  1601. #DOWNLOADER:Use Kermit to download to the terminal:kermit -i -s %s -a %s:TRUE
  1602. # NB don't use -k with Most, so that binaries will invoke hexadecimal mode:
  1603. .ex
  1604. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  1605. # The following example gives wrong filenames
  1606. # (`sz' doesn't support a suggested filename parameter):
  1607. .ex
  1608. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  1609. # The following example returns correct filenames
  1610. # by using a script to make a subdirectory in /tmp,
  1611. # but may conflict with very strong security or permissions restrictions:
  1612. .ex
  1613. #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
  1614. .ex 2
  1615. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1616. #UPLOADER:Use Zmodem to upload from your computer: rz %s:TRUE
  1617. #
  1618. # Note for OS/390: /* S/390 -- gil -- 1464 */
  1619. # The following is strongly recommended to undo ASCII->EBCDIC conversion.
  1620. .ex
  1621. #DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE
  1622.  
  1623.  
  1624. .h1 Interaction
  1625.  
  1626. .h2 NO_DOT_FILES
  1627. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1628. # be allowed to specify files beginning with a dot in reply to output filename
  1629. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1630. # will not be included in the directory browser's listings.  If set FALSE, you
  1631. # can force it to be treated as TRUE via -restrictions=dotfiles.  If set FALSE
  1632. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1633. # may save the preference in the RC file).
  1634. #
  1635. #NO_DOT_FILES:TRUE
  1636.  
  1637.  
  1638. .h1 Internal Behavior
  1639.  
  1640. .h2 NO_FROM_HEADER
  1641. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1642. # to http or https servers if the personal_mail_address has been defined via
  1643. # the 'o'ptions menu.  The compilation default is TRUE (no From header is
  1644. # sent) and the default can be changed here.  The default can be toggled at
  1645. # run time via the -from switch.  Note that transmissions of From headers
  1646. # have become widely considered to create an invasion of privacy risk.
  1647. #
  1648. #NO_FROM_HEADER:TRUE
  1649.  
  1650.  
  1651. .h2 NO_REFERER_HEADER
  1652. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1653. # transmissions to servers.  Lynx normally sends the URL of the document
  1654. # from which the link was derived, but not for startfile URLs, 'g'oto
  1655. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1656. # URLs that include the content from form submissions with method GET.
  1657. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1658. # switch.
  1659. #
  1660. #NO_REFERER_HEADER:FALSE
  1661.  
  1662.  
  1663. .h1 Internal Behavior
  1664.  
  1665. .h2 NO_FILE_REFERER
  1666. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1667. # transmissions to servers for links or actions derived from documents
  1668. # or forms with file URLs.  This ensures that paths associated with
  1669. # the local file system are never indicated to servers, even if
  1670. # NO_REFERER_HEADER is FALSE.  If set to FALSE here, it can still be
  1671. # set TRUE at run time via the -nofilereferer switch.
  1672. #
  1673. #NO_FILE_REFERER:TRUE
  1674.  
  1675.  
  1676. .h2 REFERER_WITH_QUERY
  1677. # REFERER_WITH_QUERY controls what happens when the URL in a Referer
  1678. # header to be sent would contain a query part in the form of a '?'
  1679. # character followed by one or more attribute=value pairs.  Query parts
  1680. # often contain sensitive or personal information resulting from filling
  1681. # out forms, or other info that allows tracking of a user's browsing path
  1682. # through a site, an thus should not be put in a Referer header (which may
  1683. # get sent to an unrelated third-party site).  On the other hand, some
  1684. # sites (improperly) rely on browsers sending Referer headers, even when
  1685. # the user is coming from a page whose URL has a query part.
  1686. #
  1687. # If REFERER_WITH_QUERY is SEND, full Referer headers will be sent
  1688. # including the query part (unless sending of Referer is disabled in
  1689. # general, see NO_REFERER_HEADER above).  If REFERER_WITH_QUERY is
  1690. # PARTIAL, the Referer header will contain a partial URL, with the query
  1691. # part stripped off.  This is not strictly correct, but should satisfy
  1692. # those sites that check only whether the user arrived at a page from an
  1693. # "outside" link.  If REFERER_WITH_QUERY is set to DROP (or anything else
  1694. # unrecognized), the default, no Referer header is sent at all in this
  1695. # situation.
  1696. #
  1697. #REFERER_WITH_QUERY:DROP
  1698.  
  1699.  
  1700. .h1 Appearance
  1701.  
  1702. .h2 VERBOSE_IMAGES
  1703. # VERBOSE_IMAGES controls whether Lynx replaces [LINK], [INLINE] and [IMAGE]
  1704. # (for images without ALT) with filenames of these images.
  1705. # This can be useful in determining what images are important
  1706. # and which are mere decorations, e.g. button.gif, line.gif,
  1707. # provided the author uses meaningful names.
  1708. #
  1709. # The definition here will override the setting in userdefs.h.
  1710. #
  1711. #VERBOSE_IMAGES:TRUE
  1712.  
  1713.  
  1714. .h2 MAKE_LINKS_FOR_ALL_IMAGES
  1715. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1716. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1717. # strings will be links for the resolved SRC rather than just text.
  1718. # For ISMAP or other graphic links, ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1719. # will have '-' and a link labeled "[IMAGE]" for the resolved SRC appended.
  1720. # See also VERBOSE_IMAGES flag.
  1721. #
  1722. # The definition here will override that in userdefs.h
  1723. # and can be toggled via an "-image_links" command-line switch.
  1724. # The user can also use the LYK_IMAGE_TOGGLE key (default `*')
  1725. # or `Show Images' in the Form-based Options Menu.
  1726. #
  1727. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1728.  
  1729. .h2 MAKE_PSEUDO_ALTS_FOR_INLINES
  1730. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which don't specify
  1731. # an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1732. # i.e. they'll be treated as having ALT="".
  1733. # Otherwise (if TRUE), pseudo-ALTs will be created for inlines,
  1734. # so that they can be used as links to the SRCs.
  1735. # See also VERBOSE_IMAGES flag.
  1736. #
  1737. # The definition here will override that in userdefs.h
  1738. # and can be toggled via a "-pseudo_inlines" command-line switch.
  1739. # The user can also use the LYK_INLINE_TOGGLE key (default `[')
  1740. # or `Show Images' in the Form-based Options Menu.
  1741. #
  1742. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1743.  
  1744.  
  1745. .h2 SUBSTITUTE_UNDERSCORES
  1746. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1747. # for emphasis tags in dumps.
  1748. #
  1749. # The default defined here will override that in userdefs.h, and the user
  1750. # can toggle the default via a "-underscore" command line switch.
  1751. #
  1752. #SUBSTITUTE_UNDERSCORES:FALSE
  1753.  
  1754.  
  1755. .h1 Interaction
  1756.  
  1757. .h2 QUIT_DEFAULT_YES
  1758. # If QUIT_DEFAULT_YES is TRUE then when the QUIT command is entered, any
  1759. # response other than n or N will confirm.  It should be FALSE if you
  1760. # prefer the more conservative action of requiring an explicit Y or y to
  1761. # confirm.  The default defined here will override that in userdefs.h.
  1762. #
  1763. #QUIT_DEFAULT_YES:TRUE
  1764.  
  1765.  
  1766. .h1 HTML Parsing
  1767.  
  1768. .h2 HISTORICAL_COMMENTS
  1769. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1770. # behavior of treating any '>' as a terminator for comments, instead of
  1771. # seeking a valid '-->' terminator (note that white space can be present
  1772. # between the '--' and '>' in valid terminators).  The compilation default
  1773. # is FALSE.
  1774. #
  1775. # The compilation default, or default defined here, can be toggled via a
  1776. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1777. #
  1778. #HISTORICAL_COMMENTS:FALSE
  1779.  
  1780.  
  1781. .h2 MINIMAL_COMMENTS
  1782. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1783. # of '--' pairs as serial comments within an overall comment element,
  1784. # and instead will seek only a '-->' terminator for the overall comment
  1785. # element.  This emulates the Netscape v2.0 comment parsing bug, and
  1786. # will help Lynx cope with the use of dashes as "decorations", which
  1787. # consequently has become common in so-called "Enhanced for Netscape"
  1788. # pages.  Note that setting Historical comments on will override the
  1789. # Minimal or Valid setting.
  1790. #
  1791. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1792. # set it TRUE here, until Netscape gets its comment parsing right,
  1793. # and "decorative" dashes cease to be so common.
  1794. #
  1795. # The compilation default, or default defined here, can be toggled via a
  1796. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1797. #
  1798. MINIMAL_COMMENTS:TRUE
  1799.  
  1800.  
  1801. .h2 SOFT_DQUOTES
  1802. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1803. # treating '>' as a co-terminator of a double-quoted attribute value
  1804. # and the tag which contains it, as was done in old versions of Netscape
  1805. # and Mosaic.  The compilation default is FALSE.
  1806. #
  1807. # The compilation default, or default defined here, can be toggled via
  1808. # a "-soft_dquotes" command line switch.
  1809. #
  1810. #SOFT_DQUOTES:FALSE
  1811.  
  1812.  
  1813. .h2 STRIP_DOTDOT_URLS
  1814. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1815. # browsers to strip a leading "../" segment from relative URLs in HTML
  1816. # documents with a http or https base URL, if this would otherwise lead to
  1817. # an absolute URLs with those characters still in it.  Such URLs are normally
  1818. # erroneous and not what is intended by page authors.  Lynx will issue
  1819. # a warning message when this occurs.
  1820. #
  1821. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1822. # without taking any special actions or issuing Warnings, in most cases
  1823. # this will result in an error response from the server.
  1824. #
  1825. # Note that Lynx never tries to fix similar URLs for protocols other than
  1826. # http and https, since they are less common and may actually be valid in
  1827. # some cases.
  1828. #
  1829. #STRIP_DOTDOT_URLS:TRUE
  1830.  
  1831.  
  1832. .h1 Appearance
  1833.  
  1834. .h2 ENABLE_SCROLLBACK
  1835. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1836. # displaying each new screenful of text.  Though less efficient for normal
  1837. # use, this allows programs that maintain a buffer of previously-displayed
  1838. # text to recognize the continuity of what has been displayed, so that
  1839. # previous screenfuls can be reviewed by whatever method the program uses
  1840. # to scroll back through previous text.  For example, the PC comm program
  1841. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1842. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1843. # will have been stored on the local PC and will therefore be displayed
  1844. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1845. # speed of the comm connection (but Lynx will not know about the change,
  1846. # so you must restore the last screen before resuming with Lynx commands).
  1847. #
  1848. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1849. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1850. # some poor curses implementations).
  1851. #
  1852. # The default compilation or configuration setting can be toggled via an
  1853. # "-enable_scrollback" command line switch.
  1854. #
  1855. #ENABLE_SCROLLBACK:FALSE
  1856.  
  1857.  
  1858. .h2 SCAN_FOR_BURIED_NEWS_REFS
  1859. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1860. # of news articles for buried article and URL references and convert them
  1861. # to links.  The compilation default is TRUE, but some email addresses
  1862. # enclosed in angle brackets ("<user@address>") might be converted to false
  1863. # news links, and uuencoded messages might be corrupted.  The conversion is
  1864. # not done when the display is toggled to source or when 'd'ownloading, so
  1865. # uuencoded articles can be saved intact regardless of these settings.
  1866. #
  1867. # The default setting can be toggled via a "-buried_news" command line
  1868. # switch.
  1869. #
  1870. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1871.  
  1872.  
  1873. .h2 PREPEND_BASE_TO_SOURCE
  1874. # If PREPEND_BASE_TO_SOURCE is set to FALSE, Lynx will not prepend a
  1875. # Request URL comment and BASE element to text/html source files when
  1876. # they are retrieved for 'd'ownloading or passed to 'p'rint functions.
  1877. # The compilation default is TRUE.  Note that this prepending is not
  1878. # done for -source dumps, unless the -base switch also was included on
  1879. # the command line, and the latter switch overrides the setting of the
  1880. # PREPEND_BASE_TO_SOURCE configuration variable.
  1881. #
  1882. #PREPEND_BASE_TO_SOURCE:TRUE
  1883.  
  1884.  
  1885. # MIME types and viewers!
  1886. #
  1887. # file extensions may be assigned to MIME types using
  1888. # the SUFFIX: definition.
  1889. #
  1890. # NOTE: It is normally preferable to define new extension mappings in
  1891. #       EXTENSION_MAP files (see below) instead of here:  Definitions
  1892. #       here are overridden by those in EXTENSION_MAP files and even by
  1893. #       some built-in defaults in src/HTInit.c.  On the other hand,
  1894. #       definitions here allow some more fields that are not possible
  1895. #       in those files.
  1896. #
  1897. #       Extension mappings have an effect mostly for ftp and local files,
  1898. #       they are NOT used to determine the type of content for URLs with
  1899. #       the http protocol.  This is because HTTP servers already specify
  1900. #       the MIME type in the Content-Type header.  [It may still be
  1901. #       necessary to set up an appropriate suffix for some MIME types,
  1902. #       even if they are accessed only via the HTTP protocol, if the viewer
  1903. #       (see below) for those MIME types requires a certain suffix for the
  1904. #       temporary file passed to it.]
  1905.  
  1906.  
  1907. .h1 External Programs
  1908.  
  1909. .h2 GLOBAL_EXTENSION_MAP
  1910. .h2 PERSONAL_EXTENSION_MAP
  1911. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1912. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  1913. # configuration file, or in src/HTInit.c.  See the example mime.types file
  1914. # in the samples subdirectory.
  1915. #
  1916. # Unix:
  1917. # ====
  1918. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  1919. # VMS:
  1920. # ===
  1921. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  1922. #
  1923. #    Unix (sought in user's home directory):
  1924. #PERSONAL_EXTENSION_MAP:.mime.types
  1925. #    VMS (sought in user's sys$login directory):
  1926. #PERSONAL_EXTENSION_MAP:mime.types
  1927.  
  1928.  
  1929. .h2 SUFFIX_ORDER
  1930. # With SUFFIX_ORDER the precedence of suffix mappings can be changed.
  1931. # Two kinds of settings are recognized:
  1932. #
  1933. #    PRECEDENCE_OTHER or PRECEDENCE_HERE
  1934. #      Suffix mappings can come from four sources: (1) SUFFIX rules
  1935. #      given here - see below, (2) builtin defaults (HTInit.c), and the
  1936. #      (3) GLOBAL_EXTENSION_MAP and (4) PERSONAL_EXTENSION_MAP files.
  1937. #      The order of precedence is normally as listed: (1) has the
  1938. #      *lowest*, (4) has the *highest* precedence if there are conflicts.
  1939. #      In other words, SUFFIX mappings here are overridden by conflicting
  1940. #      ones elsewhere.  This default ordering is called PRECEDENCE_OTHER.
  1941. #      With PRECEDENCE_HERE, the order becomes (2) (3) (4) (1), i.e.
  1942. #      mappings here override others made elsewhere.
  1943. #
  1944. #    NO_BUILTIN
  1945. #      This disables all builtin default rules.  In other words, (2) in the
  1946. #      list above is skipped.  Some recognition for compressed files (".gz",
  1947. #      ".Z") is still hardwired.   A mapping for some basic types, at least
  1948. #      for text/html is probably necessary to get a usable configuration,
  1949. #      it can be given in a SUFFIX rule below or an extension map file.
  1950. # Both kinds of settings can be combined, separated by comma as in
  1951. #        SUFFIX_ORDER:PRECEDENCE_HERE,NO_BUILTIN
  1952. # Note: Using PRECEDENCE_HERE has only an effect on SUFFIX rules that follow.
  1953. # Moreover, if GLOBAL_EXTENSION_MAP or PERSONAL_EXTENSION_MAP directives
  1954. # are used, they should come *before* a SUFFIX_ORDER:PRECEDENCE_HERE.
  1955. #
  1956. #SUFFIX_ORDER:PRECEDENCE_OTHER
  1957.  
  1958.  
  1959. .h2 SUFFIX
  1960. # The SUFFIX definition takes the form of:
  1961. #
  1962. #    SUFFIX:<file extension>:<mime type>:<encoding>:<quality>:<description>
  1963. #
  1964. # All fields after <mime type> are optional (including the separators
  1965. # if no more fields follow).
  1966. #
  1967. #     <file extension> trailing end of file name.  This need not strictly
  1968. #                      be a file extension as understood by the OS, a dot
  1969. #                      has to be given explicitly if it is indented, for
  1970. #                      some uses one could even match full filenames here.
  1971. #                      In addition, two forms are special: "*.*" and "*"
  1972. #                      refer to the defaults for otherwise unmatched files
  1973. #                      (the first for filenames with a dot somewhere in
  1974. #                      the name, the second without), these are currently
  1975. #                      mapped to text/plain in the (HTInit.c) builtin code.
  1976. #
  1977. #     <mime type> a MIME content type.  It can also contain a charset
  1978. #                 parameter, see example below.  This should be given in
  1979. #                 all lowercase, use <description> for more fancy labels.
  1980. #                 It can be left empty if an HTTP style encoding is given.
  1981. #
  1982. # Fields in addition to the usual ones are
  1983. #
  1984. #     <encoding>  either a mail style trivial encoding (7bit, 8bit, binary)
  1985. #                 which could be used on some systems to determine how to
  1986. #                 open local files (currently it isn't), and is used to
  1987. #                 determine transfer mode for some FTP URLs; or a HTTP style
  1988. #                 content encoding (gzip (equivalent to x-gzip), compress)
  1989. #
  1990. #     <quality> a floating point quality factor, usually between 0.0 and 1.0
  1991. #               currently unused in most situations.
  1992. #
  1993. #     <description> text that can appear in FTP directory listings, and in
  1994. #                   local directory listings (see LIST_FORMAT, code %t)
  1995. #
  1996. # For instance the following definition maps the
  1997. # extension ".gif" to the mime type "image/gif"
  1998. .ex
  1999. #    SUFFIX:.gif:image/gif
  2000. #
  2001. # The following can be used if you have a convention to label
  2002. # HTML files in some character set that differs from your local
  2003. # default (see also ASSUME_LOCAL_CHARSET) with a different
  2004. # extension, here ".html-u8".  It also demonstrates use of the
  2005. # description field, note extra separators for omitted fields:
  2006. .ex
  2007. #    SUFFIX:.html-u8:text/html;charset=utf-8:::UTF-8 HTML
  2008. #
  2009. # The following shows how a suffix can indicate a combination
  2010. # of MIME type and compression method. (The ending ".ps.gz" should
  2011. # already be recognized by default; the form below could be used on
  2012. # systems that don't allow more than one dot in filenames.)
  2013. .ex
  2014. #    SUFFIX:.ps_gz:application/postscript:gzip::gzip'd Postscript
  2015. #
  2016. # The following is meant to match a full filename (but can match
  2017. # any file ending in "core", so be careful):
  2018. .ex
  2019. #    SUFFIX:core:application/x-core-file
  2020. #
  2021. # file suffixes are case INsensitive!
  2022. #
  2023. # The suffix definitions listed here in the default lynx.cfg file are
  2024. # similar to those normally established via src/HTInit.c.  You can change
  2025. # the defaults by editing that file or disable them, or via the global or
  2026. # personal mime.types files at run time (except for the additional fields).
  2027. # Assignments made here are overridden by entries in those files
  2028. # unless preceded with a SUFFIX_ORDER:PRECEDENCE_HERE.
  2029. #
  2030. .ex 29
  2031. #SUFFIX:.ps:application/postscript
  2032. #SUFFIX:.eps:application/postscript
  2033. #SUFFIX:.ai:application/postscript
  2034. #SUFFIX:.rtf:application/rtf
  2035. #SUFFIX:.snd:audio/basic
  2036. #SUFFIX:.gif:image/gif
  2037. #SUFFIX:.rgb:image/x-rgb
  2038. #SUFFIX:.png:image/png
  2039. #SUFFIX:.xbm:image/x-xbitmap
  2040. #SUFFIX:.tiff:image/tiff
  2041. #SUFFIX:.jpg:image/jpeg
  2042. #SUFFIX:.jpeg:image/jpeg
  2043. #SUFFIX:.mpg:video/mpeg
  2044. #SUFFIX:.mpeg:video/mpeg
  2045. #SUFFIX:.mov:video/quicktime
  2046. #SUFFIX:.hqx:application/mac-binhex40
  2047. #SUFFIX:.bin:application/octet-stream
  2048. #SUFFIX:.exe:application/octet-stream
  2049. #SUFFIX:.tar:application/x-tar
  2050. #SUFFIX:.tgz:application/x-tar:gzip
  2051. #SUFFIX:.Z::compress
  2052. #SUFFIX:.gz::gzip
  2053. #SUFFIX:.bz2:application/x-bzip2
  2054. #SUFFIX:.zip:application/zip
  2055. #SUFFIX:.lzh:application/x-lzh
  2056. #SUFFIX:.lha:application/x-lha
  2057. #SUFFIX:.dms:application/x-dms
  2058. #SUFFIX:.html:text/html
  2059. #SUFFIX:.txt:text/plain
  2060.  
  2061.  
  2062. .h2 XLOADIMAGE_COMMAND
  2063. # VMS:
  2064. # ====
  2065. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  2066. # for viewing image content types when the DECW$DISPLAY logical
  2067. # is set.  Make it the foreign command for your system's X image
  2068. # viewer (commonly, "xv").  It can be anything that will handle GIF,
  2069. # TIFF and other popular image formats.  Freeware ports of xv for
  2070. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  2071. # http://www.openvms.digital.com/cd/XV310A/ subdirectories.  You
  2072. # must also have a "%s" for the filename.  The default is defined
  2073. # in userdefs.h and can be overridden here, or via the global or
  2074. # personal mailcap files (see below).
  2075. #
  2076. # Make this empty (but no commented out) if you don't have such a
  2077. # viewer or don't want to disable the built-in default viewer
  2078. # mappings for image types.
  2079. #
  2080. #XLOADIMAGE_COMMAND:xv %s
  2081.  
  2082. # Unix:
  2083. # =====
  2084. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  2085. # viewing image content types when the DISPLAY environment variable
  2086. # is set.  Make it the full path and name of the xli (also know as
  2087. # xloadimage or xview) command, or other image viewer.  It can be
  2088. # anything that will handle GIF, TIFF and other popular image formats
  2089. # (xli does).  The freeware distribution of xli is available in the
  2090. # ftp://ftp.x.org/contrib subdirectory.  The shareware, xv, also is
  2091. # suitable.  You must also have a "%s" for the filename; "&" for
  2092. # background is optional.  The default is defined in userdefs.h and can be
  2093. # overridden here, or via the global or personal mailcap files (see below).
  2094. # Make this empty (but not commented out) if you don't have such a
  2095. # viewer or don't want to disable the built-in default viewer
  2096. # mappings for image types.
  2097. # Note that open is used as the default for NeXT, instead of the
  2098. # XLOADIMAGE_COMMAND definition.
  2099. # If you use xli, you may want to add the -quiet flag.
  2100. #
  2101. #XLOADIMAGE_COMMAND:xli %s &
  2102.  
  2103. .h2 VIEWER
  2104. # MIME types may be assigned to external viewers using
  2105. # the VIEWER definition.
  2106. #
  2107. # NOTE: if you do not define a viewer to a new MIME type
  2108. #       that you assigned above then it will be saved to
  2109. #       disk by default.
  2110. #       It is normally preferable to define new viewers in
  2111. #       MAILCAP files (see below) instead of here:  Definitions
  2112. #       here are overridden by those in MAILCAP files and even
  2113. #       by some built-in defaults in src/HTInit.c.
  2114. #
  2115. # The VIEWER definition takes the form of:
  2116. #    VIEWER:<mime type>:<viewer command>[:environment]
  2117. #      where -mime type is the MIME content type of the file
  2118. #         -viewer command is a system command that can be
  2119. #             used to display the file where %s is replaced
  2120. #             within the command with the physical filename
  2121. #             (e.g., "ghostview %s" becomes "ghostview /tmp/temppsfile")
  2122. #            -environment is optional.  The only valid keywords
  2123. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS
  2124. #             environment is specified then the viewer will only be
  2125. #             defined when the user has the environment variable DISPLAY
  2126. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  2127. #             is specified the specified viewer will only be defined when the
  2128. #             user DOES NOT have the environment variable DISPLAY defined.
  2129. #  examples:
  2130. #        VIEWER:image/gif:xli %s:XWINDOWS
  2131. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  2132. #               VIEWER:application/start-elm:elm
  2133. #
  2134. # You must put the whole definition on one line.
  2135. #
  2136. # If you must use a colon in the viewer command, precede it with a backslash!
  2137. #
  2138. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  2139. # file are among those established via src/HTInit.c.  For the image types,
  2140. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  2141. # (open is used for NeXT).  You can change any of these defaults via the
  2142. # global or personal mailcap files.  Assignments made here will be overridden
  2143. # by entries in those files.
  2144. #
  2145. .ex 7
  2146. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  2147. #VIEWER:image/gif:xli %s&:XWINDOWS
  2148. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  2149. #VIEWER:image/png:xli %s&:XWINDOWS
  2150. #VIEWER:image/tiff:xli %s&:XWINDOWS
  2151. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  2152. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  2153.  
  2154.  
  2155. .h2 GLOBAL_MAILCAP
  2156. .h2 PERSONAL_MAILCAP
  2157. # The global and personal MAILCAP files allow you to specify external
  2158. # viewers to be spawned when Lynx encounters different MIME types, which
  2159. # will override any of the suffix maps in this (lynx.cfg) configuration
  2160. # file, or in src/HTInit.c.  See http://www.internic.net/rfc/rfc1524.txt
  2161. # and the example mailcap file in the samples subdirectory.
  2162. #
  2163. # Unix:
  2164. # ====
  2165. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  2166. # VMS:
  2167. # ===
  2168. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  2169. #
  2170. #     Sought in user's home (Unix) or sys$login (VMS) directory.
  2171. #PERSONAL_MAILCAP:.mailcap
  2172.  
  2173.  
  2174. .h1 Keyboard Input
  2175.  
  2176. .h2 KEYBOARD_LAYOUT
  2177. # If your terminal (or terminal emulator, or operating system) does not
  2178. # support 8-bit input (at all or in easy way), you can use Lynx to
  2179. # generate 8-bit characters from 7-bit ones output by terminal.
  2180. #
  2181. # Currently available keyboard layouts:
  2182. #    ROT13'd keyboard layout
  2183. #    JCUKEN Cyrillic, for AT 101-key kbd
  2184. #    YAWERTY Cyrillic, for DEC LK201 kbd
  2185. #
  2186. # This feature is ifdef'd with EXP_KEYBOARD_LAYOUT.
  2187. #KEYBOARD_LAYOUT:JCUKEN Cyrillic, for AT 101-key kbd
  2188.  
  2189.  
  2190. .h2 KEYMAP
  2191. # Key remapping definitions!
  2192. #
  2193. # You may redefine the keymapping of any function in Lynx by
  2194. # using the KEYMAP option.  The basic form of KEYMAP is:
  2195. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  2196. # (See below for an extended format.)
  2197. #
  2198. # You must map upper and lowercase keys separately.
  2199. #
  2200. # A representative list of functions mapped to their default keys is
  2201. # provided below.  All of the mappings are commented out by default
  2202. # since they just repeat the default mappings, except for TOGGLE_HELP
  2203. # (see below).  See LYKeymap.c for the complete key mapping.  Use the
  2204. # 'K'eymap command when running Lynx for a list of the _current_ keymappings.
  2205. #
  2206. # (However, in contrast to the output of 'K' command,
  2207. # 'H'elp (lynx_help/*.html and lynx_help/keystrokes/*.html files) shows
  2208. # the default mapping unless you change that files manually,
  2209. # so you are responsible for possible deviations
  2210. # when you are changing any KEYMAP below).
  2211. .nf
  2212. #
  2213. # Keystrokes for special keys are represented by the following codes:
  2214. #         Up Arrow: 0x100
  2215. #       Down Arrow: 0x101
  2216. #      Right Arrow: 0x102
  2217. #       Left Arrow: 0x103
  2218. #        Page Down: 0x104
  2219. #          Page Up: 0x105
  2220. #      Keypad Home: 0x106 (see also 0x10A)
  2221. #       Keypad End: 0x107 (see also 0x10B)
  2222. #   Function key 1: 0x108
  2223. # vt100   Help Key: 0x108
  2224. # vt100     Do Key: 0x109
  2225. # vt100   Find Key: 0x10A (The key with label "Home" may be treated as Find)
  2226. # vt100 Select Key: 0x10B (The key with label "End" may be treated as Select)
  2227. #       Insert Key: 0x10C
  2228. # Remove (Del) Key: 0x10D
  2229. #      ignored key  0x10E (reserved for internal use, DO_NOTHING)
  2230. # Back (Shift) Tab: 0x10F
  2231. #    reserved code  0x11D (reserved for internal use with -use_mouse)
  2232. #    reserved code  0x290 (reserved for internal use with -use_mouse)
  2233. #
  2234. .fi
  2235. # Other codes not listed above may be available for additional keys,
  2236. # depending on operating system and libraries used to compile Lynx.
  2237. # On some systems, if compiled with recent versions of slang or ncurses
  2238. # (if macro USE_KEYMAPS was in effect during compilation), an additional
  2239. # level of key mapping is supported via an external ".lynx-keymaps" file.
  2240. # This file, if found in the home directory at startup, will always be
  2241. # used under those conditions; see lynx-keymaps distributed in the samples
  2242. # subdirectory for further explanation.  Note that mapping via
  2243. # .lynx-keymaps, if applicable, is a step that logically comes before the
  2244. # mappings done here: KEYMAP maps the result of that step (which still
  2245. # represents a key) to a function (which represents an action that Lynx
  2246. # should perform).
  2247. #
  2248. .nf
  2249. #KEYMAP:0x5C:SOURCE        # Toggle source viewing mode (show HTML source)
  2250. #KEYMAP:^R:RELOAD        # Reload the current document and redisplay
  2251. #KEYMAP:q:QUIT            # Ask the user to quit
  2252. #KEYMAP:Q:ABORT            # Quit without verification
  2253. #KEYMAP:0x20:NEXT_PAGE        # Move down to next page
  2254. #KEYMAP:-:PREV_PAGE        # Move up to previous page
  2255. #KEYMAP:^P:UP_TWO        # Move display up two lines
  2256. #KEYMAP:0x10C:UP_TWO        # Function key Insert - Move display up two lines
  2257. #KEYMAP:^N:DOWN_TWO        # Move display down two lines
  2258. #KEYMAP:0x10D:DOWN_TWO        # Function key Remove - Move display down two lines
  2259. #KEYMAP:(:UP_HALF        # Move display up half a page
  2260. #KEYMAP:):DOWN_HALF        # Move display down half a page
  2261. #KEYMAP:^W:REFRESH        # Refresh the screen
  2262. #KEYMAP:^A:HOME            # Go to top of current document
  2263. #KEYMAP:0x106:HOME        # Keypad Home - Go to top of current document
  2264. #KEYMAP:0x10A:HOME        # Function key Find - Go to top of current document
  2265. #KEYMAP:^E:END            # Go to bottom of current document
  2266. #KEYMAP:0x107:END        # Keypad End - Go to bottom of current document
  2267. #KEYMAP:0x10B:END        # Function key Select - Go to bottom of current document
  2268. #KEYMAP:0x100:PREV_LINK        # Move to the previous link or page
  2269. #KEYMAP:0x101:NEXT_LINK        # Move to the next link or page
  2270. #KEYMAP:0x10F:FASTBACKW_LINK     # Back Tab - Move to previous link or text area
  2271. #KEYMAP:^I:FASTFORW_LINK    # Tab key - Move always to next link or text area
  2272. #KEYMAP:^:FIRST_LINK        # Move to the first link on line
  2273. #KEYMAP:$:LAST_LINK        # Move to the last link on line
  2274. #KEYMAP:<:UP_LINK        # Move to the link above
  2275. #KEYMAP:>:DOWN_LINK        # Move to the link below
  2276. #KEYMAP:0x7F:HISTORY        # Show the history list
  2277. #KEYMAP:0x08:HISTORY        # Show the history list
  2278. #KEYMAP:0x103:PREV_DOC        # Return to the previous document in history stack
  2279. #KEYMAP:0x102:ACTIVATE        # Select the current link
  2280. #KEYMAP:0x109:ACTIVATE        # Function key Do - Select the current link
  2281. #KEYMAP:g:GOTO            # Goto a random URL
  2282. #KEYMAP:G:ECGOTO        # Edit the current document's URL and go to it
  2283. #KEYMAP:H:HELP            # Show default help screen
  2284. #KEYMAP:0x108:DWIMHELP        # Function key Help - Show a help screen
  2285. #KEYMAP:i:INDEX            # Show default index
  2286. #*** Edit FORM_LINK_* messages in LYMessages_en.h if you change NOCACHE ***
  2287. #KEYMAP:x:NOCACHE        # Force submission of form or link with no-cache
  2288. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  2289. #KEYMAP:z:INTERRUPT        # Interrupt network transmission
  2290. #KEYMAP:m:MAIN_MENU        # Return to the main menu
  2291. #KEYMAP:o:OPTIONS        # Show the options menu
  2292. #KEYMAP:i:INDEX_SEARCH        # Search a server based index
  2293. #KEYMAP:/:WHEREIS        # Find a string within the current document
  2294. #KEYMAP:n:NEXT            # Find next occurrence of string within document
  2295. #KEYMAP:c:COMMENT        # Comment to the author of the current document
  2296. #KEYMAP:e:EDIT            # Edit current document or form's textarea (call: ^Ve)
  2297. #KEYMAP:E:ELGOTO        # Edit the current link's URL or ACTION and go to it
  2298. #KEYMAP:=:INFO            # Show info about current document
  2299. #KEYMAP:p:PRINT            # Show print options
  2300. #KEYMAP:a:ADD_BOOKMARK        # Add current document to bookmark list
  2301. #KEYMAP:v:VIEW_BOOKMARK        # View the bookmark list
  2302. #KEYMAP:V:VLINKS        # List links visited during the current Lynx session
  2303. #KEYMAP:!:SHELL            # Spawn default shell
  2304. #KEYMAP:d:DOWNLOAD        # Download current link
  2305. #KEYMAP:j:JUMP            # Jump to a predefined target
  2306. #KEYMAP:k:KEYMAP        # Display the current key map
  2307. #KEYMAP:l:LIST            # List the references (links) in the current document
  2308. #KEYMAP:#:TOOLBAR        # Go to the Toolbar or Banner in the current document
  2309. #KEYMAP:^T:TRACE_TOGGLE        # Toggle detailed tracing for debugging
  2310. #KEYMAP:;:TRACE_LOG        # View trace log if available for the current session
  2311. #KEYMAP:*:IMAGE_TOGGLE        # Toggle inclusion of links for all images
  2312. #KEYMAP:[:INLINE_TOGGLE        # Toggle pseudo-ALTs for inlines with no ALT string
  2313. #KEYMAP:]:HEAD            # Send a HEAD request for current document or link
  2314. #*** Must be compiled with USE_EXTERNALS to enable EXTERN ***
  2315. #KEYMAP:.:EXTERN        # Run external program with url
  2316. #*** Escaping from text input fields with ^V is independent from this: ***
  2317. #KEYMAP:^V:SWITCH_DTD        # Toggle between SortaSGML and TagSoup HTML parsing
  2318. #KEYMAP:0x00:DO_NOTHING        # Does nothing (ignore this key)
  2319. #KEYMAP:0x10E:DO_NOTHING    # Does nothing (ignore this key)
  2320. #
  2321. .fi
  2322. # In addition to the bindings available by default, the following functions
  2323. # are not directly mapped to any keys by default, although some of them may
  2324. # be mapped in specific line-editor bindings (effective while in text input
  2325. # fields):
  2326. .nf
  2327. #
  2328. #KEYMAP:???:RIGHT_LINK        # Move to the link to the right
  2329. #KEYMAP:???:LEFT_LINK        # Move to the link to the left
  2330. #KEYMAP:???:LPOS_PREV_LINK    # Like PREV_LINK, last column pos if form input
  2331. #KEYMAP:???:LPOS_NEXT_LINK    # Like NEXT_LINK, last column pos if form input
  2332. #*** Only useful in form text fields , need PASS or prefixing with ^V: ***
  2333. #KEYMAP:???:DWIMHELP        # Display help page that may depend on context
  2334. #KEYMAP:???:DWIMEDIT        # Use external editor for context-dependent purpose
  2335. #*** Only useful in a form textarea, need PASS or prefixing with ^V: ***
  2336. #KEYMAP:???:EDITTEXTAREA    # use external editor to edit a form textarea
  2337. #KEYMAP:???:GROWTEXTAREA    # Add some blank lines to bottom of textarea
  2338. #KEYMAP:???:INSERTFILE        # Insert file into a textarea (just above cursor)
  2339. #*** Only useful with dired support and OK_INSTALL: ***
  2340. #KEYMAP:???:INSTALL        # install (i.e. copy) local files to new location
  2341. .fi
  2342. #
  2343. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  2344. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  2345. # LYMessages_en.h  Otherwise, it will be NOVICE_LINE_TWO.
  2346. #
  2347. #KEYMAP:O:TOGGLE_HELP        # Show other commands in the novice help menu
  2348. #
  2349. # KEYMAP lines can have one or two additional fields.  The extended format is
  2350. #  KEYMAP:<KEYSTROKE>:[<MAIN LYNX FUNCTION>]:<OTHER BINDING>[:<SELECT>]
  2351. #
  2352. # If the additional field OTHER BINDING specifies DIRED, then the function is
  2353. # mapped in the override table used only in DIRED mode.  This is only valid
  2354. # if lynx was compiled with dired support and OK_OVERRIDE defined.  A
  2355. # MAIN LYNX FUNCTION must be given (it should of course be one that makes
  2356. # sense in Dired mode), and SELECT is meaningless.  Default built-in override
  2357. # mappings are
  2358. #
  2359. #KEYMAP:^U:PREV_DOC:DIRED    # Return to the previous document
  2360. #KEYMAP:.:TAG_LINK:DIRED    # Tag a file or directory for later action
  2361. #KEYMAP:c:CREATE:DIRED        # Create a new file or directory
  2362. #KEYMAP:f:DIRED_MENU:DIRED    # Display a menu of file operations
  2363. #KEYMAP:m:MODIFY:DIRED        # Modify name or location of a file or directory
  2364. #KEYMAP:r:REMOVE:DIRED        # Remove files or directories
  2365. #KEYMAP:t:TAG_LINK:DIRED    # Tag a file or directory for later action
  2366. #KEYMAP:u:UPLOAD:DIRED        # Show menu of "Upload Options"
  2367. #
  2368. # If the OTHER BINDING field does not specify DIRED, then it is taken as a
  2369. # line-editor action.  It is possible to keep the MAIN LYNX FUNCTION field
  2370. # empty in that case, for changing only the line-editing behavior.
  2371. # If alternative line edit styles are compiled in, and modifying a key's
  2372. # line-editor binding on a per style basis is possible, then SELECT can be
  2373. # used to specify which styles are affected.  By default, or if SELECT is
  2374. # 0, all line edit styles are affected.  If SELECT is a positive integer
  2375. # number, only the binding for the numbered style is changed (numbering
  2376. # is in the order in which styles are shown in the Options Menu, starting
  2377. # with 1 for the Default style).  If SELECT is negative (-n), all styles
  2378. # except n are affected.
  2379. .nf
  2380. #
  2381. #  NOP        # Do Nothing
  2382. #  ABORT    # Input cancelled
  2383. #
  2384. #  BOL        # Go to begin of line
  2385. #  EOL        # Go to end   of line
  2386. #  FORW        # Cursor forwards
  2387. #  BACK        # Cursor backwards
  2388. #  FORWW    # Word forward
  2389. #  BACKW    # Word back
  2390. #
  2391. #  DELN        # Delete next/curr char
  2392. #  DELP        # Delete prev      char
  2393. #  DELNW    # Delete next word
  2394. #  DELPW    # Delete prev word
  2395. #  DELBL    # Delete back to BOL
  2396. #  DELEL    # Delete thru EOL
  2397. #  ERASE    # Erase the line
  2398. #  LOWER    # Lower case the line
  2399. #  UPPER    # Upper case the line
  2400. #
  2401. #  LKCMD    # In fields: Invoke key command prompt (default for ^V)
  2402. #  PASS        # In fields: handle as non-lineedit key; in prompts: ignore
  2403. #
  2404. .fi
  2405. # Modify following key (prefixing only works within line-editing, edit actions
  2406. # of some resulting prefixed keys are built-in, see Line Editor help pages)
  2407. #  SETM1    # Set modifier 1 flag (default for ^X - key prefix)
  2408. #  SETM2    # Set modifier 2 flag (another key prefix - same effect)
  2409. #
  2410. # May not always be compiled in:
  2411. .nf
  2412. #
  2413. #  TPOS        # Transpose characters
  2414. #  SETMARK    # emacs-like set-mark-command
  2415. #  XPMARK    # emacs-like exchange-point-and-mark
  2416. #  KILLREG    # emacs-like kill-region
  2417. #  YANK        # emacs-like yank
  2418. #  SWMAP    # Switch input keymap
  2419. #  PASTE    # ClipBoard to Lynx - Windows Extension
  2420. #
  2421. .fi
  2422. # May work differently from expected if not bound to their expected keys:
  2423. .nf
  2424. #
  2425. #  CHAR        # Insert printable char (default for all ASCII printable)
  2426. #  ENTER    # Input complete, return char/lynxkeycode (for RETURN/ENTER)
  2427. #  TAB        # Input complete, return TAB (for ASCII TAB char ^I)
  2428. #
  2429. .fi
  2430. # Internal use, probably not useful for binding, listed for completeness:
  2431. .nf
  2432. #
  2433. #  UNMOD    # Fall back to no-modifier command
  2434. #  AIX        # Hex 97
  2435. #  C1CHAR    # Insert C1 char if printable
  2436. #
  2437. .fi
  2438. # If OTHER BINDING specifies PASS, then if the key is pressed in a text input
  2439. # field it is passed by the built-in line-editor to normal KEYMAP handling,
  2440. # i.e. this flag acts like an implied ^V escape (always overrides line-editor
  2441. # behavior of the key).  For example,
  2442. #KEYMAP:0x10C:UP_TWO:PASS # Function key Insert - Move display up two lines
  2443. #
  2444. # Other examples (repeating built-in bindings)
  2445. #KEYMAP:^V::LKCMD    # set (only) line-edit action for ^V
  2446. #KEYMAP:^V:SWITCH_DTD:LKCMD # set main lynxaction and line-edit action for ^V
  2447. #KEYMAP:^U::ERASE:1    # set line-edit binding for ^U, for default style
  2448. #KEYMAP:^[::SETM2:3    # use escape key as modifier - works only sometimes
  2449.  
  2450.  
  2451. .h2 JUMPFILE
  2452. # Alternate jumps files can be defined and mapped to keys here.  If the
  2453. # keys have already been mapped, then those mappings will be replaced,
  2454. # but you should leave at least one key mapped to the default jumps
  2455. # file.  You optionally may include a statusline prompt string for the
  2456. # mapping.  You must map upper and lowercase keys separately (beware of
  2457. # mappings to keys which the user can further remap via the 'o'ptions
  2458. # menu).  The format is:
  2459. #
  2460. #    JUMPFILE:path:key[:prompt]
  2461. #
  2462. # where path should begin with a '/' (i.e., not include file://localhost).
  2463. # Any white space following a prompt string will be trimmed, and a single
  2464. # space will be added by Lynx.
  2465. .ex
  2466. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  2467.  
  2468.  
  2469. .h1 External Programs
  2470. # These settings control the ability of Lynx to invoke various programs for
  2471. # the user.
  2472.  
  2473. .h2 CSWING_PATH
  2474. # VMS ONLY:
  2475. #==========
  2476. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  2477. # use as the Directory/File Manager (sources, objects, or executables are
  2478. # available from ftp://narnia.memst.edu/).  CSWING_PATH should be defined
  2479. # here or in userdefs.h to your foreign command for CSwing, with any
  2480. # regulatory switches you want included.  If not defined, or defined as
  2481. # a zero-length string ("") or "none" (case-insensitive), the support
  2482. # will be disabled.  It will also be disabled if the -nobrowse or
  2483. # -selective switches are used, or if the file_url restriction is set.
  2484. #
  2485. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  2486. # CSwing, normally with the current default directory as an argument to
  2487. # position the user on that node of the directory tree.  However, if the
  2488. # current document is a local directory listing, or a local file and not
  2489. # one of the temporary menu or list files, the associated directory will
  2490. # be passed as an argument, to position the user on that node of the tree.
  2491. #
  2492. #CSWING_PATH:swing
  2493.  
  2494.  
  2495. .h1 Internal Behavior
  2496.  
  2497. .h2 AUTO_UNCACHE_DIRLISTS
  2498. # AUTO_UNCACHE_DIRLISTS determines when local file directory listings are
  2499. # automatically regenerated (by re-reading the actual directory from disk). 
  2500. # Set the value to 0 to avoid automatic regeneration in most cases.  This is
  2501. # useful for browsing large directories that take some time to read and format. 
  2502. # An update can still always be forced with the RELOAD key, and specific DIRED
  2503. # actions may cause a refresh anyway.  Set the value to 1 to force regeneration
  2504. # after commands that usually change the directory or some files and would make
  2505. # the displayed info stale, like EDIT and REMOVE.  Set it to 2 (the default) or
  2506. # greater to force regeneration even after leaving the displayed directory
  2507. # listing by some action that usually causes no change, like GOTO or entering a
  2508. # file with the ACTIVATE key.  This option is only honored in DIRED mode (i.e. 
  2509. # when lynx is compiled with DIRED_SUPPORT and it is not disabled with a
  2510. # -restriction).  Local directories displayed without DIRED normally act as if
  2511. # AUTO_UNCACHE_DIRLISTS:0 was in effect.
  2512. #
  2513. #AUTO_UNCACHE_DIRLISTS:2
  2514.  
  2515.  
  2516. .h1 Appearance
  2517.  
  2518. .h2 LIST_FORMAT
  2519. # Unix ONLY:
  2520. #===========
  2521. # LIST_FORMAT defines the display for local files when Lynx has been
  2522. # compiled with LONG_LIST defined in the Makefile.  The default is set
  2523. # in userdefs.h, normally to "ls -l" format, and can be changed here
  2524. # by uncommenting the indicated lines, or adding a definition with a
  2525. # modified parameter list.
  2526. #
  2527. # The percent items in the list are interpreted as follows:
  2528. .nf
  2529. #
  2530. #    %p    Unix-style permission bits
  2531. #    %l    link count
  2532. #    %o    owner of file
  2533. #    %g    group of file
  2534. #    %d    date of last modification
  2535. #    %a    anchor pointing to file or directory
  2536. #    %A    as above but don't show symbolic links
  2537. #    %t    type of file (description derived from MIME type)
  2538. #    %T    MIME type as known by Lynx (from mime.types or default)
  2539. #    %k    size of file in Kilobytes
  2540. #    %K    as above but omit size for directories
  2541. #    %s    size of file in bytes
  2542. #
  2543. .fi
  2544. # Anything between the percent and the letter is passed on to sprintf.
  2545. # A double percent yields a literal percent on output.  Other characters
  2546. # are passed through literally.
  2547. #
  2548. # If you want only the filename:
  2549. #
  2550. .ex
  2551. #LIST_FORMAT:    %a
  2552. #
  2553. # If you want a brief output:
  2554. #
  2555. .ex
  2556. #LIST_FORMAT:   %4K %-12.12d %a
  2557. #
  2558. # If you want the Unix "ls -l" format:
  2559. #
  2560. .ex
  2561. #LIST_FORMAT:    %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  2562.  
  2563.  
  2564. .h1 External Programs
  2565.  
  2566. .h2 DIRED_MENU
  2567. # Unix ONLY:
  2568. #===========
  2569. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  2570. # The behavior of the default configuration given here is much the same
  2571. # as it was when this menu was hard-coded but these items can now be adjusted
  2572. # to suit local needs.  In particular, many of the LYNXDIRED actions can be
  2573. # replaced with lynxexec, lynxprog and lynxcgi script references.
  2574. #
  2575. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  2576. # definitions, so a complete set must then be defined here.
  2577. #
  2578. # Each line consists of the following fields:
  2579. .nf
  2580. #
  2581. #    DIRED_MENU:type:suffix:link text:extra text:action
  2582. #
  2583. #    type: TAG:   list only when one or more files are tagged
  2584. #          FILE:  list only when the current selection is a regular file
  2585. #          DIR:   list only when the current selection is a directory
  2586. #          LINK:  list only when the current selection is a symbolic link
  2587. #
  2588. #    suffix:  list only if the current selection ends in this pattern
  2589. #
  2590. #    link text:  the displayed text of the link
  2591. #
  2592. #    extra text:  the text displayed following the link
  2593. #
  2594. #    action:  the URL to be followed upon selection
  2595. #
  2596. #    link text and action are scanned for % sequences that are expanded
  2597. #    at display time as follows:
  2598. #
  2599. #        %p  path of current selection
  2600. #        %f  filename (last component) of current selection
  2601. #        %t  tagged list (full paths)
  2602. #        %l  list of tagged file names
  2603. #        %d  the current directory
  2604. #
  2605. .fi
  2606. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  2607. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  2608.  
  2609. # Following depends on OK_INSTALL
  2610. #DIRED_MENU:FILE::Install:selected file to new location:LYNXDIRED://INSTALL_SRC%p
  2611. #DIRED_MENU:DIR::Install:selected directory to new location:LYNXDIRED://INSTALL_SRC%p
  2612.  
  2613. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2614. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2615. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  2616.  
  2617. # Following depends on OK_PERMIT
  2618. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2619. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2620.  
  2621. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  2622. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  2623. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  2624. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2625. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2626. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2627.  
  2628. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  2629. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  2630.  
  2631. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2632. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  2633.  
  2634. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  2635. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2636. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2637.  
  2638. # Following depends on !ARCHIVE_ONLY
  2639. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  2640.  
  2641. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  2642. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  2643.  
  2644. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  2645. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  2646.  
  2647. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2648. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  2649.  
  2650. # Following depends on OK_TAR
  2651. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  2652.  
  2653. # Following depends on OK_TAR and OK_GZIP
  2654. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  2655.  
  2656. # Following depends on OK_ZIP
  2657. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  2658.  
  2659. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  2660.  
  2661. # Following depends on OK_GZIP
  2662. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  2663.  
  2664. # Following depends on OK_ZIP
  2665. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  2666.  
  2667. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  2668.  
  2669. # Following depends on OK_INSTALL
  2670. #DIRED_MENU:TAG::Install tagged files into another directory.::LYNXDIRED://INSTALL_SRC%00
  2671.  
  2672. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  2673. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  2674.  
  2675.  
  2676. .h1 Internal Behavior
  2677.  
  2678. .h2 NONRESTARTING_SIGWINCH
  2679. # Some systems only:
  2680. #===================
  2681. # Lynx tries to detect window size changes with a signal handler for
  2682. # SIGWINCH if supported.  If NONRESTARTING_SIGWINCH is set to TRUE,
  2683. # and the sigaction interface is available on the system, the handler
  2684. # is installed as 'non-restarting'.  On some systems (depending on the
  2685. # library used for handling keyboard input, e.g. ncurses), this allows
  2686. # more immediate notification of window size change events.  If the value
  2687. # is set to FALSE, the signal() interface is used; this normally makes
  2688. # the handler 'restarting', with the effect that lynx can react to size
  2689. # changes only after some key is pressed.  The value can also be set to
  2690. # XWINDOWS; this is equivalent to TRUE when the user has the environment
  2691. # variable DISPLAY defined *at program start*, and equivalent to FALSE
  2692. # otherwise.  The non-restarting behavior can also be changed to TRUE
  2693. # or FALSE with the -nonrestarting_sigwinch switch, which overrides the
  2694. # value in this file.
  2695. #
  2696. # Note that Lynx never re-parses document text purely as a result of a
  2697. # window size change, so text lines may appear truncated after narrowing
  2698. # the window, until the document is reloaded with ^R or a similar key
  2699. # or until a different text is loaded.
  2700. #
  2701. # The default is FALSE since there is a possibility that non-restarting
  2702. # interrupts may be mis-interpreted as fatal input errors in some
  2703. # configurations (leading to an abrupt program exit), and since this
  2704. # option is useful mostly only for users running Lynx under xterm or a
  2705. # similar X terminal emulator.  On systems where the preconditions don't
  2706. # apply this option is ignored.
  2707. #
  2708. #NONRESTARTING_SIGWINCH:FALSE
  2709.  
  2710.  
  2711. .h2 NO_FORCED_CORE_DUMP
  2712. # Unix ONLY:
  2713. #===========
  2714. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  2715. # core dumps via abort() calls on fatal errors or assert()
  2716. # calls to check potentially fatal errors.  The compilation
  2717. # default normally is FALSE, and can be changed here.  The
  2718. # compilation or configuration default can be toggled via
  2719. # the -core command line switch.
  2720. # Note that this setting cannot be used to prevent core dumps
  2721. # with certainty.  If this is important, means provided by the
  2722. # operating system or kernel should be used.
  2723. #
  2724. #NO_FORCED_CORE_DUMP:FALSE
  2725.  
  2726.  
  2727. .h1 Appearance
  2728.  
  2729. .h2 COLOR
  2730. # COLORS (only available if compiled with SVr4 curses or slang)
  2731. #
  2732. # The line must be of the form:
  2733. #
  2734. # COLOR:Integer:Foreground:Background
  2735. .nf
  2736. #
  2737. # The Integer value is interpreted as follows:
  2738. #   0 - normal                      - normal text
  2739. #   1 - bold                        - hyperlinks, see also BOLD_* options above
  2740. #   2 - reverse                     - statusline
  2741. #   3 - bold + reverse              (not used)
  2742. #   4 - underline                   - text emphasis (EM, I, B tags etc.)
  2743. #   5 - bold + underline            - hyperlinks within text emphasis
  2744. #   6 - reverse + underline         - currently selected hyperlink
  2745. #   7 - reverse + underline + bold  - WHEREIS search hits
  2746. #
  2747. # Each Foreground and Background value must be one of:
  2748. #   black         red            green         brown
  2749. #   blue          magenta        cyan          lightgray
  2750. #   gray          brightred      brightgreen   yellow
  2751. #   brightblue    brightmagenta  brightcyan    white
  2752. #
  2753. .fi
  2754. # or (if you have configured using --enable-default-colors with ncurses or
  2755. # slang), "default" may be used for foreground and background.
  2756. #
  2757. # Uncomment and change any of the compilation defaults.
  2758. #
  2759. #COLOR:0:black:white
  2760. #COLOR:1:blue:white
  2761. #COLOR:2:yellow:blue
  2762. #COLOR:3:green:white
  2763. #COLOR:4:magenta:white
  2764. #COLOR:5:blue:white
  2765. #COLOR:6:red:white
  2766. #COLOR:7:magenta:cyan
  2767.  
  2768.  
  2769. .h2 ASSUMED_COLOR
  2770. # If built with a library that recognizes default colors, initializes it
  2771. # to assume the corresponding foreground and background colors.  Default
  2772. # colors are those that the terminal (emulator) itself is initialized to.
  2773. # For instance, you might have an xterm running with black text on a white
  2774. # background, and want lynx to display colored text on the white background,
  2775. # but leave the possibility of using the same configuration to draw colored
  2776. # text on a different xterm, this time using its background set to black.
  2777. #
  2778. # The first value given is the foreground, the second is the background.
  2779. #ASSUMED_COLOR:default:default
  2780.  
  2781.  
  2782. .h1 External Programs
  2783.  
  2784. .h2 EXTERNAL
  2785. # External application support.  This feature allows Lynx to pass a given
  2786. # URL to an external program.  It was written for three reasons.
  2787. #
  2788. # 1) To overcome the deficiency    of Lynx_386 not supporting ftp and news.
  2789. #    External programs can be used instead by passing the URL.
  2790. #
  2791. # 2) To allow for background    transfers in multitasking systems.
  2792. #    I use wget for http and ftp transfers via the external command.
  2793. #
  2794. # 3) To allow for new URLs to be used through Lynx.
  2795. #      URLs can be made up such as mymail: to spawn desired applications
  2796. #      via the external command.
  2797. #
  2798. # Restrictions can be imposed using -restrictions=externals at the Lynx
  2799. # command line.  This will disallow all EXTERNAL lines in lynx.cfg that
  2800. # end in FALSE.  TRUE lines will still function.
  2801. #
  2802. # The lynx.cfg line is as follows:
  2803. #
  2804. # EXTERNAL:<url>:<command> %s:<norestriction>
  2805. #
  2806. # <url> Any given URL.  This can be normal ones like ftp or http or it
  2807. # can be one made up like mymail.
  2808. #
  2809. # <command> The command to run with %s being the URL that will be passed.
  2810. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  2811. # downloading http and ftp files in the background.  In Win95 I use
  2812. # "start ncftp %s" to spawn ncftp in a new window.
  2813. #
  2814. # <norestriction> This complements the -restrictions=externals feature to allow
  2815. # for certain externals to be enabled while restricting others.  TRUE means
  2816. # a command will still function while Lynx is restricted.  WB
  2817. #
  2818. # For invoking the command use the EXTERN key.  By default it is mapped
  2819. # to '.' (if the feature is enabled), see the KEYMAP section above.
  2820. #
  2821. #EXTERNAL:ftp:wget %s &:TRUE
  2822.  
  2823.  
  2824. .h1 Internal Behavior
  2825.  
  2826. .h2 RULE
  2827. .h2 RULESFILE
  2828. # CERN-style rules, EXPERIMENTAL  -  URL-specific rules
  2829. #
  2830. # A CERN-style rules file can be given with RULESFILE.  Use the system's
  2831. # native format for filenames, on Unix '~' is also recognized.  If a filename
  2832. # is given, the file must exist.
  2833. #
  2834. # Single CERN-style rules can be specified with RULES.
  2835. #
  2836. # Both options can be repeated, rules accumulate in the order
  2837. # given, they will be applied in first-to-last order.  See cernrules.txt
  2838. # in the samples subdirectory for further explanation.
  2839. #
  2840. # Examples:
  2841. .ex 5
  2842. #    RULESFILE:/etc/lynx/cernrules
  2843. #    RULE:Fail    gopher:*             # reject by scheme
  2844. #    RULE:Pass    finger://*@localhost/         # allow this,
  2845. #    RULE:Fail    finger:*             # but not others
  2846. #    RULE:Redirect    http://old.server/*    http://new.server/*
  2847.  
  2848.  
  2849. .h1 Appearance
  2850.  
  2851. .h2 PRETTYSRC
  2852. # Enable pretty source view
  2853. #PRETTYSRC:FALSE
  2854.  
  2855. .h2 PRETTYSRC_SPEC
  2856. # Pretty source view settings. These settings are in effect when -prettysrc
  2857. # is specified.
  2858. # The following lexical elements (lexemes) are recognized:
  2859. # comment, tag, attribute, attribute value, generalized angle brackets (
  2860. # '<' '>' '</' ), entity, hyperlink destination, entire file, bad sequence,
  2861. # bad tag, bad attribute, sgml special.
  2862. #  The following group of option tells which styles will surround each
  2863. # lexeme. The syntax of option in this group is:
  2864. #PRETTYSRC_SPEC:<LEXEMENAME>:<TAGSPEC>:<TAGSPEC>
  2865. # The first <TAGSPEC> specifies what tags will precede lexemes of that class
  2866. # in the internal html markup. The second - what will be placed (internally)
  2867. # after it.
  2868. # TAGSPEC has the following syntax:
  2869. # <TAGSPEC>:= [ (<TAGOPEN> | <TAGCLOSE>) <SPACE>+ ]*
  2870. # <TAGOPEN>:= tagname[.classname]
  2871. # <TAGCLOSE>:= !tagname
  2872. #
  2873. # The following table gives correspondence between lexeme and lexeme name
  2874. .nf
  2875. # Lexeme                   LEXEMENAME  FURTHER EXPLANATION
  2876. # =========================================================
  2877. # comment                  COMM
  2878. # tag                      TAG         recognized tag name only
  2879. # attribute                ATTRIB
  2880. # attribute value          ATTRVAL
  2881. # generalized brackets     ABRACKET    <  >  </
  2882. # entity                   ENTITY
  2883. # hyperlink destination    HREF
  2884. # entire file              ENTIRE
  2885. # bad sequence             BADSEQ      bad entity or invalid construct at text
  2886. #                                      level.
  2887. # bad tag                  BADTAG      Unrecognized construct in generalized
  2888. #                                      brackets.
  2889. # bad attribute            BADATTR     The name of the attribute unknown to lynx
  2890. #                                      of the tag known to lynx. (i.e.,
  2891. #                                      attributes of unknown tags will have
  2892. #                                      markup of  ATTRIB)
  2893. # sgml special             SGMLSPECIAL doctype, sgmlelt, sgmlele,
  2894. #                                      sgmlattlist, marked section, identifier
  2895. .fi
  2896. #
  2897. # Notes:
  2898. #
  2899. # 1) The markup for HTML_ENTIRE will be emitted only once - it will surround
  2900. #    entire file source.
  2901. #
  2902. # 2) The tagnames specified by TAGSPEC should be valid html tag names.
  2903. #
  2904. # 3) If the tag/class combination given by TAGOPEN is not assigned a color
  2905. #    style in lss file (for lynx compiled with lss support), that tag/class
  2906. #    combination will be emitted anyway during internal html markup. Such
  2907. #    combinations will be also reported to the trace log.
  2908. #
  2909. # 4) Lexeme 'tag' means tag name only
  2910. #
  2911. # 5) Angle brackets of html specials won't be surrounded by markup for ABRACKET
  2912. #
  2913. .ex
  2914. # PRETTYSRC_SPEC:COMM:B I:!I !B
  2915. #           HTML comments will be surrounded by <b><i> and </i></b> in the
  2916. #           internal html markup
  2917. .ex
  2918. # PRETTYSRC_SPEC:ATTRVAL: span.attrval : !span
  2919. #           Values of the attributes will be surrounded by the
  2920. #           <SPAN class=attrval> </SPAN>
  2921. .ex
  2922. # PRETTYSRC_SPEC:HREF::
  2923. #           No special html markup will surround hyperlink destinations (
  2924. #           this means that only default color style for hrefs will be applied
  2925. #           to them)
  2926. #
  2927. # For lynx compiled with lss support, the following settings are the default:
  2928. #PRETTYSRC_SPEC:COMM:span.htmlsrc_comment:!span
  2929. #PRETTYSRC_SPEC:TAG:span.htmlsrc_tag:!span
  2930. #PRETTYSRC_SPEC:ATTRIB:span.htmlsrc_attrib:!span
  2931. #PRETTYSRC_SPEC:ATTRVAL:span.htmlsrc_attrval:!span
  2932. #PRETTYSRC_SPEC:ABRACKET:span.htmlsrc_abracket:!span
  2933. #PRETTYSRC_SPEC:ENTITY:span.htmlsrc_entity:!span
  2934. #PRETTYSRC_SPEC:HREF:span.htmlsrc_href:!span
  2935. #PRETTYSRC_SPEC:ENTIRE:span.htmlsrc_entire:!span
  2936. #PRETTYSRC_SPEC:BADSEQ:span.htmlsrc_badseq:!span
  2937. #PRETTYSRC_SPEC:BADTAG:span.htmlsrc_badtag:!span
  2938. #PRETTYSRC_SPEC:BADATTR:span.htmlsrc_badattr:!span
  2939. #PRETTYSRC_SPEC:SGMLSPECIAL:span.htmlsrc_sgmlspecial:!span
  2940. # the styles corresponding to them are present in sample .lss file.
  2941. # For lynx compiled without lss support, the following settings are the default:
  2942. #PRETTYSRC_SPEC:COMM:b:!b
  2943. #PRETTYSRC_SPEC:TAG:b:!b
  2944. #PRETTYSRC_SPEC:ATTRIB:b:!b
  2945. #PRETTYSRC_SPEC:ATTRVAL::
  2946. #PRETTYSRC_SPEC:ABRACKET:b:!b
  2947. #PRETTYSRC_SPEC:ENTITY:b:!b
  2948. #PRETTYSRC_SPEC:HREF::
  2949. #PRETTYSRC_SPEC:ENTIRE::
  2950. #PRETTYSRC_SPEC:BADSEQ:b:!b
  2951. #PRETTYSRC_SPEC:BADTAG::
  2952. #PRETTYSRC_SPEC:BADATTR::
  2953. #PRETTYSRC_SPEC:SGMLSPECIAL:b:!b
  2954.  
  2955.  
  2956. .h2 HTMLSRC_ATTRNAME_XFORM
  2957. .h2 HTMLSRC_TAGNAME_XFORM
  2958. # Options HTMLSRC_TAGNAME_XFORM and HTMLSRC_ATTRNAME_XFORM control the way the
  2959. # names of tags and names of attributes are transformed correspondingly.
  2960. # Possible values: 0 - lowercase, 1 - leave as is, 2 - uppercase.
  2961. #HTMLSRC_TAGNAME_XFORM:2
  2962. #HTMLSRC_ATTRNAME_XFORM:2
  2963.  
  2964.  
  2965. .h2 PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING
  2966. # PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING - pretty source view setting
  2967. # If "keypad mode" in 'O'ptions screen is "Links are numbered" or
  2968. # "Links and form fields are numbered", and PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING is
  2969. # TRUE, then links won't be numbered in psrc view and will be numbered
  2970. # otherwise. Set this setting to TRUE if you prefer numbered links, but wish
  2971. # to get valid HTML source when printing or mailing when in psrc view.
  2972. # Default is FALSE.
  2973. #PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:FALSE
  2974.  
  2975.  
  2976. .h1 HTML Parsing
  2977.  
  2978. .h2 FORCE_EMPTY_HREFLESS_A
  2979. # FORCE_EMPTY_HREFLESS_A - HTML parsing
  2980. # This option mirrors command-line option with the same name.  Default is
  2981. # FALSE.  If true, then any 'A' element without HREF will be closed
  2982. # immediately.  This is useful when viewing documentation produced by broken
  2983. # translator that doesn't emit balanced A elements.  If lynx was compiled with
  2984. # color styles, setting this option to TRUE will make lynx screen much more
  2985. # reasonable (otherwise all text will probably have color corresponding to the
  2986. # A element).
  2987. #
  2988. #FORCE_EMPTY_HREFLESS_A:FALSE
  2989.  
  2990.  
  2991. .h1 Appearance
  2992.  
  2993. .h2 JUSTIFY
  2994. # JUSTIFY - Appearance
  2995. # This option mirrors command-line option with same name.  Default is TRUE.  If
  2996. # true, most of text (except headers and like this) will be justified.  This
  2997. # has no influence on CJK text rendering.
  2998. #
  2999. # This option is only available if Lynx was compiled with EXP_JUSTIFY_ELTS.
  3000. #
  3001. #JUSTIFY:TRUE
  3002.  
  3003. .h2 JUSTIFY_MAX_VOID_PERCENT 
  3004. # JUSTIFY_MAX_VOID_PERCENT - Appearance
  3005. # This option controls the maximum allowed value for ratio (in percents) of
  3006. # 'the number of spaces to spread across the line to justify it' to
  3007. # 'max line size for current style and nesting' when justification is allowed.
  3008. # When that ratio exceeds the value specified, that particular line won't be
  3009. # justified. I.e. the value 28 for this setting will mean maximum value for
  3010. # that ratio is 0.28.
  3011. #
  3012. #JUSTIFY_MAX_VOID_PERCENT:35
  3013.  
  3014.  
  3015. .h1 Interaction
  3016.  
  3017. .h2 TEXTFIELDS_NEED_ACTIVATION
  3018. # If TEXTFIELDS_NEED_ACTIVATION is set to TRUE, and lynx was compiled with
  3019. # TEXTFIELDS_MAY_NEED_ACTIVATION defined, then text input form fields need
  3020. # to be activated (by pressing the Enter key or similar) before the user
  3021. # can enter or modify input.  By default, input fields become automatically
  3022. # activated when selected.  Requiring explicit activation can be desired for
  3023. # users who use alphanumeric keys for navigation (or other keys that have
  3024. # special meaning in the line editor - ' ', 'b', INS, DEL, etc), and don't
  3025. # want to 'get stuck' in form fields.  Instead of setting the option here,
  3026. # explicit activation can also be requested with the -tna command line
  3027. # option.
  3028. #
  3029. #TEXTFIELDS_NEED_ACTIVATION:FALSE
  3030.  
  3031. .h2 LEFTARROW_IN_TEXTFIELD_PROMPT
  3032. # LEFTARROW_IN_TEXTFIELD_PROMPT
  3033. # This option controls what happens when a Left Arrow key is pressed while
  3034. # in the first position of an active text input field.  By default, Lynx
  3035. # asks for confirmation ("Do you want to go back to the previous document?")
  3036. # only if the contents of the fields have been changed since entering it.
  3037. # If set to TRUE, the confirmation prompt is always issued.
  3038. #
  3039. #LEFTARROW_IN_TEXTFIELD_PROMPT:FALSE
  3040.  
  3041.  
  3042. .h1 Timeouts
  3043.  
  3044. .h2 CONNECT_TIMEOUT
  3045. # Specifies (in seconds) connect timeout. Not available under DOS (use
  3046. # sockdelay parameter of wattcp). Default value is rather huge.
  3047. #CONNECT_TIMEOUT:18000
  3048.  
  3049.  
  3050. .h1 Internal Behavior
  3051. # These settings control internal lynx behavior - the way it interacts with the
  3052. # operating system and Internet.  Modifying these settings will not change
  3053. # the rendition of documents that you browse with lynx, but can change various
  3054. # delays and resource utilization.
  3055.  
  3056. .h2 FTP_PASSIVE
  3057. # Set FTP_PASSIVE to TRUE if you want to use passive mode ftp transfers.
  3058. # You might have to do this if you're behind a restrictive firewall.
  3059. #FTP_PASSIVE:FALSE
  3060.