home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / lynx272o.zip / lynx.cfg < prev    next >
Text File  |  1998-01-27  |  76KB  |  1,643 lines

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