1
## This is ELinks configuration file. You can edit it manually,
2
## if you wish so; this file is edited by ELinks when you save
3
## options through UI, however only option values will be altered
4
## and missing options will be added at the end of file; if option
5
## is not written in this file, but in some file included from it,
6
## it is NOT counted as missing.
8
## $Id: elinks.conf 29 2003-01-30 00:14:56Z grin $
11
#####################################
12
# Automatically saved options
17
## connection.async_dns [0|1]
18
# Use asynchronous DNS resolver?
19
set connection.async_dns = 1
21
## connection.max_connections <num>
22
# Maximum number of concurrent connections.
23
set connection.max_connections = 10
25
## connection.max_connections_to_host <num>
26
# Maximum number of concurrent connection to a given host.
27
set connection.max_connections_to_host = 5
29
## connection.retries <num>
30
# Number of tries to establish a connection.
31
set connection.retries = 3
33
## connection.receive_timeout <num>
34
# Timeout on receive (in seconds).
35
set connection.receive_timeout = 120
37
## connection.unrestartable_receive_timeout <num>
38
# Timeout on non restartable connections (in seconds).
39
set connection.unrestartable_receive_timeout = 600
43
## cookies.accept_policy <num>
44
# Mode of accepting cookies:
45
# 0 is accept no cookies
46
# 1 is ask for confirmation before accepting cookie (UNIMPLEMENTED)
47
# 2 is accept all cookies
48
set cookies.accept_policy = 2
50
## cookies.paranoid_security [0|1]
51
# When enabled, we'll require three dots in cookies domain for all
52
# non-international domains (instead of just two dots). Please see
53
# code (cookies.c:check_domain_security()) for further description.
54
set cookies.paranoid_security = 0
57
# Load/save cookies from/to disk?
60
## cookies.resave [0|1]
61
# Save cookies after each change in cookies list? No effect when
62
# cookies_save is off.
63
set cookies.resave = 1
68
# Document browsing options (mainly interactivity).
69
## document.browse.accesskey
70
# Options for handling accesskey attribute.
71
## document.browse.accesskey.auto_follow [0|1]
72
# Automatically follow link / submit form if appropriate accesskey
73
# is pressed - this is standard behaviour, however dangerous.
74
set document.browse.accesskey.auto_follow = 0
76
## document.browse.accesskey.priority <num>
77
# Priority of 'accesskey' HTML attribute:
78
# 0 is first try all normal bindings and if it fails, check accesskey
79
# 1 is first try only frame bindings and if it fails, check accesskey
80
# 2 is first check accesskey (that can be dangerous)
81
set document.browse.accesskey.priority = 1
83
## document.browse.forms
84
# Options for handling forms interaction.
85
## document.browse.forms.auto_submit [0|1]
86
# Automagically submit a form when enter pressed on text field.
87
set document.browse.forms.auto_submit = 1
89
## document.browse.forms.confirm_submit [0|1]
90
# Ask for confirmation when submitting a form.
91
set document.browse.forms.confirm_submit = 1
93
## document.browse.images
94
# Options for handling of images.
95
## document.browse.images.file_tags <num>
96
# Display [target filename] instead of [IMG] as visible image tags:
97
# -1 means always display just [IMG]
98
# 0 means always display full target filename
99
# 1-500 means display target filename of this maximal length;
100
# if filename is longer, middle part of it
101
# is stripped and substituted by an asterisk
102
set document.browse.images.file_tags = -1
104
## document.browse.images.show_as_links [0|1]
105
# Display links to images.
106
set document.browse.images.show_as_links = 1
108
## document.browse.links
109
# Options for handling of links to other documents.
110
## document.browse.links.color_dirs [0|1]
111
# Highlight links to directories when listing local disk content.
112
set document.browse.links.color_dirs = 1
114
## document.browse.links.numbering [0|1]
115
# Display links numbered.
116
set document.browse.links.numbering = 0
118
## document.browse.links.wraparound [0|1]
119
# When pressing 'down' on the last link, jump at the first one, and
121
set document.browse.links.wraparound = 0
123
## document.browse.margin_width <num>
124
# Horizontal text margin.
125
set document.browse.margin_width = 3
127
## document.browse.table_move_order [0|1]
128
# Move by columns in table.
129
set document.browse.table_move_order = 0
133
## document.cache.format
134
# Format cache options.
135
## document.cache.format.size <num>
136
# Number of cached formatted pages.
137
set document.cache.format.size = 5
139
## document.cache.memory
140
# Memory cache options.
141
## document.cache.memory.size <num>
142
# Memory cache size (in kilobytes).
143
set document.cache.memory.size = 1M
147
## document.codepage.assume <codepage>
148
# Default document codepage.
149
set document.codepage.assume = "ISO-8859-1"
151
## document.codepage.force_assumed [0|1]
152
# Ignore charset info sent by server.
153
set document.codepage.force_assumed = 0
156
# Default color settings.
157
## document.colors.text <color|#rrggbb>
158
# Default text color.
159
set document.colors.text = "#bfbfbf"
161
## document.colors.background <color|#rrggbb>
162
# Default background color.
163
set document.colors.background = "#000000"
165
## document.colors.link <color|#rrggbb>
166
# Default link color.
167
set document.colors.link = "#0000ff"
169
## document.colors.vlink <color|#rrggbb>
170
# Default vlink color.
171
set document.colors.vlink = "#ffff00"
173
## document.colors.allow_dark_on_black [0|1]
174
# Allow dark colors on black background.
175
set document.colors.allow_dark_on_black = 0
177
## document.colors.use_document_colors [0|1]
178
# Use colors specified in document.
179
set document.colors.use_document_colors = 1
182
# Options regarding files downloading and handling.
183
## document.download.default_mime_type <str>
184
# MIME type for a document we should assume by default (when we are
185
# unable to guess it properly from known informations about the
187
set document.download.default_mime_type = "text/plain"
189
## document.download.directory <str>
190
# Default download directory.
191
set document.download.directory = "./"
193
## document.download.set_original_time [0|1]
194
# Set time of downloaded files accordingly to one stored on server.
195
set document.download.set_original_time = 1
198
# Dump output options.
199
## document.dump.codepage <codepage>
200
# Codepage used in dump output.
201
set document.dump.codepage = "us-ascii"
203
## document.dump.width <num>
204
# Size of screen in characters, when dumping a HTML document.
205
set document.dump.width = 80
209
## document.history.global
210
# Global history options.
211
## document.history.global.enable [0|1]
212
# Enable global history ("history of all pages visited")?
213
set document.history.global.enable = 1
215
## document.history.keep_unhistory [0|1]
216
# Keep unhistory ("forward history")?
217
set document.history.keep_unhistory = 1
220
# Options concerning displaying of HTML pages.
221
## document.html.display_frames [0|1]
223
set document.html.display_frames = 1
225
## document.html.display_tables [0|1]
227
set document.html.display_tables = 1
230
# MIME-related options.
232
# Action<->MIME-type association.
234
## mime.type._template_
235
# Handler matching this MIME-type class.
237
## mime.type._template_._template_ <str>
238
# Handler matching this MIME-type name.
239
set mime.type._template_._template_ = ""
244
# Handler for certain file types.
246
## mime.handler._template_
247
# Handler description for this file type.
249
## mime.handler._template_._template_
250
# System-specific handler description.
252
## mime.handler._template_._template_.ask [0|1]
253
# Ask before opening.
254
set mime.handler._template_._template_.ask = 1
256
## mime.handler._template_._template_.block [0|1]
257
# Block the terminal when the handler is running.
258
set mime.handler._template_._template_.block = 1
260
## mime.handler._template_._template_.program <str>
261
# External viewer for this file type.
262
set mime.handler._template_._template_.program = ""
268
# Extension<->MIME-type association.
270
## mime.extension._template_ <str>
271
# MIME-type matching this file extension (dashes are used here
273
set mime.extension._template_ = ""
275
## mime.extension.-png <str>
276
# MIME-type matching this file extension (dashes are used here
278
set mime.extension.-png = "image/png"
282
# Protocol specific options.
284
# HTTP specific options.
285
## protocol.http.bugs
286
# Server-side HTTP bugs workarounds.
287
## protocol.http.bugs.allow_blacklist [0|1]
288
# Allow blacklist of buggy servers.
289
set protocol.http.bugs.allow_blacklist = 1
291
## protocol.http.bugs.broken_302_redirect [0|1]
292
# Broken 302 redirect (violates RFC but compatible with Netscape).
293
set protocol.http.bugs.broken_302_redirect = 1
295
## protocol.http.bugs.post_no_keepalive [0|1]
296
# No keepalive connection after POST request.
297
set protocol.http.bugs.post_no_keepalive = 0
299
## protocol.http.bugs.http10 [0|1]
300
# Use HTTP/1.0 protocol instead of HTTP/1.1.
301
set protocol.http.bugs.http10 = 0
303
## protocol.http.proxy
304
# HTTP proxy configuration.
305
## protocol.http.proxy.host <str>
306
# Host and port number (host:port) of the HTTP proxy, or blank.
307
set protocol.http.proxy.host = ""
309
## protocol.http.proxy.user <str>
310
# Proxy authentication user.
311
set protocol.http.proxy.user = ""
313
## protocol.http.proxy.passwd <str>
314
# Proxy authentication password.
315
set protocol.http.proxy.passwd = ""
317
## protocol.http.referer
318
# HTTP referer sending rules.
319
## protocol.http.referer.policy <num>
320
# Mode of sending HTTP referer:
321
# 0 is send no referer
322
# 1 is send current URL as referer
323
# 2 is send fixed fake referer
324
# 3 is send previous URL as referer (correct, but insecure)
326
set protocol.http.referer.policy = 1
328
## protocol.http.referer.fake <str>
329
# Fake referer to be sent when policy is 2.
330
set protocol.http.referer.fake = ""
332
## protocol.http.accept_language <str>
333
# Send Accept-Language header.
334
set protocol.http.accept_language = ""
336
## protocol.http.user_agent <str>
337
# Change the User Agent ID. That means identification string, which
338
# is sent to HTTP server when a document is requested.
339
# If empty, defaults to: ELinks (<version>; <system_id>; <term_size>)
340
#set protocol.http.user_agent = ""
343
# FTP specific options.
344
## protocol.ftp.proxy
345
# FTP proxy configuration.
346
## protocol.ftp.proxy.host <str>
347
# Host and port number (host:port) of the FTP proxy, or blank.
348
set protocol.ftp.proxy.host = ""
350
## protocol.ftp.anon_passwd <str>
351
# FTP anonymous password to be sent.
352
set protocol.ftp.anon_passwd = "elinks_user@debian.org"
355
# Options specific for local browsing.
356
## protocol.file.allow_special_files [0|1]
357
# Allow reading from non-regular files? (DANGEROUS - reading
358
# /dev/urandom or /dev/zero can ruin your day!)
359
set protocol.file.allow_special_files = 0
362
# User protocols options.
364
## protocol.user._template_
365
# System-specific handlers for these protocols.
367
## protocol.user._template_._template_ <str>
368
# Handler (external program) for this protocol.
369
# %h in the string means hostname
370
# %p in the string means port
371
# %s in the string means subject (?subject=<this>)
372
# %u in the string means the whole URL
373
set protocol.user._template_._template_ = ""
376
## protocol.user.mailto
378
## protocol.user.mailto._template_ <str>
379
set protocol.user.mailto._template_ = ""
380
## protocol.user.mailto.unix <str>
381
set protocol.user.mailto.unix = "mutt %"
383
## protocol.user.telnet
385
## protocol.user.telnet._template_ <str>
386
set protocol.user.telnet._template_ = ""
387
## protocol.user.telnet.unix <str>
388
set protocol.user.telnet.unix = "telnet %"
390
## protocol.user.tn3270
392
## protocol.user.tn3270._template_ <str>
393
set protocol.user.tn3270._template_ = ""
394
## protocol.user.tn3270.unix <str>
395
set protocol.user.tn3270.unix = "telnet %"
401
## terminal._template_
402
# Options specific to this terminal type.
404
## terminal._template_.type <num>
405
# Terminal type; matters mostly only when drawing frames and
406
# dialog box borders:
407
# 0 is dumb terminal type, ASCII art
408
# 1 is Linux, you get double frames and other goodies
409
# 2 is VT100, simple but portable
411
set terminal._template_.type = 2
413
## terminal._template_.m11_hack [0|1]
414
# If using Linux terminal, switch font when drawing lines,
415
# enabling both local characters and lines working at the same
417
set terminal._template_.m11_hack = 1
419
## terminal._template_.utf_8_io [0|1]
420
# Enable I/O in UTF8 for Unicode terminals.
421
set terminal._template_.utf_8_io = 0
423
## terminal._template_.restrict_852 [0|1]
424
# Someone who understands this ... ;)) I'm too lazy to think about this now :P.
425
set terminal._template_.restrict_852 = 0
427
## terminal._template_.block_cursor [0|1]
428
# This means that we always move cursor to bottom right corner
429
# when done drawing. This is particularly useful when we are
430
# using block cursor, as inversed stuff is displayed correctly.
431
set terminal._template_.block_cursor = 0
433
## terminal._template_.colors [0|1]
434
# If we should use colors.
435
set terminal._template_.colors = 1
437
## terminal._template_.charset <codepage>
438
# Codepage of charset used for displaying of content on terminal.
439
set terminal._template_.charset = "us-ascii"
443
# Options specific to this terminal type.
445
## terminal.linux.type <num>
446
set terminal.linux.type = 2
447
## terminal.linux.m11_hack [0|1]
448
set terminal.linux.m11_hack = 1
449
## terminal.linux.utf_8_io [0|1]
450
set terminal.linux.utf_8_io = 0
451
## terminal.linux.restrict_852 [0|1]
452
set terminal.linux.restrict_852 = 0
453
## terminal.linux.block_cursor [0|1]
454
set terminal.linux.block_cursor = 1
455
## terminal.linux.colors [0|1]
456
set terminal.linux.colors = 1
457
## terminal.linux.charset <codepage>
458
set terminal.linux.charset = "ISO-8859-1"
462
# User interface options.
463
## ui.language <language>
464
# Language of user interface.
465
set ui.language = "English"
467
## ui.show_status_bar [0|1]
468
# Show status bar on the screen.
469
set ui.show_status_bar = 1
471
## ui.show_title_bar [0|1]
472
# Show title bar on the screen.
473
set ui.show_title_bar = 1
475
## ui.startup_goto_dialog [0|1]
476
# Pop up goto dialog on startup when there's no homepage.
477
set ui.startup_goto_dialog = 1
479
## ui.window_title [0|1]
480
# Whether ELinks window title should be touched if ELinks is
481
# being ran in some windowing environment.
482
set ui.window_title = 1
484
## secure_file_saving [0|1]
485
# First write data to 'file.tmp', rename to 'file' upon
486
# successful finishing this. Note that this relates only to
487
# config files, not downloaded files. You may want to disable
488
# it, if you want some config file with some exotic permissions.
489
# Secure file saving is automagically disabled if file is symlink.
490
set secure_file_saving = 1