1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-17 23:55:32 +00:00
elinks/contrib/elinks.conf

3088 lines
114 KiB
Plaintext
Raw Normal View History

## ELinks 0.11.CVS 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
## by ELinks when you save options through UI and you are out of
## luck with your formatting and own comments then, so beware.
##
## Obviously, if you don't like what ELinks is going to do with
## this file, you can change it by altering the config.saving_style
## option. Come on, aren't we friendly guys after all?
##############################
# Automatically saved options
#
## bookmarks
# Bookmark options.
## 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!)
set bookmarks.file_format = 0
## bookmarks.folder_state [0|1]
# When saving bookmarks also store whether folders are
# expanded or not, so the look of the bookmark dialog is
# kept across ELinks sessions. If disabled all folders will
# appear unexpanded next time ELinks is run.
set bookmarks.folder_state = 1
## config
# Configuration handling options.
## config.comments <num>
# Amount of comments automatically written to the config file:
# 0 is no comments are written
# 1 is only the "blurb" (name+type) is written
# 2 is only the description is written
# 3 is full comments are written
set config.comments = 3
## config.indentation <num>
# Shift width of one indentation level in the configuration
# file. Zero means that no indentation is performed at all
# when saving the configuration.
set config.indentation = 2
## config.saving_style <num>
# Determines what happens when you tell ELinks to save options:
# 0 is only values of current options are altered
# 1 is values of current options are altered and missing options
# are added at the end of the file
# 2 is the configuration file is rewritten from scratch
# 3 is values of current options are altered and missing options
# CHANGED during this ELinks session are added at the end of
# the file
set config.saving_style = 2
## config.i18n [0|1]
# If set to 1, comments in the configuration file will be
# translated to the language used by UI. Note that if you have
# different language set in different terminals, the language
# used in the configuration file MAY be the same as on the
# terminal where you saved the file, but it should be generally
# considered unpredictable.
set config.i18n = 0
## config.saving_style_w [0|1]
# This is internal option used when displaying a warning about
# obsolete config.saving_style. You shouldn't touch it.
set config.saving_style_w = 0
## config.show_template [0|1]
# Show template options in autocreated trees in the options
# manager and save them to the configuration file.
set config.show_template = 0
## connection
# Connection options.
## connection.ssl
# SSL options.
## connection.ssl.client_cert
# X509 client certificate options.
## connection.ssl.client_cert.enable [0|1]
# Enable or not the sending of X509 client certificates
# to servers which request them.
set connection.ssl.client_cert.enable = 0
## connection.ssl.client_cert.file <str>
# The location of a file containing the client certificate
# and unencrypted private key in PEM format. If unset, the
# file pointed to by the X509_CLIENT_CERT variable is used
# instead.
set connection.ssl.client_cert.file = ""
## connection.ssl.cert_verify [0|1]
# Verify the peer's SSL certificate. Note that this
# needs extensive configuration of OpenSSL by the user.
set connection.ssl.cert_verify = 0
## connection.async_dns [0|1]
# Whether to use asynchronous DNS resolving.
set connection.async_dns = 1
## connection.max_connections <num>
# Maximum number of concurrent connections.
set connection.max_connections = 10
## connection.max_connections_to_host <num>
# Maximum number of concurrent connections to a given host.
set connection.max_connections_to_host = 2
## connection.receive_timeout <num>
# Receive timeout (in seconds).
set connection.receive_timeout = 120
## connection.retries <num>
# Number of tries to establish a connection.
# Zero means try forever.
set connection.retries = 3
## connection.try_ipv4 [0|1]
# Whether to try to connect to a host over IPv4.
# Note that if connection.try_ipv6 is enabled too,
# it takes precedence. And better do not touch this
# 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/.
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/.
set connection.try_ipv6 = 1
## connection.unrestartable_receive_timeout <num>
# Timeout for non-restartable connections (in seconds).
set connection.unrestartable_receive_timeout = 600
## cookies
# Cookies options.
## cookies.accept_policy <num>
# Cookies accepting policy:
# 0 is accept no cookies
# 1 is ask for confirmation before accepting cookie
# 2 is accept all cookies
set cookies.accept_policy = 2
## cookies.max_age <num>
# Cookie maximum age (in days):
# -1 is use cookie's expiration date if any
# 0 is force expiration at the end of session, ignoring cookie's
# expiration date
# 1+ is use cookie's expiration date, but limit age to the given
# number of days
set cookies.max_age = -1
## cookies.paranoid_security [0|1]
# When enabled, we'll require three dots in cookies domain for all
# non-international domains (instead of just two dots). Some countries
# have generic second level domains (eg. .com.pl, .co.uk) and allowing
# sites to set cookies for these generic domains could potentially be
# very bad. Note, it is off by default as it breaks a lot of sites.
set cookies.paranoid_security = 0
## cookies.save [0|1]
# Whether cookies should be loaded from and save to disk.
set cookies.save = 1
## cookies.resave [0|1]
# Save cookies after each change in cookies list? No effect when
# cookie saving (cookies.save) is off.
set cookies.resave = 1
## document
# Document options.
## document.browse
# Document browsing options (mainly interactivity).
## document.browse.accesskey
# Options for handling of link access keys.
# An HTML document can use the ACCESSKEY attribute to assign
# an access key to an element. When an access key is pressed,
# the corresponding element will be given focus.
## document.browse.accesskey.auto_follow [0|1]
# Automatically follow a link or submit a form if appropriate
# accesskey is pressed - this is the standard behaviour, but it's
# considered dangerous.
set document.browse.accesskey.auto_follow = 0
## document.browse.accesskey.display [0|1]
# Display access key in link info.
set document.browse.accesskey.display = 0
## document.browse.accesskey.priority <num>
# Priority of 'accesskey' HTML attribute:
# 0 is first try all normal bindings; if it fails, check accesskey
# 1 is first try only frame bindings; if it fails, check accesskey
# 2 is first check accesskey (this can be dangerous)
set document.browse.accesskey.priority = 0
## document.browse.forms
# Options for handling of the forms interaction.
## document.browse.forms.auto_submit [0|1]
# Automagically submit a form when enter is pressed with a text
# field selected.
set document.browse.forms.auto_submit = 1
## document.browse.forms.confirm_submit [0|1]
# Ask for confirmation when submitting a form.
set document.browse.forms.confirm_submit = 1
## document.browse.forms.input_size <num>
# Default form input size if none is specified.
set document.browse.forms.input_size = 20
## document.browse.forms.insert_mode [0|1]
# 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.
set document.browse.forms.insert_mode = 1
## 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
# forms are unaffected.
set document.browse.forms.show_formhist = 0
## document.browse.images
# Options for handling of images.
## document.browse.images.display_style <num>
# Display style for image tags when displayed:
# 0 means always display IMG
# 1 means always display filename
# 2 means display alt/title attribute if possible, IMG if not
# 3 means display alt/title attribute if possible, filename if not
set document.browse.images.display_style = 2
## document.browse.images.filename_maxlen <num>
# Maximum length of image filename when displayed:
# 0 means always display full filename
# 1-500 means display filename with this maximal length;
# if it is longer, the middle is substituted by an asterisk
set document.browse.images.filename_maxlen = 0
## document.browse.images.image_link_tagging <num>
# When to enclose image links:
# 0 means never
# 1 means never if alt or title are provided (old behavior)
# 2 means always
set document.browse.images.image_link_tagging = 1
## document.browse.images.image_link_prefix <str>
# Prefix string to use to mark image links.
set document.browse.images.image_link_prefix = "["
## document.browse.images.image_link_suffix <str>
# Suffix string to use to mark image links.
set document.browse.images.image_link_suffix = "]"
## document.browse.images.label_maxlen <num>
# Maximum length of image label (alt/title):
# 0 means always display full label
# 1-500 means display label with this maximal length;
# if it is longer, the middle is substituted by an asterisk
set document.browse.images.label_maxlen = 0
## document.browse.images.show_as_links [0|1]
# Display links to images without an alt attribute. If this option
# is off, these images are completely invisible.
set document.browse.images.show_as_links = 0
## document.browse.images.show_any_as_links [0|1]
# Display links to any images in the document, regardless of them
# having an alt attribute or not. If this option is off, the alt
# attribute contents is shown, but as normal text, not selectable
# as a link.
set document.browse.images.show_any_as_links = 1
## document.browse.links
# Options for handling of links to other documents.
## document.browse.links.active_link
# Options for the active link.
## document.browse.links.active_link.colors
# Active link colors.
## document.browse.links.active_link.colors.background <color|#rrggbb>
# Default background color.
set document.browse.links.active_link.colors.background = "blue"
## document.browse.links.active_link.colors.text <color|#rrggbb>
# Default text color.
set document.browse.links.active_link.colors.text = "black"
## document.browse.links.active_link.enable_color [0|1]
# Enable use of the active link background and text color
# settings instead of the link colors from the document.
set document.browse.links.active_link.enable_color = 0
## document.browse.links.active_link.bold [0|1]
# Make the active link text bold.
set document.browse.links.active_link.bold = 0
## document.browse.links.active_link.invert [0|1]
# Invert the fore- and background color so the link stands out.
set document.browse.links.active_link.invert = 1
## document.browse.links.active_link.underline [0|1]
# Underline the active link.
set document.browse.links.active_link.underline = 0
## document.browse.links.color_dirs [0|1]
# Highlight links to directories in FTP and local directory listing.
set document.browse.links.color_dirs = 1
## document.browse.links.numbering [0|1]
# Display numbers next to the links.
set document.browse.links.numbering = 0
## document.browse.links.target_blank <num>
# Define how to handle links having target=_blank set:
# 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
set document.browse.links.target_blank = 0
## document.browse.links.use_tabindex [0|1]
# Whether to navigate links using tabindex specified ordering.
# The TABINDEX attribute in HTML elements specifies the order
# in which links should receive focus when using the keyboard
# to navigating the document.
set document.browse.links.use_tabindex = 1
## document.browse.links.number_keys_select_link <num>
# Number keys select links rather than specify command prefixes. This
# is a tristate:
# 0 means never
# 1 means if document.browse.links.numbering = 1
# 2 means always
set document.browse.links.number_keys_select_link = 1
## document.browse.links.warn_malicious [0|1]
# When following a link the user ID part of the URI is
# checked and if a maliciously crafted URI is detected a
# warning dialog will ask before following the link.
set document.browse.links.warn_malicious = 1
## document.browse.links.wraparound [0|1]
# When pressing 'down' on the last link, jump at the first one, and
# vice versa.
set document.browse.links.wraparound = 0
## document.browse.scrolling
# Scrolling options.
## document.browse.scrolling.horizontal_extended [0|1]
# Whether to allow horizontal scrolling when the document
# does not extend off the screen. Useful for copy/paste
# operations.
set document.browse.scrolling.horizontal_extended = 1
## document.browse.scrolling.horizontal_step <num>
# Number of columns to scroll when a key bound to scroll-left or scroll-
# right is pressed and no prefix was given.
set document.browse.scrolling.horizontal_step = 8
## document.browse.scrolling.margin <num>
# Size of the virtual margin - when you click inside of that margin,
# document scrolls in that direction.
set document.browse.scrolling.margin = 3
## document.browse.scrolling.vertical_step <num>
# Number of lines to scroll when a key bound to scroll-up or scroll-
# down is pressed and no prefix was given.
set document.browse.scrolling.vertical_step = 2
## document.browse.search
# Options for searching.
## document.browse.search.case [0|1]
# Whether the search should match the document text while maintaining
# case sensitivity.
set document.browse.search.case = 0
## document.browse.search.regex <num>
# Enable searching with regular expressions:
# 0 for plain text searching
# 1 for basic regular expression searches
# 2 for extended regular expression searches
set document.browse.search.regex = 0
## document.browse.search.show_hit_top_bottom [0|1]
# Whether to show a dialog when the search hits top or bottom of the
# document.
set document.browse.search.show_hit_top_bottom = 1
## document.browse.search.wraparound [0|1]
# Wrap around when searching. Currently only used for typeahead.
set document.browse.search.wraparound = 1
## document.browse.search.show_not_found <num>
# How to inform the user when nothing is matched:
# 0 means do nothing
# 1 means beep the terminal
# 2 means pop up message box
set document.browse.search.show_not_found = 2
## document.browse.search.typeahead <num>
# Start typeahead searching when an unbound key is pressed without
# any modifiers. Note that most keys have default bindings, so this
# feature will not be useful unless you unbind them.
#
# 0 disables this feature; typeahead searching will only be used
# when you press a key bound to search-typeahead or similar
# 1 automatically starts typeahead searching thru link text
# 2 automatically starts typeahead searching thru all document text
set document.browse.search.typeahead = 0
## document.browse.margin_width <num>
# Horizontal text margin.
set document.browse.margin_width = 3
## document.browse.refresh [0|1]
# Automatically follow document-specified refresh directives ('<meta>
# refresh' tags). Web-page authors use these to instruct the browser
# to reload a document at a given interval or to load another page.
# Regardless of the value the refresh URI is accessible as a link.
# Use the document.browse.minimum_refresh_time to control the minimum
# number of seconds a refresh will wait.
set document.browse.refresh = 1
## document.browse.minimum_refresh_time <num>
# The minimum number of milliseconds that should pass before
# refreshing. If set to zero the document refresh time is used
# unchanged. It can fix going back in history for some sites that
# use refreshing with zero values.
set document.browse.minimum_refresh_time = 1000
## document.browse.table_move_order [0|1]
# Move by columns in table, instead of rows.
set document.browse.table_move_order = 0
## document.cache
# Cache options.
## document.cache.format
# Format cache options.
## document.cache.format.size <num>
# Number of cached formatted pages. Do not get too generous
# here, 'formatted' means that all the accompanying structures
# are kept in memory so that you get the cached document
# immediatelly, but these structures may take a lot - 2x the
# size of the HTML source is probably not unusual, but it can
# be even more if the document consists of a lot of short lines
# (padded right, if possible) and links and not much other markup.
# So if you set this to 256 and then you don't like your ELinks
# eating 90M, don't come complaining to us. ;-)
# Also note that the format cache itself is not counted to the
# memory cache size, but the HTML source of the formatted documents
# is always cached, even if it is over the memory cache size
# threshold. (Then of course no other documents can be cached.)
set document.cache.format.size = 5
## document.cache.memory
# Memory cache options.
## document.cache.memory.size <num>
# Memory cache size (in bytes).
set document.cache.memory.size = 1M
## document.cache.cache_redirects [0|1]
# Cache even redirects sent by server (usually thru HTTP by a 302
# HTTP code and a Location header). This was the original behaviour
# for a quite some time, but it causes problems in a situation very
# common to various web login systems - frequently, when accessing
# certain location, they will redirect you to a login page if they
# don't receive an auth cookie, the login page then gives you the
# cookie and redirects you back to the original page, but there you
# have already cached redirect back to the login page! If this
# option has value of 0, this malfunction is fixed, but occasionally
# you may get superfluous (depends on how you take it ;-) requests to
# the server. If this option has value of 1, experienced users can
# still workaround it by clever combination of usage of reload,
# jumping around in session history and hitting ctrl+enter.
# Note that this option is checked when retrieving the information
# from cache, not when saving it to cache - thus if you will enable
# it, even previous redirects will be taken from cache instead of
# asking the server.
set document.cache.cache_redirects = 0
## document.cache.ignore_cache_control [0|1]
# Ignore Cache-Control and Pragma server headers.
# When set, the document is cached even with 'Cache-Control: no-cache'.
set document.cache.ignore_cache_control = 1
## document.codepage
# Charset options.
## document.codepage.assume <codepage>
# Default document codepage. 'System' stands for
# a codepage determined by a selected locale.
set document.codepage.assume = "System"
## document.codepage.force_assumed [0|1]
# Ignore charset info sent by server.
set document.codepage.force_assumed = 0
## document.colors
# Default document color settings.
## document.colors.text <color|#rrggbb>
# Default text color.
set document.colors.text = "gray75"
## document.colors.background <color|#rrggbb>
# Default background color.
set document.colors.background = "black"
## document.colors.link <color|#rrggbb>
# Default link color.
set document.colors.link = "blue"
## document.colors.vlink <color|#rrggbb>
# Default visited link color.
set document.colors.vlink = "yellow"
## document.colors.image <color|#rrggbb>
# Default image link color.
set document.colors.image = "darkolivegreen"
## document.colors.bookmark <color|#rrggbb>
# Default bookmarked link color.
set document.colors.bookmark = "hotpink"
## document.colors.dirs <color|#rrggbb>
# Default directory color.
# 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.ensure_contrast [0|1]
# Makes sure that the back- and foreground color are never equal.
set document.colors.ensure_contrast = 1
## document.colors.use_document_colors <num>
# Use colors specified in document:
# 0 is use always the default settings
# 1 is use document colors if available, except background
# 2 is use document colors, including background. This can
# mostly look very impressive, but some sites will appear
# really ugly. Note, that obviously if the background is
# not black, it will break the behaviour of transparency.
set document.colors.use_document_colors = 2
## document.css
# Options concerning how to use CSS for styling documents.
## document.css.enable [0|1]
# Enable adding of CSS style info to documents.
set document.css.enable = 1
## document.css.import [0|1]
# When enabled any external style sheets that are imported from
# either CSS itself using the @import keyword or from the HTML using
# <link> tags in the document header will also be downloaded.
set document.css.import = 1
## document.css.stylesheet <str>
# The path to the file containing the default user defined
# Cascading Style Sheet. It can be used to control the basic
# layout of HTML documents. The path is assumed to be relative
# to ELinks' home directory.
# Leave as "" to use built-in document styling.
set document.css.stylesheet = ""
## document.download
# Options regarding files downloading and handling.
## document.download.directory <str>
# Default download directory.
set document.download.directory = "./"
## document.download.set_original_time [0|1]
# Set the timestamp of each downloaded file to the timestamp
# stored on the server.
set document.download.set_original_time = 0
## document.download.overwrite <num>
# Prevent overwriting the local files:
# 0 is files will silently be overwritten
# 1 is add a suffix .{number} (for example '.1') to the name
# 2 is ask the user
set document.download.overwrite = 2
## document.download.notify_bell <num>
# Audio notification when download is completed:
# 0 is never
# 1 is when background notification is active
# 2 is always
set document.download.notify_bell = 0
## document.dump
# Dump output options.
## document.dump.codepage <codepage>
# Codepage used in dump output. 'System' stands for
# 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.footer <str>
# Footer string used in dumps. %u is substituted by URL.
set document.dump.footer = ""
## document.dump.separator <str>
# String which separates two dumps.
set document.dump.separator = "
"
## document.dump.width <num>
# Width of screen in characters when dumping documents.
set document.dump.width = 80
## document.history
# History options.
## document.history.global
# Global history options.
## document.history.global.enable [0|1]
# Enable global history ("history of all pages visited").
set document.history.global.enable = 1
## document.history.global.max_items <num>
# Maximum number of entries in the global history.
set document.history.global.max_items = 1k
## document.history.global.display_type <num>
# What to display in global history dialog:
# 0 is URLs
# 1 is page titles
set document.history.global.display_type = 0
## document.history.keep_unhistory [0|1]
# Keep unhistory ("forward history").
set document.history.keep_unhistory = 1
## document.html
# Options concerning the display of HTML pages.
## document.html.display_frames [0|1]
# Display frames.
set document.html.display_frames = 1
## document.html.display_tables [0|1]
# Display tables.
set document.html.display_tables = 1
## document.html.display_subs [0|1]
# Display subscripts (as [thing]).
set document.html.display_subs = 1
## document.html.display_sups [0|1]
# Display superscripts (as ^thing).
set document.html.display_sups = 1
## document.html.link_display <num>
# How to render <link> tags from the HTML header:
# 0 is nothing
# 1 is title
# 2 is name in addition
# 3 is hreflang in addition
# 4 is type in addition
# 5 is everything
set document.html.link_display = 2
## document.html.underline_links [0|1]
# Underline links.
set document.html.underline_links = 0
## document.html.wrap_nbsp [0|1]
# If set do not honour non breaking space (the nbsp entity)
# but allow to wrap the text. This can help keeping the width
# of documents down so no horizontal scrolling is needed.
set document.html.wrap_nbsp = 0
## document.plain
# Options concerning the display of plain text pages.
## document.plain.display_links [0|1]
# Display URIs in the document as links.
set document.plain.display_links = 0
## document.plain.compress_empty_lines [0|1]
# Compress successive empty lines to only one in displayed text.
set document.plain.compress_empty_lines = 0
## document.uri_passing
# Rules for passing URIs to external commands.
## ecmascript
# ECMAScript options.
## ecmascript.enable [0|1]
# Whether to run those scripts inside of documents.
set ecmascript.enable = 1
## ecmascript.error_reporting [0|1]
# Open a message box when a script reports an error.
set ecmascript.error_reporting = 0
## ecmascript.max_exec_time <num>
# Maximum execution time in seconds for a script.
set ecmascript.max_exec_time = 5
## ecmascript.block_window_opening [0|1]
# Whether to disallow scripts to open new windows or tabs.
set ecmascript.block_window_opening = 0
## infofiles
# Options for information files in ~/.elinks.
## infofiles.save_interval <num>
# Interval at which to trigger information files in ~/.elinks
# to be saved to disk if they has changed (seconds; 0 to disable)
set infofiles.save_interval = 300
## infofiles.secure_save [0|1]
# First write data to unique temporary file, then rename this file
# upon successfully finishing this. Note that this relates only to
# config files, not downloaded files. You may want to disable
# it if you are using some exotic permissions for concerned files.
# Secure file saving is automagically disabled if file is symlink.
# Warning: some systems (ie. OS/2, Win32) require that destination
# file doesn't exist when rename(3) is called, breaking atomicity,
# and reducing reliability of this feature.
set infofiles.secure_save = 1
## infofiles.secure_save_fsync [0|1]
# When using secure file saving, call fsync(3), if the OS
# supports it, to force the OS immediately to write the data
# to permanent storage. This is optional for those who wish
# to avoid excessive disk I/O.
set infofiles.secure_save_fsync = 1
## mime
# MIME-related options (handlers of various MIME types).
## mime.extension
# Extension <-> MIME type association.
## mime.extension.gif <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.gif = "image/gif"
## mime.extension.jpg <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.jpg = "image/jpg"
## mime.extension.jpeg <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.jpeg = "image/jpeg"
## mime.extension.png <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.png = "image/png"
## mime.extension.txt <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.txt = "text/plain"
## mime.extension.htm <str>
# MIME-type matching this file extension ('*' is used here in place
# of '.').
set mime.extension.htm = "text/html"
## mime.handler
# A file type handler is a set of information about how to use
# an external program to view a file. It is possible to refer to it
# for several MIME types -- e.g., you can define an 'image' handler
# to which mime.type.image.png, mime.type.image.jpeg, and so on will
# refer; or one might define a handler for a more specific type of file
# -- e.g., PDF files.
# Note you must define both a MIME handler and a MIME type association
# for it to work.
## mime.mailcap
# Options for mailcap support.
## mime.mailcap.enable [0|1]
# Enable mailcap support.
set mime.mailcap.enable = 1
## mime.mailcap.path <str>
# Mailcap search path. Colon-separated list of files.
# Leave as "" to use MAILCAP environment variable instead.
set mime.mailcap.path = "~/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap:/usr/share/mailcap:/usr/share/misc/mailcap"
## mime.mailcap.ask [0|1]
# Ask before using the handlers defined by mailcap.
set mime.mailcap.ask = 1
## mime.mailcap.description <num>
# Type of description to show in "what to do with this file"
# query dialog:
# 0 is show "mailcap"
# 1 is show program to be run
# 2 is show mailcap description field if any; "mailcap" otherwise
set mime.mailcap.description = 0
## mime.mailcap.prioritize [0|1]
# Prioritize entries by the order of the files in the mailcap
# path. This means that wildcard entries (like: image/*) will
# also be checked before deciding the handler.
set mime.mailcap.prioritize = 1
## mime.mimetypes
# Options for the support of mime.types files. These files
# can be used to find the content type of an URL by looking at
# the extension of the file name.
## mime.mimetypes.enable [0|1]
# Enable mime.types support.
set mime.mimetypes.enable = 1
## mime.mimetypes.path <str>
# The search path for mime.types files. Colon-separated list of files.
set mime.mimetypes.path = "~/.mime.types:/etc/mime.types:/usr/etc/mime.types:/usr/local/etc/mime.types:/usr/share/mime.types:/usr/share/misc/mime.types"
## mime.type
# Handler <-> MIME type association. The first sub-tree is the MIME
# class while the second sub-tree is the MIME type (ie. image/gif
# handler will reside at mime.type.image.gif). Each MIME type option
# should contain (case-sensitive) name of the MIME handler (its
# properties are stored at mime.handler.<name>).
## mime.default_type <str>
# Document MIME-type to assume by default (when we are unable to
# guess it properly from known information about the document).
set mime.default_type = "application/octet-stream"
## protocol
# Protocol specific options.
## 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
# /dev/zero can ruin your day!
set protocol.file.allow_special_files = 0
## protocol.file.show_hidden_files [0|1]
# When set to false, files with name starting with a dot will be
# hidden in local directories listing.
set protocol.file.show_hidden_files = 1
## protocol.file.try_encoding_extensions [0|1]
# When set, if we can't open a file named 'filename', we'll try
# to open 'filename' with some encoding extension appended
# (ie. 'filename.gz'); it depends on the supported encodings.
set protocol.file.try_encoding_extensions = 1
## protocol.ftp
# FTP specific options.
## protocol.ftp.proxy
# FTP proxy configuration.
## protocol.ftp.proxy.host <str>
# Host and port-number (host:port) of the FTP proxy, or blank.
# If it's blank, FTP_PROXY environment variable is checked as well.
set protocol.ftp.proxy.host = ""
## protocol.ftp.anon_passwd <str>
# FTP anonymous password to be sent.
set protocol.ftp.anon_passwd = "some@host.domain"
## protocol.ftp.use_pasv [0|1]
# Use PASV instead of PORT (passive vs active mode, IPv4 only).
set protocol.ftp.use_pasv = 1
## protocol.ftp.use_epsv [0|1]
# Use EPSV instead of EPRT (passive vs active mode, IPv6 only).
set protocol.ftp.use_epsv = 0
## protocol.http
# HTTP-specific options.
## protocol.http.bugs
# Server-side HTTP bugs workarounds.
## protocol.http.bugs.accept_charset [0|1]
# The Accept-Charset header is quite long and sending it can trigger
# bugs in some rarely found servers.
set protocol.http.bugs.accept_charset = 1
## protocol.http.bugs.allow_blacklist [0|1]
# Allow blacklisting of buggy servers.
set protocol.http.bugs.allow_blacklist = 1
## protocol.http.bugs.broken_302_redirect [0|1]
# Broken 302 redirect (violates RFC but compatible with Netscape).
# This is a problem for a lot of web discussion boards and the like.
# If they will do strange things to you, try to play with this.
set protocol.http.bugs.broken_302_redirect = 1
## protocol.http.bugs.post_no_keepalive [0|1]
# Disable keepalive connection after POST request.
set protocol.http.bugs.post_no_keepalive = 0
## protocol.http.bugs.http10 [0|1]
# Use HTTP/1.0 protocol instead of HTTP/1.1.
set protocol.http.bugs.http10 = 0
## protocol.http.proxy
# HTTP proxy configuration.
## protocol.http.proxy.host <str>
# Host and port-number (host:port) of the HTTP proxy, or blank.
# If it's blank, HTTP_PROXY environment variable is checked as well.
set protocol.http.proxy.host = ""
## protocol.http.proxy.user <str>
# Proxy authentication username.
set protocol.http.proxy.user = ""
## protocol.http.proxy.passwd <str>
# Proxy authentication password.
set protocol.http.proxy.passwd = ""
## protocol.http.referer
# HTTP referer sending options. HTTP referer is a special header
# sent in the HTTP requests, which is supposed to contain the previous
# page visited by the browser. This way, the server can know what link
# did you follow when accessing that page. However, this behaviour
# can unfortunately considerably affect privacy and can lead even to a
# security problem on some badly designed web pages.
## protocol.http.referer.policy <num>
# Mode of sending HTTP referer:
# 0 is send no referer
# 1 is send current URL as referer
# 2 is send fixed fake referer
# 3 is send previous URL as referer (correct, but insecure)
set protocol.http.referer.policy = 3
## protocol.http.referer.fake <str>
# Fake referer to be sent when policy is 2.
set protocol.http.referer.fake = ""
## protocol.http.accept_language <str>
# Send Accept-Language header.
set protocol.http.accept_language = ""
## protocol.http.accept_ui_language [0|1]
# Request localised versions of documents from web-servers (using the
# Accept-Language header) using the language you have configured for
# ELinks' user-interface (this also affects navigator.language ECMAScript
# value available to scripts). Note that some see this as a potential
# security risk because it tells web-masters and the FBI sniffers about
# your language preference.
set protocol.http.accept_ui_language = 1
## protocol.http.trace [0|1]
# If active, all HTTP requests are sent with TRACE as their method
# rather than GET or POST. This is useful for debugging of both ELinks
# and various server-side scripts --- the server only returns the client's
# request back to the client verbatim. Note that this type of request may
# not be enabled on all servers.
set protocol.http.trace = 0
## protocol.http.user_agent <str>
# Change the User Agent ID. That means identification string, which
# is sent to HTTP server when a document is requested. The 'textmode'
# token in the first field is our silent attempt to establish this as
# a standard for new textmode user agents, so that the webmasters can
# have just a single uniform test for these if they are ie. pushing
# some lite version to them automagically.
# %v in the string means ELinks version
# %s in the string means system identification
# %t in the string means size of the terminal
# %b in the string means number of bars displayed by ELinks
# Use " " if you don't want any User-Agent header to be sent at all.
set protocol.http.user_agent = "ELinks/%v (textmode; %s; %t-%b)"
## protocol.https
# HTTPS-specific options.
## protocol.https.proxy
# HTTPS proxy configuration.
## protocol.https.proxy.host <str>
# Host and port-number (host:port) of the HTTPS CONNECT proxy, or blank.
# If it's blank, HTTPS_PROXY environment variable is checked as well.
set protocol.https.proxy.host = ""
## protocol.nntp
# NNTP and news specific options.
## protocol.nntp.server <str>
# Used when resolving news: URIs. If set to the empty string
# the value of the NNTPSERVER environment variable will be used.
set protocol.nntp.server = ""
## protocol.nntp.header_entries <str>
# Comma separated list of which entries in the article header
# to show. E.g. 'Subject' and 'From'.
# All header entries can be read in the header info dialog.
set protocol.nntp.header_entries = "Subject,From,Date,Message-ID,Newsgroups"
## protocol.rewrite
# Rules for rewriting URIs entered in the goto dialog.
# It makes it possible to define a set of prefixes that will
# be expanded if they match a string entered in the goto dialog.
# The prefixes can be dumb, meaning that they work only like
# URI abbreviations, or smart ones, making it possible to pass
# arguments to them like search engine keywords.
## protocol.rewrite.dumb
# Dumb prefixes, see enable-dumb description for details.
## protocol.rewrite.dumb.arc <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.arc = "http://web.archive.org/web/*/%c"
## protocol.rewrite.dumb.b <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.b = "http://babelfish.altavista.com/babelfish/tr"
## protocol.rewrite.dumb.bug <str>
# 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/"
## 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/"
## protocol.rewrite.dumb.cia <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.cia = "http://cia.navi.cx/"
## protocol.rewrite.dumb.d <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.d = "http://www.dict.org"
## protocol.rewrite.dumb.dbug <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.dbug = "http://bugs.debian.org/"
## protocol.rewrite.dumb.documentation <str>
# 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"
## protocol.rewrite.dumb.dpkg <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.dpkg = "http://packages.debian.org/"
## protocol.rewrite.dumb.e2 <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.e2 = "http://www.everything2.org/"
## protocol.rewrite.dumb.elinks <str>
# 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/"
## protocol.rewrite.dumb.fm <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.fm = "http://freshmeat.net/"
## protocol.rewrite.dumb.g <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.g = "http://www.google.com/"
## protocol.rewrite.dumb.gg <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.gg = "http://www.google.com/"
## protocol.rewrite.dumb.go <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.go = "http://www.google.com/"
## protocol.rewrite.dumb.lua <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.lua = "file:///usr/share/doc/lua40-doc/manual/idx.html"
## protocol.rewrite.dumb.pycur <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.pycur = "http://www.python.org/doc/current/"
## protocol.rewrite.dumb.pydev <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.pydev = "http://www.python.org/dev/doc/devel/"
## protocol.rewrite.dumb.pyhelp <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.pyhelp = "http://starship.python.net/crew/theller/pyhelp.cgi"
## protocol.rewrite.dumb.pyvault <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.pyvault = "http://www.vex.net/parnassus/"
## protocol.rewrite.dumb.sd <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.sd = "http://slashdot.org/"
## protocol.rewrite.dumb.sf <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.sf = "http://www.sourceforge.net/"
## protocol.rewrite.dumb.vcss <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.vcss = "http://jigsaw.w3.org/css-validator/validator?uri=%c"
## protocol.rewrite.dumb.vhtml <str>
# Replacement URI for this dumbprefix:
# %c in the string means the current URL
# %% in the string means '%'
set protocol.rewrite.dumb.vhtml = "http://validator.w3.org/check?uri=%c"
## protocol.rewrite.smart
# Smart prefixes, see enable-smart description for details.
## protocol.rewrite.smart.a <str>
# Replacement URI for this smartprefix:
# %c in the string means the current URL
# %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.a = "http://acronymfinder.com/af-query.asp?String=exact&Acronym=%s"
## protocol.rewrite.smart.arc <str>
# Replacement URI for this smartprefix:
# %c in the string means the current URL
# %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.arc = "http://web.archive.org/web/*/%s"
## protocol.rewrite.smart.bb <str>
# Replacement URI for this smartprefix:
# %c in the string means the current URL
# %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.bb = "http://babelfish.altavista.com/babelfish/tr?urltext=%s"
## protocol.rewrite.smart.bb_en_fr <str>
# Replacement URI for this smartprefix:
# %c in the string means the current URL
# %s in the string means the whole argument to smartprefix