1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00

contrib/elinks.conf: Update from -config-dump.

Just to show how badly it was out of date.
This commit is contained in:
Kalle Olavi Niemitalo 2007-05-06 21:47:53 +03:00 committed by Kalle Olavi Niemitalo
parent c254d66486
commit f33c95ac7b

View File

@ -1,4 +1,4 @@
## ELinks 0.11.CVS configuration file
## ELinks 0.12.GIT configuration file
## This is ELinks configuration file. You can edit it manually,
## if you wish so, but keep in mind that this file is overwritten
@ -21,7 +21,8 @@
## bookmarks.file_format <num>
# File format for bookmarks (affects both reading and saving):
# 0 is the default native ELinks format
# 1 is XBEL universal XML bookmarks format (NO NATIONAL CHARS SUPPORT!)
# 1 is XBEL universal XML bookmarks format (ELinks bug 153: NO NATIONAL CHARS
# SUPPORT!)
set bookmarks.file_format = 0
## bookmarks.folder_state [0|1]
@ -136,14 +137,14 @@
# at all unless you are sure what are you doing.
# Note that you can also force a given protocol
# to be used on a per-connection basis by using an URL
# in the style of i.e. http4://elinks.or.cz/.
# in the style of e.g. http4://elinks.cz/.
set connection.try_ipv4 = 1
## connection.try_ipv6 [0|1]
# Whether to try to connect to a host over IPv6.
# Note that you can also force a given protocol
# to be used on a per-connection basis by using an URL
# in the style of i.e. http6://elinks.or.cz/.
# in the style of e.g. http6://elinks.cz/.
set connection.try_ipv6 = 1
## connection.unrestartable_receive_timeout <num>
@ -238,13 +239,19 @@
# The setting for this option affects how key presses are handled
# when one selects a text-input form-field. When enabled, one must
# explicitly 'enter' a selected text-field to edit it; this prevents
# a text field from capturing key presses, such as presses of a scroll
# key,
# when it is inadvertently selected. When disabled, key presses are
# always
# inserted into a selected text field.
# text fields from capturing key presses, such as presses of a scroll
# key, when it is inadvertently selected. When disabled, key presses
# are always inserted into a selected text field.
set document.browse.forms.insert_mode = 1
## document.browse.forms.editor <str>
# Path to the executable that ELinks should launch when the user
# requests to edit a textarea with an external editor.
# If this is blank, ELinks will use the value of the environmental
# variable $EDITOR. If $EDITOR is empty or not set, ELinks will then
# default to "vi".
set document.browse.forms.editor = ""
## document.browse.forms.show_formhist [0|1]
# Ask if a login form should be saved to file or not.
# This option only disables the dialog, already saved login
@ -354,6 +361,7 @@
# 0 means open link in current tab
# 1 means open link in new tab in foreground
# 2 means open link in new tab in background
# 3 means open link in new window
set document.browse.links.target_blank = 0
## document.browse.links.use_tabindex [0|1]
@ -363,6 +371,10 @@
# to navigating the document.
set document.browse.links.use_tabindex = 1
## document.browse.links.missing_fragment [0|1]
# Open a message box when document has no tag with given id.
set document.browse.links.missing_fragment = 1
## document.browse.links.number_keys_select_link <num>
# Number keys select links rather than specify command prefixes. This
# is a tristate:
@ -532,6 +544,16 @@
# When set, the document is cached even with 'Cache-Control: no-cache'.
set document.cache.ignore_cache_control = 1
## document.cache.revalidation_interval <num>
# Period in seconds that a cache entry is considered to be
# up-to-date. When a document is loaded and this interval has elapsed
# since the document was initially loaded or most recently
# revalidated with the server, the server will be checked in case
# there is a more up-to-date version of the document.
#
# A value of -1 disables automatic revalidation.
set document.cache.revalidation_interval = -1
## document.codepage
# Charset options.
@ -578,13 +600,12 @@
# See document.browse.links.color_dirs option.
set document.colors.dirs = "yellow"
## document.colors.allow_dark_on_black [0|1]
# Allow dark colors on black background, and vice versa. (!)
# By default the colors have their contrast increased (that is
# different from having it ensured through the ensure_contrast
# option), so that the foreground and the background do not have
# too similar colors. This option turns this off.
set document.colors.allow_dark_on_black = 0
## document.colors.increase_contrast [0|1]
# Increase the contrast between the foreground and background colors
# to ensure readability. For example it disallows dark colors on a
# black background. Note, this is different from ensuring the contrast
# with the ensure_contrast option.
set document.colors.increase_contrast = 1
## document.colors.ensure_contrast [0|1]
# Makes sure that the back- and foreground color are never equal.
@ -658,14 +679,37 @@
# a codepage determined by a selected locale.
set document.dump.codepage = "System"
## document.dump.header <str>
# Header string used in dumps. %u is substituted by URL.
set document.dump.header = ""
## document.dump.color_mode <num>
# Color mode for dumps.
# Some modes may have been disabled at compile time. The Setup -> Terminal
# options dialog lists the modes supported by this executable. If you
# select an unsupported mode, ELinks uses 16 colors.
# The color modes are:
# -1 is standard dump mode
# 0 is mono mode
# 1 is 16 color mode
# 2 is 88 color mode
# 3 is 256 color mode
# 4 is true color mode
set document.dump.color_mode = -1
## document.dump.footer <str>
# Footer string used in dumps. %u is substituted by URL.
set document.dump.footer = ""
## document.dump.header <str>
# Header string used in dumps. %u is substituted by URL.
set document.dump.header = ""
## document.dump.numbering [0|1]
# Whether to print link numbers in dump output.
set document.dump.numbering = 1
## document.dump.references [0|1]
# Whether to print references (URIs) of document links
# in dump output.
set document.dump.references = 1
## document.dump.separator <str>
# String which separates two dumps.
set document.dump.separator = "
@ -756,7 +800,16 @@
## document.uri_passing
# Rules for passing URIs to external commands.
# Rules for passing URIs to external commands. When one rule
# is defined the link and tab menu will have a menu item that
# makes it possible to pass the the link, frame or tab URI to
# an external command. If several rules are defined the link and
# tab menu will have a submenu of items for each rule. Note, this
# is mostly useful for launching graphical viewers, since there
# is no support for releasing the terminal while the command runs.
# The action and submenus are also available by binding keys to
# the frame-external-command, the link-external-command, and
# the tab-external-command actions.
@ -765,12 +818,17 @@
## ecmascript.enable [0|1]
# Whether to run those scripts inside of documents.
set ecmascript.enable = 1
set ecmascript.enable = 0
## ecmascript.error_reporting [0|1]
# Open a message box when a script reports an error.
set ecmascript.error_reporting = 0
## ecmascript.ignore_noscript [0|1]
# Whether to ignore content enclosed by the <noscript> tag
# when ECMAScript is enabled.
set ecmascript.ignore_noscript = 0
## ecmascript.max_exec_time <num>
# Maximum execution time in seconds for a script.
set ecmascript.max_exec_time = 5
@ -843,6 +901,31 @@
# of '.').
set mime.extension.htm = "text/html"
## mime.extension.html <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.html = "text/html"
## mime.extension.torrent <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.torrent = "application/x-bittorrent"
## mime.extension.rss <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.rss = "application/rss+xml"
## mime.extension.xbel <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.xbel = "application/xbel+xml"
## mime.extension.sgml <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.sgml = "application/docbook+xml"
## mime.handler
# A file type handler is a set of information about how to use
@ -917,21 +1000,148 @@
## protocol
# Protocol specific options.
## protocol.bittorrent
# BitTorrent specific options.
## protocol.bittorrent.ports
# Port range allowed to be used for listening on.
## protocol.bittorrent.ports.min <num>
# The minimum port to try and listen on.
set protocol.bittorrent.ports.min = 6881
## protocol.bittorrent.ports.max <num>
# The maximum port to try and listen on.
set protocol.bittorrent.ports.max = 6999
## protocol.bittorrent.tracker
# Tracker options.
## protocol.bittorrent.tracker.compact [0|1]
# Whether to request that the tracker returns peer info
# in compact format. Note, the compact format only supports
# IPv4 addresses.
set protocol.bittorrent.tracker.compact = 0
## protocol.bittorrent.tracker.interval <num>
# The number of seconds to wait between periodically contacting
# the tracker for announcing progress and requesting more peers.
# Set to zero to use the interval requested by the tracker.
set protocol.bittorrent.tracker.interval = 0
## protocol.bittorrent.tracker.ip_address <str>
# What IP address to report to the tracker. If set to ""
# no IP address will be sent and the tracker will automatically
# determine an appropriate IP address.
set protocol.bittorrent.tracker.ip_address = ""
## protocol.bittorrent.tracker.key <str>
# An additional identification that is not shared with any users.
# It is intended to allow a client to prove their identity should
# their IP address change. It is an optional parameter, but some
# trackers require this parameter. If set to "" no user key will
# be sent to the tracker.
set protocol.bittorrent.tracker.key = ""
## protocol.bittorrent.tracker.numwant <num>
# The maximum number of peers to request from the tracker.
# Set to 0 to use the server default.
set protocol.bittorrent.tracker.numwant = 50
## protocol.bittorrent.tracker.min_skip_size <num>
# The minimum number of peers to have in the current peer info
# pool before skipping requesting of more peers. I.e. setting
# numwant to zero.
# Set to 0 to not have any limit.
set protocol.bittorrent.tracker.min_skip_size = 20
## protocol.bittorrent.peerwire
# Lowlevel peer-wire options.
## protocol.bittorrent.peerwire.connections <num>
# The maximum number of allowed connections to both active and
# non-active peers. By increasing the number of allowed connections,
# the chance of finding good peers to download from is increased.
# However, too many connections can lead to TCP congestion. If the
# maximum is reached all new incoming connections will be closed.
set protocol.bittorrent.peerwire.connections = 55
## protocol.bittorrent.peerwire.max_message_length <num>
# The maximum length of messages to accept over the wire.
# Larger values will cause the connection to be dropped.
set protocol.bittorrent.peerwire.max_message_length = 8M
## protocol.bittorrent.peerwire.max_request_length <num>
# The maximum length to allow for incoming requests.
# Larger requests will cause the connection to be dropped.
set protocol.bittorrent.peerwire.max_request_length = 8M
## protocol.bittorrent.peerwire.request_length <num>
# How many bytes to query for per request. This is complementary
# to the max_request_length option. If the configured length is
# bigger than the piece length it will be truncated.
set protocol.bittorrent.peerwire.request_length = 16k
## protocol.bittorrent.peerwire.timeout <num>
# The number of seconds to wait before closing a socket on
# which nothing has been received or sent.
set protocol.bittorrent.peerwire.timeout = 300
## protocol.bittorrent.peerwire.pool_size <num>
# Maximum number of items in the peer pool. The peer pool
# contains information used for establishing connections to
# new peers.
# Set to 0 to have unlimited size.
set protocol.bittorrent.peerwire.pool_size = 55
## protocol.bittorrent.piece_cache_size <num>
# The maximum amount of memory used to hold recently
# downloaded pieces.
# Set to 0 to have unlimited size.
set protocol.bittorrent.piece_cache_size = 1M
## protocol.bittorrent.max_uploads <num>
# The maximum number of uploads to allow at once.
set protocol.bittorrent.max_uploads = 7
## protocol.bittorrent.min_uploads <num>
# The minimum number of uploads which should at least
# be used for new connections.
set protocol.bittorrent.min_uploads = 2
## protocol.bittorrent.request_queue_size <num>
# How many piece requests to continuously keep in queue. Pipelining
# of requests is essential to saturate connections and get a good
# connection performance and thus a faster download. However, a
# very big queue size can lead to wasting bandwidth near the end
# of the connection since remaining piece blocks will be requested
# from multiple peers.
set protocol.bittorrent.request_queue_size = 5
## protocol.bittorrent.choke_interval <num>
# The number of seconds between updating the connection state
# and most importantly choke and unchoke peer connections. The
# choke period should be big enough for newly unchoked connections
# to get started but small enough to not allow freeriders too much
# room for stealing bandwidth.
set protocol.bittorrent.choke_interval = 10
## protocol.bittorrent.rarest_first_cutoff <num>
# The number of pieces to obtain before switching piece
# selection strategy from random to rarest first.
set protocol.bittorrent.rarest_first_cutoff = 4
## protocol.bittorrent.allow_blacklist [0|1]
# Allow blacklisting of buggy peers.
set protocol.bittorrent.allow_blacklist = 1
## protocol.file
# Options specific to local browsing.
## protocol.file.cgi
# Local CGI specific options.
## protocol.file.cgi.path <str>
# Colon separated list of directories, where CGI scripts are stored.
set protocol.file.cgi.path = ""
## protocol.file.cgi.policy [0|1]
# Whether to execute local CGI scripts.
set protocol.file.cgi.policy = 0
## protocol.file.allow_special_files [0|1]
# Whether to allow reading from non-regular files.
# Note this can be dangerous; reading /dev/urandom or
@ -949,6 +1159,26 @@
# (ie. 'filename.gz'); it depends on the supported encodings.
set protocol.file.try_encoding_extensions = 1
## protocol.file.cgi
# Local CGI specific options.
## protocol.file.cgi.path <str>
# Colon separated list of directories, where CGI scripts are stored.
set protocol.file.cgi.path = ""
## protocol.file.cgi.policy [0|1]
# Whether to execute local CGI scripts.
set protocol.file.cgi.policy = 0
## protocol.fsp
# FSP specific options.
## protocol.fsp.sort [0|1]
# Whether to sort entries in directory listings.
set protocol.fsp.sort = 1
## protocol.ftp
# FTP specific options.
@ -1134,13 +1364,13 @@
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.bug = "http://bugzilla.elinks.or.cz/"
set protocol.rewrite.dumb.bug = "http://bugzilla.elinks.cz/"
## protocol.rewrite.dumb.bz <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.bz = "http://bugzilla.elinks.or.cz/"
set protocol.rewrite.dumb.bz = "http://bugzilla.elinks.cz/"
## protocol.rewrite.dumb.cia <str>
# Replacement URI for this dumbprefix:
@ -1164,7 +1394,7 @@
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.documentation = "http://elinks.or.cz/documentation"
set protocol.rewrite.dumb.documentation = "http://elinks.cz/documentation/"
## protocol.rewrite.dumb.dpkg <str>
# Replacement URI for this dumbprefix:
@ -1182,7 +1412,7 @@
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.elinks = "http://elinks.or.cz/"
set protocol.rewrite.dumb.elinks = "http://elinks.cz/"
## protocol.rewrite.dumb.fm <str>
# Replacement URI for this dumbprefix:
@ -1312,7 +1542,7 @@
# %s in the string means the whole argument to smartprefix
# %0,%1,...,%9 means argument 0, 1, ..., 9
# %% in the string means '%'
set protocol.rewrite.smart.bug = "http://bugzilla.elinks.or.cz/show_bug.cgi?id=%s"
set protocol.rewrite.smart.bug = "http://bugzilla.elinks.cz/show_bug.cgi?id=%s"
## protocol.rewrite.smart.cambridge <str>
# Replacement URI for this smartprefix:
@ -1576,7 +1806,7 @@
# %s in the string means the whole argument to smartprefix
# %0,%1,...,%9 means argument 0, 1, ..., 9
# %% in the string means '%'
set protocol.rewrite.smart.milestone-bugs = "http://bugzilla.elinks.or.cz/buglist.cgi?target_milestone=%s"
set protocol.rewrite.smart.milestone-bugs = "http://bugzilla.elinks.cz/buglist.cgi?target_milestone=%s"
## protocol.rewrite.smart.mw <str>
# Replacement URI for this smartprefix:
@ -1704,7 +1934,7 @@
# %s in the string means the whole argument to smartprefix
# %0,%1,...,%9 means argument 0, 1, ..., 9
# %% in the string means '%'
set protocol.rewrite.smart.search-bugs = "http://bugzilla.elinks.or.cz/buglist.cgi?short_desc_type=allwordssubstr&short_desc=%s"
set protocol.rewrite.smart.search-bugs = "http://bugzilla.elinks.cz/buglist.cgi?short_desc_type=allwordssubstr&short_desc=%s"
## protocol.rewrite.smart.sf <str>
# Replacement URI for this smartprefix:
@ -1755,11 +1985,23 @@
set protocol.rewrite.smart.wn = "http://www.cogsci.princeton.edu/cgi-bin/webwn1.7.1?stage=1&word=%s"
## protocol.rewrite.default_template <str>
# Default URI template used when the string entered in
# the goto dialog does not appear to be a URI or a filename
# (i.e. contains no '.', ':' or '/' characters), and does
# not match any defined prefixes. Set the value to "" to
# disable use of the default template rewrite rule.
# %c in the template means the current URL
# %s in the template means the whole string from the goto dialog
# %0,%1,...,%9 mean the 1st,2nd,...,10th space-delimited part of %s
# %% in the template means '%'
set protocol.rewrite.default_template = ""
## protocol.rewrite.enable-dumb [0|1]
# Enable dumb prefixes - simple URI abbreviations which can
# be written to the Goto URL dialog instead of actual URIs - i.e.
# if you write 'elinks' there, you are directed to
# http://elinks.or.cz/.
# http://elinks.cz/.
set protocol.rewrite.enable-dumb = 1
## protocol.rewrite.enable-smart [0|1]
@ -1770,19 +2012,18 @@
set protocol.rewrite.enable-smart = 1
## protocol.smb
# SAMBA specific options.
## protocol.smb.credentials <str>
# Credentials file passed to smbclient via -A option.
set protocol.smb.credentials = ""
## protocol.user
# User protocols. Options in this tree specify external
# handlers for the appropriate protocols. Ie.
# protocol.user.mailto.unix.
## protocol.user.gopher
## protocol.user.gopher.unix <str>
set protocol.user.gopher.unix = "lynx %u"
## protocol.user.gopher.unix-xwin <str>
set protocol.user.gopher.unix-xwin = "lynx %u"
## protocol.user.irc
## protocol.user.irc.unix <str>
@ -1831,7 +2072,7 @@
## terminal.linux.underline [0|1]
set terminal.linux.underline = 0
## terminal.linux.transparency [0|1]
set terminal.linux.transparency = 1
set terminal.linux.transparency = 0
## terminal.linux.colors <num>
set terminal.linux.colors = 1
## terminal.linux.block_cursor [0|1]
@ -1853,7 +2094,7 @@
## terminal.vt100.underline [0|1]
set terminal.vt100.underline = 0
## terminal.vt100.transparency [0|1]
set terminal.vt100.transparency = 1
set terminal.vt100.transparency = 0
## terminal.vt100.colors <num>
set terminal.vt100.colors = 0
## terminal.vt100.block_cursor [0|1]
@ -1875,7 +2116,7 @@
## terminal.vt110.underline [0|1]
set terminal.vt110.underline = 0
## terminal.vt110.transparency [0|1]
set terminal.vt110.transparency = 1
set terminal.vt110.transparency = 0
## terminal.vt110.colors <num>
set terminal.vt110.colors = 0
## terminal.vt110.block_cursor [0|1]
@ -1897,7 +2138,7 @@
## terminal.xterm.underline [0|1]
set terminal.xterm.underline = 1
## terminal.xterm.transparency [0|1]
set terminal.xterm.transparency = 1
set terminal.xterm.transparency = 0
## terminal.xterm.colors <num>
set terminal.xterm.colors = 0
## terminal.xterm.block_cursor [0|1]
@ -1919,7 +2160,7 @@
## terminal.xterm-color.underline [0|1]
set terminal.xterm-color.underline = 1
## terminal.xterm-color.transparency [0|1]
set terminal.xterm-color.transparency = 1
set terminal.xterm-color.transparency = 0
## terminal.xterm-color.colors <num>
set terminal.xterm-color.colors = 1
## terminal.xterm-color.block_cursor [0|1]
@ -1933,6 +2174,28 @@
## terminal.xterm-color.type <num>
set terminal.xterm-color.type = 1
## terminal.xterm-88color
# Options specific to this terminal type (according to $TERM value).
## terminal.xterm-88color.charset <codepage>
set terminal.xterm-88color.charset = "System"
## terminal.xterm-88color.underline [0|1]
set terminal.xterm-88color.underline = 1
## terminal.xterm-88color.transparency [0|1]
set terminal.xterm-88color.transparency = 0
## terminal.xterm-88color.colors <num>
set terminal.xterm-88color.colors = 2
## terminal.xterm-88color.block_cursor [0|1]
set terminal.xterm-88color.block_cursor = 0
## terminal.xterm-88color.restrict_852 [0|1]
set terminal.xterm-88color.restrict_852 = 0
## terminal.xterm-88color.utf_8_io [0|1]
set terminal.xterm-88color.utf_8_io = 0
## terminal.xterm-88color.m11_hack [0|1]
set terminal.xterm-88color.m11_hack = 0
## terminal.xterm-88color.type <num>
set terminal.xterm-88color.type = 1
## terminal.xterm-256color
# Options specific to this terminal type (according to $TERM value).
@ -1941,9 +2204,9 @@
## terminal.xterm-256color.underline [0|1]
set terminal.xterm-256color.underline = 1
## terminal.xterm-256color.transparency [0|1]
set terminal.xterm-256color.transparency = 1
set terminal.xterm-256color.transparency = 0
## terminal.xterm-256color.colors <num>
set terminal.xterm-256color.colors = 2
set terminal.xterm-256color.colors = 3
## terminal.xterm-256color.block_cursor [0|1]
set terminal.xterm-256color.block_cursor = 0
## terminal.xterm-256color.restrict_852 [0|1]
@ -2999,6 +3262,10 @@
# as homepage URI instead.
set ui.sessions.homepage = ""
## ui.sessions.keep_session_active [0|1]
# Keep the session active even if the last terminal exits.
set ui.sessions.keep_session_active = 0
## ui.sessions.snapshot [0|1]
# Automatically save a snapshot of all tabs periodically.
# This will periodically bookmark the tabs of each terminal in a separate
@ -3019,6 +3286,10 @@
# 2 means always
set ui.tabs.show_bar = 1
## ui.tabs.top [0|1]
# Whether display tab bar at top like other browsers do.
set ui.tabs.top = 0
## ui.tabs.wraparound [0|1]
# When moving right from the last tab, jump at the first one, and
# vice versa.
@ -3059,6 +3330,10 @@
# be extracted from the environment dynamically.
set ui.language = "System"
## ui.show_menu_bar_always [0|1]
# Always show menu bar on the screen.
set ui.show_menu_bar_always = 0
## ui.show_status_bar [0|1]
# Show status bar on the screen.
set ui.show_status_bar = 1