PageRenderTime 68ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 1ms

/lynx-cur/lynx.cfg

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