Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

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