Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3791 lines
157 KiB

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