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