elinks.conf

package: elinks

title: elinks.conf(5)

summary: ELinks configuration file

text:
# elinks.conf(5)

## NAME
elinks.conf - ELinks configuration file

## SYNOPSIS

```
set        <option> = <value>
set_domain <domain> <option> = <value>
unset      <option>
bind       "<keymap>" "<key>" = "<action>"
include    "<file>"
```

## DESCRIPTION
The elinks.conf file contains configuration information for ELinks. It can be used to configure the behaviour of ELinks in a wide variety of ways: protocol behaviour, keybindings, colors used for rendering and for the user interface.

It is read at startup and saved only when requested. All options described in this document can be fully configured from within ELinks so no editing of elinks.conf is needed.

Note that MIME-related options used for specifying handlers of various MIME types are NOT described in this document. Documentation for these options can be found at the ELinks homepage. Keybindings can also be specified in elinks.conf. This is described in elinkskeys(5).

## SYNTAX
The syntax of the configuration file is very simple. The elinks.conf file is a free-form ASCII text file. The file may contain extra tabs and newlines for formatting purposes. Keywords in the file are case-sensitive. Comments may be placed anywhere within the file (except within quotes). Comments begin with the # character and end at the end of the line.

## EXAMPLES
Some sample settings:

```
# Use asynchronous DNS resolver?
set connection.async_dns = 1
# horizontal text margin.
set document.browse.margin_width = 3
# Default document codepage.
set document.codepage.assume = "ISO-8859-1"
# User defined protocol handlers
set protocol.user.mailto.unix = "mutt %h -s \"%s\""
```

## OPTIONS
Generated using output from ELinks version 0.13.GIT.

### bookmarks (Bookmarks)
Bookmark options.

bookmarks.file_format <num> (default: 0)

File format for bookmarks (affects both reading and saving):

•0 is the default native ELinks format

•1 is XBEL universal XML bookmarks format

bookmarks.folder_state [0|1] (default: 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.

### config (Configuration system)
Configuration handling options.

config.comments <num> (default: 3)

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

config.indentation <num> (default: 2)

Shift width of one indentation level in the configuration file. Zero means that no indentation is performed at all when saving the configuration.

config.saving_style <num> (default: 3)

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

config.i18n [0|1] (default: 0)

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.

config.saving_style_w [0|1] (default: 0)

This is internal option used when displaying a warning about obsolete config.saving_style. You shouldn´t touch it.

config.show_template [0|1] (default: 0)

Show template options in autocreated trees in the options manager and save them to the configuration file.

### connection (Connections)
Connection options.

connection.async_dns [0|1] (default: 1)

Whether to use asynchronous DNS resolving.

connection.max_connections <num> (default: 10)

Maximum number of concurrent connections.

connection.max_connections_to_host <num> (default: 2)

Maximum number of concurrent connections to a given host.

connection.receive_timeout <num> (default: 120)

Receive timeout (in seconds).

connection.retries <num> (default: 3)

Number of tries to establish a connection. Zero means try forever.

connection.try_ipv4 [0|1] (default: 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 a URL in the style of e.g. http4://elinks.cz/.

connection.try_ipv6 [0|1] (default: 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 a URL in the style of e.g. http6://elinks.cz/.

connection.unrestartable_receive_timeout <num> (default: 600)

Timeout for non-restartable connections (in seconds).

### connection.ssl (SSL)
SSL options.

connection.ssl.cert_verify [0|1] (default: 0)

Verify the peer´s SSL certificate. Note that this needs extensive configuration of OpenSSL by the user.

connection.ssl.https_by_default [0|1] (default: 0)

Use HTTPS when a URL scheme is not provided.

### connection.ssl.client_cert (Client Certificates)
X509 client certificate options.

connection.ssl.client_cert.enable [0|1] (default: 0)

Enable or not the sending of X509 client certificates to servers which request them.

connection.ssl.client_cert.file <str> (default: "")

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.

### cookies (Cookies)
Cookies options.

cookies.accept_policy <num> (default: 2)

Cookies accepting policy:

•0 is accept no cookies

•1 is ask for confirmation before accepting cookie

•2 is accept all cookies

cookies.max_age <num> (default: -1)

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

cookies.paranoid_security [0|1] (default: 0)

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.

cookies.save [0|1] (default: 1)

Whether cookies should be loaded from and saved to disk.

cookies.resave [0|1] (default: 1)

Save cookies after each change in cookies list? No effect when cookie saving (cookies.save) is off.

### document (Document)
Document options.

### document.browse (Browsing)
Document browsing options (mainly interactivity).

document.browse.margin_width <num> (default: 3)

Horizontal text margin.

document.browse.refresh [0|1] (default: 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.

document.browse.minimum_refresh_time <num> (default: 1000)

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.

document.browse.table_move_order [0|1] (default: 0)

Move by columns in table, instead of rows.

### document.browse.accesskey (Access keys)
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] (default: 0)

Automatically follow a link or submit a form if appropriate accesskey is pressed – this is the standard behaviour, but it´s considered dangerous.

document.browse.accesskey.display [0|1] (default: 0)

Display access key in link info.

document.browse.accesskey.priority <num> (default: 0)

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)

### document.browse.forms (Forms)
Options for handling of the forms interaction.

document.browse.forms.auto_submit [0|1] (default: 1)

Automagically submit a form when enter is pressed with a text field selected.

document.browse.forms.confirm_submit [0|1] (default: 1)

Ask for confirmation when submitting a form.

document.browse.forms.input_size <num> (default: 20)

Default form input size if none is specified.

document.browse.forms.insert_mode [0|1] (default: 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 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.

document.browse.forms.editor <str> (default: "")

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.

document.browse.forms.show_formhist [0|1] (default: 0)

Ask if a login form should be saved to file or not. This option only disables the dialog, already saved login forms are unaffected.

### document.browse.images (Images)
Options for handling of images.

document.browse.images.display_style <num> (default: 2)

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

document.browse.images.filename_maxlen <num> (default: 0)

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

document.browse.images.image_link_tagging <num> (default: 1)

When to enclose image links:

•0 means never

•1 means never if alt or title are provided (old behavior)

•2 means always

document.browse.images.image_link_prefix <str> (default: "[")

Prefix string to use to mark image links.

document.browse.images.image_link_suffix <str> (default: "]")

Suffix string to use to mark image links.

document.browse.images.label_maxlen <num> (default: 0)

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

document.browse.images.show_as_links [0|1] (default: 0)

Display links to images without an alt attribute. If this option is off, these images are completely invisible.

document.browse.images.show_any_as_links [0|1] (default: 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.

### document.browse.links (Links)
Options for handling of links to other documents.

document.browse.links.color_dirs [0|1] (default: 1)

Highlight links to directories in FTP and local directory listing.

document.browse.links.numbering [0|1] (default: 0)

Display numbers next to the links.

document.browse.links.target_blank <num> (default: 0)

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

•3 means open link in new window

document.browse.links.use_tabindex [0|1] (default: 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 navigate the document.

document.browse.links.missing_fragment [0|1] (default: 1)

Open a message box when document has no tag with given id.

document.browse.links.number_keys_select_link <num> (default: 1)

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

document.browse.links.warn_malicious [0|1] (default: 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.

document.browse.links.wraparound [0|1] (default: 0)

When pressing ´down´ on the last link, jump to the first one, and vice versa.

### document.browse.links.active_link (Active link)
Options for the active link.

document.browse.links.active_link.enable_color [0|1] (default: 0)

Enable use of the active link background and text color settings instead of the link colors from the document.

document.browse.links.active_link.bold [0|1] (default: 0)

Make the active link text bold.

document.browse.links.active_link.invert [0|1] (default: 1)

Invert the fore- and background color so the link stands out.

document.browse.links.active_link.underline [0|1] (default: 0)

Underline the active link.

### document.browse.links.active_link.colors (Colors)
Active link colors.

document.browse.links.active_link.colors.background <color|#rrggbb> (default: blue)

Default background color.

document.browse.links.active_link.colors.text <color|#rrggbb> (default: black)

Default text color.

### document.browse.scrolling (Scrolling)
Scrolling options.

document.browse.scrolling.horizontal_extended [0|1] (default: 1)

Whether to allow horizontal scrolling when the document does not extend off the screen. Useful for copy/paste operations.

document.browse.scrolling.horizontal_step <num> (default: 8)

Number of columns to scroll when a key bound to scroll-left or scroll-right is pressed and no prefix was given.

document.browse.scrolling.margin <num> (default: 3)

Size of the virtual margin – when you click inside of that margin, document scrolls in that direction.

document.browse.scrolling.vertical_overlap <num> (default: 0)

Number of overlapping lines between the new page displayed and the previous one when scrolling one page up or down.

document.browse.scrolling.vertical_step <num> (default: 2)

Number of lines to scroll when a key bound to scroll-up or scroll-down is pressed and no prefix was given.

### document.browse.search (Searching)
Options for searching.

document.browse.search.case [0|1] (default: 0)

Whether the search should match the document text while maintaining case sensitivity.

document.browse.search.regex <num> (default: 0)

Enable searching with regular expressions:

•0 for plain text searching

•1 for basic regular expression searches

•2 for extended regular expression searches

document.browse.search.show_hit_top_bottom [0|1] (default: 1)

Whether to show a dialog when the search hits the top or bottom of the document.

document.browse.search.wraparound [0|1] (default: 1)

Wrap around when searching. Currently only used for typeahead.

document.browse.search.show_not_found <num> (default: 2)

How to inform the user when nothing is matched:

•0 means do nothing

•1 means beep the terminal

•2 means pop up message box

document.browse.search.typeahead <num> (default: 0)

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

### document.cache (Cache)
Cache options.

document.cache.cache_redirects [0|1] (default: 0)

Cache even redirects sent by server (usually thru HTTP by a 302 HTTP code and a Location header). This was the original behaviour for quite some time, but it causes problems in a situation very common to various web login systems – frequently, when accessing a 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 enable it, even previous redirects will be taken from cache instead of asking the server.

document.cache.ignore_cache_control [0|1] (default: 1)

Ignore Cache-Control and Pragma server headers. When set, the document is cached even with ´Cache-Control: no-cache´.

document.cache.revalidation_interval <num> (default: -1)

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.

### document.cache.format (Formatted documents)
Format cache options.

document.cache.format.size <num> (default: 5)

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 immediately, 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.)

### document.cache.memory (Memory cache)
Memory cache options.

document.cache.memory.size <num> (default: 1048576)

Memory cache size (in bytes).

### document.codepage (Charset)
Charset options.

document.codepage.assume <codepage> (default: System)

Default document codepage. ´System´ stands for a codepage determined by a selected locale.

document.codepage.force_assumed [0|1] (default: 0)

Ignore charset info sent by server.

### document.colors (Default color settings)
Default document color settings.

document.colors.text <color|#rrggbb> (default: gray75)

Default text color.

document.colors.background <color|#rrggbb> (default: black)

Default background color.

document.colors.link <color|#rrggbb> (default: blue)

Default link color.

document.colors.vlink <color|#rrggbb> (default: yellow)

Default visited link color.

document.colors.image <color|#rrggbb> (default: darkolivegreen)

Default image link color.

document.colors.bookmark <color|#rrggbb> (default: hotpink)

Default bookmarked link color.

document.colors.dirs <color|#rrggbb> (default: yellow)

Default directory color. See document.browse.links.color_dirs option.

document.colors.increase_contrast [0|1] (default: 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.

document.colors.ensure_contrast [0|1] (default: 1)

Makes sure that the back- and foreground colors are never equal.

document.colors.use_document_colors <num> (default: 2)

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.

### document.css (Cascading Style Sheets)
Options concerning how to use CSS for styling documents.

document.css.enable [0|1] (default: 1)

Enable adding of CSS style info to documents.

document.css.ignore_display_none [0|1] (default: 1)

When enabled, elements are rendered, even when their display property has the value "none". Because ELinks´s CSS support is still very incomplete, this setting can improve the way that some documents are rendered.

document.css.import [0|1] (default: 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.

document.css.media <str> (default: "tty")

CSS media types that ELinks claims to support, separated with commas. The "all" type is implied. Currently, only ASCII characters work reliably here. See CSS2 section 7: http://www.w3.org/TR/1998/REC-CSS2-19980512/media.html

document.css.stylesheet <str> (default: "")

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.

### document.download (Downloading)
Options regarding files downloading and handling.

document.download.directory <str> (default: "./")

Default download directory.

document.download.set_original_time [0|1] (default: 0)

Set the timestamp of each downloaded file to the timestamp stored on the server.

document.download.overwrite <num> (default: 2)

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

document.download.notify_bell <num> (default: 0)

Audio notification when download is completed:

•0 is never

•1 is when background notification is active

•2 is always

### document.dump (Dump output)
Dump output options.

document.dump.codepage <codepage> (default: System)

Codepage used in dump output. ´System´ stands for a codepage determined by a selected locale.

document.dump.color_mode <num> (default: -1)

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

document.dump.footer <str> (default: "")

Footer string used in dumps. %u is substituted by URL.

document.dump.header <str> (default: "")

Header string used in dumps. %u is substituted by URL.

document.dump.numbering [0|1] (default: 1)

Whether to print link numbers in dump output.

document.dump.references [0|1] (default: 1)

Whether to print references (URIs) of document links in dump output.

document.dump.separator <str> (default: " ")

String which separates two dumps.

document.dump.width <num> (default: 80)

Width of screen in characters when dumping documents.

### document.history (History)
History options.

document.history.keep_unhistory [0|1] (default: 1)

Keep unhistory ("forward history").

### document.history.global (Global history)
Global history options.

document.history.global.enable [0|1] (default: 1)

Enable global history ("history of all pages visited").

document.history.global.max_items <num> (default: 1024)

Maximum number of entries in the global history.

document.history.global.display_type <num> (default: 0)

What to display in global history dialog:

•0 is URLs

•1 is page titles

### document.html (HTML rendering)
Options concerning the display of HTML pages.

document.html.display_frames [0|1] (default: 1)

Display frames.

document.html.display_tables [0|1] (default: 1)

Display tables.

document.html.display_subs [0|1] (default: 1)

Display subscripts (as [thing]).

document.html.display_sups [0|1] (default: 1)

Display superscripts (as ^thing).

document.html.link_display <num> (default: 2)

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

document.html.underline_links [0|1] (default: 0)

Underline links.

document.html.wrap_nbsp [0|1] (default: 0)

If set do not honour non breaking space (the nbsp entity) but allows one to wrap the text. This can help keeping the width of documents down so no horizontal scrolling is needed.

### document.plain (Plain rendering)
Options concerning the display of plain text pages.

document.plain.display_links [0|1] (default: 0)

Display URIs in the document as links.

document.plain.compress_empty_lines [0|1] (default: 0)

Compress successive empty lines to only one in displayed text.

### document.uri_passing (URI passing)
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 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. The commands are also available by binding keys to the frame-external-command, the link-external-command and the tab-external-command actions.

### document.uri_passing._template_ (URI passing)
Definition of an external program that can be passed URIs.

document.uri_passing._template_.command <str> (default: "")

A rule for passing URI to an external command. The format is:

•%c in the string means the current URL

•%% in the string means ´%´

Do not put single- or double-quotes around %c.

document.uri_passing._template_.foreground (default: 0)

External commands run in the background by default: elinks is still active, and they do not receive standard input. This suboption allows reverses this behaviour: the command receives standard input and elinks is blocked.

### ecmascript (ECMAScript)
ECMAScript options.

ecmascript.enable [0|1] (default: 0)

Whether to run those scripts inside of documents.

ecmascript.error_reporting [0|1] (default: 0)

Open a message box when a script reports an error.

ecmascript.ignore_noscript [0|1] (default: 0)

Whether to ignore content enclosed by the <noscript> tag when ECMAScript is enabled.

ecmascript.max_exec_time <num> (default: 5)

Maximum execution time in seconds for a script.

ecmascript.block_window_opening [0|1] (default: 0)

Whether to disallow scripts to open new windows or tabs.

### infofiles (Information files)
Options for information files in ~/.elinks.

infofiles.save_interval <num> (default: 300)

Interval at which to trigger information files in ~/.elinks to be saved to disk if they have changed (seconds; 0 to disable)

infofiles.secure_save [0|1] (default: 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.

infofiles.secure_save_fsync [0|1] (default: 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.

### mime (MIME)
MIME-related options (handlers of various MIME types).

mime.default_type <str> (default: "application/octet-stream")

Document MIME-type to assume by default (when we are unable to guess it properly from known information about the document).

### mime.extension (File extension associations)
Extension ↔ MIME type association.

mime.extension._template_ <str> (default: "")

MIME-type matching this file extension (´*´ is used here in place of ´.´).

### mime.handler (File type handlers)
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.handler._template_ (Template option folder)
Description of this handler.

### mime.handler._template_._template_ (Template option folder)
System-specific handler description (ie. unix, unix-xwin, ...).

mime.handler._template_._template_.ask [0|1] (default: 1)

Ask before opening.

mime.handler._template_._template_.block [0|1] (default: 1)

Block the terminal when the handler is running.

mime.handler._template_._template_.program <str> (default: "")

External viewer for this file type. ´%´ in this string will be substituted by a file name. Do not put single- or double-quotes around the % sign.

### mime.mailcap (Mailcap)
Options for mailcap support.

mime.mailcap.enable [0|1] (default: 1)

Enable mailcap support.

mime.mailcap.path <str> (default: "~/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap:/usr/share/mailcap:/usr/share/misc/mailcap")

Mailcap search path. Colon-separated list of files. Leave as "" to use MAILCAP environment variable instead.

mime.mailcap.ask [0|1] (default: 1)

Ask before using the handlers defined by mailcap.

mime.mailcap.description <num> (default: 0)

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

mime.mailcap.prioritize [0|1] (default: 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.

### mime.mimetypes (Mimetypes files)
Options for the support of mime.types files. These files can be used to find the content type of a URL by looking at the extension of the file name.

mime.mimetypes.enable [0|1] (default: 1)

Enable mime.types support.

mime.mimetypes.path <str> (default: "~/.mime.types:/etc/mime.types:/usr/etc/mime.types:/usr/local/etc/mime.types:/usr/share/mime.types:/usr/share/misc/mime.types")

The search path for mime.types files. Colon-separated list of files.

### mime.type (MIME type associations)
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.type._template_ (Template option folder)
Handler matching this MIME-type class (´*´ is used here in place of ´.´).

mime.type._template_._template_ <str> (default: "")

Handler matching this MIME-type name (´*´ is used here in place of ´.´).

### protocol (Protocols)
Protocol specific options.

protocol.no_proxy <str> (default: "")

Comma separated list of domains for which the proxy (HTTP/FTP) should be disabled. Optionally, a port can be specified for some domains as well. If it´s blank, NO_PROXY environment variable is checked as well.

### protocol.bittorrent (BitTorrent)
BitTorrent specific options.

protocol.bittorrent.piece_cache_size <num> (default: 1048576)

The maximum amount of memory used to hold recently downloaded pieces. Set to 0 to have unlimited size.

protocol.bittorrent.max_uploads <num> (default: 7)

The maximum number of uploads to allow at once.

protocol.bittorrent.min_uploads <num> (default: 2)

The minimum number of uploads which should at least be used for new connections.

protocol.bittorrent.request_queue_size <num> (default: 5)

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.

protocol.bittorrent.choke_interval <num> (default: 10)

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.

protocol.bittorrent.rarest_first_cutoff <num> (default: 4)

The number of pieces to obtain before switching piece selection strategy from random to rarest first.

protocol.bittorrent.allow_blacklist [0|1] (default: 1)

Allow blacklisting of buggy peers.

### protocol.bittorrent.ports (Port range)
Port range allowed to be used for listening on.

protocol.bittorrent.ports.min <num> (default: 6881)

The minimum port to try and listen on.

protocol.bittorrent.ports.max <num> (default: 6999)

The maximum port to try and listen on.

### protocol.bittorrent.tracker (Tracker)
Tracker options.

protocol.bittorrent.tracker.compact [0|1] (default: 0)

Whether to request that the tracker returns peer info in compact format. Note, the compact format only supports IPv4 addresses.

protocol.bittorrent.tracker.interval <num> (default: 0)

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.

protocol.bittorrent.tracker.ip_address <str> (default: "")

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.

protocol.bittorrent.tracker.key <str> (default: "")

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.

protocol.bittorrent.tracker.numwant <num> (default: 50)

The maximum number of peers to request from the tracker. Set to 0 to use the server default.

protocol.bittorrent.tracker.min_skip_size <num> (default: 20)

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.

### protocol.bittorrent.peerwire (Peer-wire)
Lowlevel peer-wire options.

protocol.bittorrent.peerwire.connections <num> (default: 55)

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.

protocol.bittorrent.peerwire.max_message_length <num> (default: 8388608)

The maximum length of messages to accept over the wire. Larger values will cause the connection to be dropped.

protocol.bittorrent.peerwire.max_request_length <num> (default: 8388608)

The maximum length to allow for incoming requests. Larger requests will cause the connection to be dropped.

protocol.bittorrent.peerwire.request_length <num> (default: 16384)

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.

protocol.bittorrent.peerwire.timeout <num> (default: 300)

The number of seconds to wait before closing a socket on which nothing has been received or sent.

protocol.bittorrent.peerwire.pool_size <num> (default: 55)

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.

### protocol.file (Local files)
Options specific to local browsing.

protocol.file.allow_special_files [0|1] (default: 0)

Whether to allow reading from non-regular files. Note this can be dangerous; reading /dev/urandom or /dev/zero can ruin your day!

protocol.file.show_hidden_files [0|1] (default: 1)

When set to false, files with name starting with a dot will be hidden in local directory listings.

protocol.file.try_encoding_extensions [0|1] (default: 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.

### protocol.file.cgi (Local CGI)
Local CGI specific options.

protocol.file.cgi.path <str> (default: "")

Colon separated list of directories, where CGI scripts are stored.

protocol.file.cgi.policy [0|1] (default: 0)

Whether to execute local CGI scripts.

### protocol.ftp (FTP)
FTP specific options.

protocol.ftp.anon_passwd <str> (default: "some@host.domain")

FTP anonymous password to be sent.

protocol.ftp.use_pasv [0|1] (default: 1)

Use PASV instead of PORT (passive vs active mode, IPv4 only).

protocol.ftp.use_epsv [0|1] (default: 0)

Use EPSV instead of EPRT (passive vs active mode, IPv6 only).

### protocol.ftp.proxy (Proxy configuration)
FTP proxy configuration.

protocol.ftp.proxy.host <str> (default: "")

Host and port-number (host:port) of the FTP proxy, or blank. If it´s blank, FTP_PROXY environment variable is checked as well.

### protocol.http (HTTP)
HTTP-specific options.

protocol.http.accept_language <str> (default: "")

Send Accept-Language header.

protocol.http.accept_ui_language [0|1] (default: 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.

protocol.http.compression [0|1] (default: 0)

If enabled, the capability to receive compressed content (gzip and/or bzip2) is announced to the server, which usually sends the reply compressed, thus saving some bandwidth at slight CPU expense. If ELinks displays a incomplete page or garbage, try disabling this option. If that helps, there may be a bug in the decompression part of ELinks. Please report such bugs.

If ELinks has been compiled without compression support, this option has no effect. To check the supported features, see Help -> About.

protocol.http.trace [0|1] (default: 0)

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.

protocol.http.user_agent <str> (default: "ELinks/%v (textmode; %s; %t-%b)")

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 e.g. pushing some lite version to them automagically. Use " " if you don´t want any User-Agent header to be sent at all.

•%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.

### protocol.http.bugs (Server bug workarounds)
Server-side HTTP bugs workarounds.

protocol.http.bugs.accept_charset [0|1] (default: 1)

The Accept-Charset header is quite long and sending it can trigger bugs in some rarely found servers.

protocol.http.bugs.allow_blacklist [0|1] (default: 1)

Allow blacklisting of buggy servers.

protocol.http.bugs.broken_302_redirect [0|1] (default: 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.

protocol.http.bugs.post_no_keepalive [0|1] (default: 0)

Disable keepalive connection after POST request.

protocol.http.bugs.http10 [0|1] (default: 0)

Use HTTP/1.0 protocol instead of HTTP/1.1.

### protocol.http.proxy (Proxy configuration)
HTTP proxy configuration.

protocol.http.proxy.host <str> (default: "")

Host and port-number (host:port) of the HTTP proxy, or blank. If it´s blank, HTTP_PROXY environment variable is checked as well.

protocol.http.proxy.user <str> (default: "")

Proxy authentication username.

protocol.http.proxy.passwd <str> (default: "")

Proxy authentication password.

### protocol.http.referer (Referer sending)
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> (default: 3)

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)

protocol.http.referer.fake <str> (default: "")

Fake referer to be sent when policy is 2.

### protocol.https (HTTPS)
HTTPS-specific options.

### protocol.https.proxy (Proxy configuration)
HTTPS proxy configuration.

protocol.https.proxy.host <str> (default: "")

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.

### protocol.nntp (NNTP)
NNTP and news specific options.

protocol.nntp.server <str> (default: "")

Used when resolving news: URIs. If set to the empty string the value of the NNTPSERVER environment variable will be used.

protocol.nntp.header_entries <str> (default: "Subject,From,Date,Message-ID,Newsgroups")

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.

### protocol.rewrite (URI rewriting)
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.default_template <str> (default: "")

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 ´%´.

protocol.rewrite.enable-dumb [0|1] (default: 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.cz/.

protocol.rewrite.enable-smart [0|1] (default: 1)

Enable smart prefixes – URI templates triggered by writing given abbreviation to the Goto URL dialog followed by a list of arguments from which the actual URI is composed – i.e. ´gg:search keywords´ or ´gn search keywords for news´.

### protocol.rewrite.dumb (Dumb Prefixes)
Dumb prefixes, see enable-dumb description for details.

protocol.rewrite.dumb._template_ <str> (default: "")

Replacement URI for this dumbprefix:

•%c in the string means the current URL

•%% in the string means ´%´

### protocol.rewrite.smart (Smart Prefixes)
Smart prefixes, see enable-smart description for details.

protocol.rewrite.smart._template_ <str> (default: "")

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 ´%´

### protocol.user (User protocols)
User protocols. Options in this tree specify external handlers for the appropriate protocols. Ie. protocol.user.mailto.unix.

### protocol.user._template_ (Template option folder)
Handler (external program) for this protocol. Name the options in this tree after your system (ie. unix, unix-xwin).

protocol.user._template_._template_ <str> (default: "")

Handler (external program) for this protocol and system.

•%f in the string means file name to include form data from

•%h in the string means hostname (or email address)

•%p in the string means port

•%d in the string means path (everything after the port)

•%s in the string means subject (?subject=<this>)

•%u in the string means the whole URL

### terminal (Terminals)
Terminal options.

### terminal._template_ (Template option folder)
Options specific to this terminal type (according to $TERM value).

terminal._template_.type <num> (default: 0)

Terminal type; matters mostly only when drawing frames and dialog box borders:

•0 is dumb terminal type, ASCII art

•1 is VT100, simple but portable

•2 is Linux, you get double frames and other goodies

•3 is KOI-8

•4 is FreeBSD

•5 is fbterm

terminal._template_.latin1_title [0|1] (default: 1)

When updating the window title of xterm or a similar terminal emulator, encode the title in ISO-8859-1 (Latin-1), rather than in the charset used for other text in the window. Cyrillic and other characters get replaced with Latin ones. Xterm requires this unless you explicitly enable UTF-8 titles in it. If this option does not take effect immediately, try switching to a different page so that ELinks notices it needs to update the title.

terminal._template_.m11_hack [0|1] (default: 0)

Switch fonts when drawing lines, enabling both local characters and lines working at the same time. ELinks uses this option only if UTF-8 I/O is disabled and the terminal type is Linux or FreeBSD.

terminal._template_.utf_8_io [0|1] (default: 0)

Enable I/O in UTF-8 for Unicode terminals. Note that currently, only the subset of UTF-8 according to terminal codepage is used. ELinks ignores this option if the terminal codepage is UTF-8.

terminal._template_.combine [0|1] (default: 0)

Enable combining characters. It works only with the xterm in UTF-8 mode.

terminal._template_.restrict_852 [0|1] (default: 0)

Restrict the characters used when drawing lines. Makes sense only with linux terminals using the cp850/852 character sets.

terminal._template_.block_cursor [0|1] (default: 0)

Move cursor to bottom right corner when done drawing. This is particularly useful when we have a block cursor, so that inversed text is displayed correctly.

terminal._template_.colors <num> (default: 0)

The color mode controls what colors are used and how they are output to the terminal. 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:

•0 is mono mode, only 2 colors are used

•1 is 16 color mode, uses the common ANSI colors

•2 is 88 color mode, uses XTerm RGB codes

•3 is 256 color mode, uses XTerm RGB codes

•4 is true color mode, uses konsole RGB codes

terminal._template_.transparency [0|1] (default: 0)

If we should not set the background to black. This is particularly useful when we have a terminal (typically in some windowing environment) with a background image or a transparent background – it will be visible in ELinks as well (but ELinks document color handling will still assume the background is black so if you have a bright background you might experience contrast problems). Note that this option makes sense only when colors are enabled.

terminal._template_.italic [0|1] (default: 0)

If we should use italics.

terminal._template_.underline [0|1] (default: 0)

If we should use underline or enhance the color instead.

terminal._template_.charset <codepage> (default: System)

Codepage of charset used for displaying content on terminal. ´System´ stands for a codepage determined by a selected locale.

### ui (User interface)
User interface options.

ui.date_format <str> (default: "%b %e %H:%M")

Date format to use in dialogs. See strftime(3).

ui.language <language> (default: "System")

Language of user interface. ´System´ means that the language will be extracted from the environment dynamically.

ui.mouse_disable [0|1] (default: 0)

Disable the mouse. Changes take effect at the next ELinks restart.

ui.show_ip [0|1] (default: 0)

Whether to display the IP address of the document in the status bar.

ui.show_menu_bar_always [0|1] (default: 0)

Always show menu bar on the screen.

ui.show_status_bar [0|1] (default: 1)

Show status bar on the screen.

ui.show_title_bar [0|1] (default: 1)

Show title bar on the screen.

ui.startup_goto_dialog [0|1] (default: 1)

Pop up goto dialog in newly created tabs when there´s no homepage set. This means also showing goto dialog on startup.

ui.success_msgbox [0|1] (default: 1)

When you pressed a Save button in some manager, this option will make sure that a box confirming success of the operation will pop up.

ui.window_title [0|1] (default: 1)

Set the window title when running in a windowing environment in an xterm-like terminal. This way the document´s title is shown on the window titlebar.

### ui.clock (Clock)
Digital clock in the status bar.

ui.clock.enable [0|1] (default: 0)

Whether to display a digital clock in the status bar.

ui.clock.format <str> (default: "[%H:%M]")

Format string for the digital clock. See the strftime(3) manpage for details.

### ui.colors (Color settings)
Default user interface color settings.

### ui.colors.color (Color terminals)
Color settings for color terminal.

### ui.colors.color.mainmenu (Main menu bar)
Main menu bar colors.

### ui.colors.color.mainmenu.normal (Unselected main menu bar item)
Unselected main menu bar item colors.

ui.colors.color.mainmenu.normal.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.mainmenu.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.mainmenu.selected (Selected main menu bar item)
Selected main menu bar item colors.

ui.colors.color.mainmenu.selected.text <color|#rrggbb> (default: green)

Default text color.

ui.colors.color.mainmenu.selected.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.color.mainmenu.hotkey (Hotkey)
Main menu hotkey colors.

### ui.colors.color.mainmenu.hotkey.normal (Unselected hotkey)
Main menu unselected hotkey colors.

ui.colors.color.mainmenu.hotkey.normal.text <color|#rrggbb> (default: darkred)

Default text color.

ui.colors.color.mainmenu.hotkey.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.mainmenu.hotkey.selected (Selected hotkey)
Main menu selected hotkey colors.

ui.colors.color.mainmenu.hotkey.selected.text <color|#rrggbb> (default: darkred)

Default text color.

ui.colors.color.mainmenu.hotkey.selected.background <color|#rrggbb> (default: green)

Default background color.

### ui.colors.color.menu (Menu bar)
Menu bar colors.

### ui.colors.color.menu.normal (Unselected menu item)
Unselected menu item colors.

ui.colors.color.menu.normal.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.menu.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.menu.selected (Selected menu item)
Selected menu item colors.

ui.colors.color.menu.selected.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.menu.selected.background <color|#rrggbb> (default: green)

Default background color.

### ui.colors.color.menu.marked (Marked menu item)
Marked menu item colors.

ui.colors.color.menu.marked.text <color|#rrggbb> (default: red)

Default text color.

ui.colors.color.menu.marked.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.menu.hotkey (Hotkey)
Menu item hotkey colors.

### ui.colors.color.menu.hotkey.normal (Unselected hotkey)
Menu item unselected hotkey colors.

ui.colors.color.menu.hotkey.normal.text <color|#rrggbb> (default: darkred)

Default text color.

ui.colors.color.menu.hotkey.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.menu.hotkey.selected (Selected hotkey)
Menu item selected hotkey colors.

ui.colors.color.menu.hotkey.selected.text <color|#rrggbb> (default: darkred)

Default text color.

ui.colors.color.menu.hotkey.selected.background <color|#rrggbb> (default: green)

Default background color.

### ui.colors.color.menu.frame (Menu frame)
Menu frame colors.

ui.colors.color.menu.frame.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.menu.frame.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.dialog (Dialog)
Dialog colors.

### ui.colors.color.dialog.generic (Generic)
Generic dialog colors.

ui.colors.color.dialog.generic.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.dialog.generic.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.dialog.frame (Frame)
Dialog frame colors.

ui.colors.color.dialog.frame.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.dialog.frame.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.dialog.scrollbar (Scrollbar)
Scrollbar colors.

ui.colors.color.dialog.scrollbar.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.dialog.scrollbar.background <color|#rrggbb> (default: blue)

Default background color.

### ui.colors.color.dialog.scrollbar-selected (Selected scrollbar)
Scrollbar selected colors.

ui.colors.color.dialog.scrollbar-selected.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.dialog.scrollbar-selected.background <color|#rrggbb> (default: green)

Default background color.

### ui.colors.color.dialog.title (Title)
Dialog title colors.

ui.colors.color.dialog.title.text <color|#rrggbb> (default: darkred)

Default text color.

ui.colors.color.dialog.title.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.dialog.text (Text)
Dialog text colors.

ui.colors.color.dialog.text.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.dialog.text.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.dialog.checkbox (Checkbox)
Dialog checkbox colors.

ui.colors.color.dialog.checkbox.text <color|#rrggbb> (default: darkred)

Default text color.

ui.colors.color.dialog.checkbox.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.dialog.checkbox-selected (Selected checkbox)
Dialog selected checkbox colors.

ui.colors.color.dialog.checkbox-selected.text <color|#rrggbb> (default: yellow)

Default text color.

ui.colors.color.dialog.checkbox-selected.background <color|#rrggbb> (default: green)

Default background color.

### ui.colors.color.dialog.checkbox-label (Checkbox label)
Dialog checkbox label colors.

ui.colors.color.dialog.checkbox-label.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.dialog.checkbox-label.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.dialog.button (Button)
Dialog button colors.

ui.colors.color.dialog.button.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.color.dialog.button.background <color|#rrggbb> (default: blue)

Default background color.

### ui.colors.color.dialog.button-selected (Selected button)
Dialog selected button colors.

ui.colors.color.dialog.button-selected.text <color|#rrggbb> (default: yellow)

Default text color.

ui.colors.color.dialog.button-selected.background <color|#rrggbb> (default: green)

Default background color.

### ui.colors.color.dialog.button-shortcut (Button shortcut)
Dialog button colors.

ui.colors.color.dialog.button-shortcut.text <color|#rrggbb> (default: yellow)

Default text color.

ui.colors.color.dialog.button-shortcut.background <color|#rrggbb> (default: blue)

Default background color.

### ui.colors.color.dialog.button-shortcut-selected (Selected button shortcut)
Dialog selected button colors.

ui.colors.color.dialog.button-shortcut-selected.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.color.dialog.button-shortcut-selected.background <color|#rrggbb> (default: blue)

Default background color.

### ui.colors.color.dialog.field (Text field)
Dialog text field colors.

ui.colors.color.dialog.field.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.color.dialog.field.background <color|#rrggbb> (default: blue)

Default background color.

### ui.colors.color.dialog.field-text (Text field text)
Dialog field text colors.

ui.colors.color.dialog.field-text.text <color|#rrggbb> (default: yellow)

Default text color.

ui.colors.color.dialog.field-text.background <color|#rrggbb> (default: blue)

Default background color.

### ui.colors.color.dialog.meter (Meter)
Dialog meter colors.

ui.colors.color.dialog.meter.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.color.dialog.meter.background <color|#rrggbb> (default: blue)

Default background color.

### ui.colors.color.dialog.shadow (Shadow)
Dialog shadow colors (see ui.shadows option).

ui.colors.color.dialog.shadow.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.dialog.shadow.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.color.title (Title bar)
Title bar colors.

### ui.colors.color.title.title-bar (Generic title bar)
Generic title bar colors.

ui.colors.color.title.title-bar.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.title.title-bar.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.title.title-text (Title bar text)
Title bar text colors.

ui.colors.color.title.title-text.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.title.title-text.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.status (Status bar)
Status bar colors.

### ui.colors.color.status.status-bar (Generic status bar)
Generic status bar colors.

ui.colors.color.status.status-bar.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.status.status-bar.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.status.status-text (Status bar text)
Status bar text colors.

ui.colors.color.status.status-text.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.status.status-text.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.tabs (Tabs bar)
Tabs bar colors.

### ui.colors.color.tabs.unvisited (Unvisited tab)
Tab colors for tabs that have not been selected since they completed loading.

ui.colors.color.tabs.unvisited.text <color|#rrggbb> (default: darkblue)

Default text color.

ui.colors.color.tabs.unvisited.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.tabs.normal (Unselected tab)
Unselected tab colors.

ui.colors.color.tabs.normal.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.tabs.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.tabs.loading (Loading tab)
Tab colors for tabs that are loading in the background.

ui.colors.color.tabs.loading.text <color|#rrggbb> (default: darkred)

Default text color.

ui.colors.color.tabs.loading.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.tabs.selected (Selected tab)
Selected tab colors.

ui.colors.color.tabs.selected.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.tabs.selected.background <color|#rrggbb> (default: green)

Default background color.

### ui.colors.color.tabs.separator (Tab separator)
Tab separator colors.

ui.colors.color.tabs.separator.text <color|#rrggbb> (default: brown)

Default text color.

ui.colors.color.tabs.separator.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.color.searched (Searched strings)
Searched string highlight colors.

ui.colors.color.searched.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.color.searched.background <color|#rrggbb> (default: lime)

Default background color.

### ui.colors.mono (Non-color terminals)
Color settings for non-color terminal.

### ui.colors.mono.mainmenu (Main menu bar)
Main menu bar colors.

### ui.colors.mono.mainmenu.normal (Unselected main menu bar item)
Unselected main menu bar item colors.

ui.colors.mono.mainmenu.normal.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.mainmenu.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.mainmenu.selected (Selected main menu bar item)
Selected main menu bar item colors.

ui.colors.mono.mainmenu.selected.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.mainmenu.selected.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.mainmenu.hotkey (Hotkey)
Main menu hotkey colors.

### ui.colors.mono.mainmenu.hotkey.normal (Unselected hotkey)
Main menu unselected hotkey colors.

ui.colors.mono.mainmenu.hotkey.normal.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.mainmenu.hotkey.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.mainmenu.hotkey.selected (Selected hotkey)
Main menu selected hotkey colors.

ui.colors.mono.mainmenu.hotkey.selected.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.mainmenu.hotkey.selected.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.menu (Menu bar)
Menu bar colors.

### ui.colors.mono.menu.normal (Unselected menu item)
Unselected menu item colors.

ui.colors.mono.menu.normal.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.menu.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.menu.selected (Selected menu item)
Selected menu item colors.

ui.colors.mono.menu.selected.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.menu.selected.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.menu.marked (Marked menu item)
Marked menu item colors.

ui.colors.mono.menu.marked.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.menu.marked.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.menu.hotkey (Hotkey)
Menu item hotkey colors.

### ui.colors.mono.menu.hotkey.normal (Unselected hotkey)
Menu item unselected hotkey colors.

ui.colors.mono.menu.hotkey.normal.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.menu.hotkey.normal.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.menu.hotkey.selected (Selected hotkey)
Menu item selected hotkey colors.

ui.colors.mono.menu.hotkey.selected.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.menu.hotkey.selected.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.menu.frame (Menu frame)
Menu frame colors.

ui.colors.mono.menu.frame.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.menu.frame.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog (Dialog)
Dialog colors.

### ui.colors.mono.dialog.generic (Generic)
Generic dialog colors.

ui.colors.mono.dialog.generic.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.generic.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.frame (Frame)
Dialog frame colors.

ui.colors.mono.dialog.frame.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.frame.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.scrollbar (Scrollbar)
Scrollbar colors.

ui.colors.mono.dialog.scrollbar.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.mono.dialog.scrollbar.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.scrollbar-selected (Selected scrollbar)
Scrollbar selected colors.

ui.colors.mono.dialog.scrollbar-selected.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.scrollbar-selected.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.title (Title)
Dialog title colors.

ui.colors.mono.dialog.title.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.dialog.title.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.text (Text)
Dialog text colors.

ui.colors.mono.dialog.text.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.text.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.checkbox (Checkbox)
Dialog checkbox colors.

ui.colors.mono.dialog.checkbox.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.checkbox.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.checkbox-selected (Selected checkbox)
Dialog selected checkbox colors.

ui.colors.mono.dialog.checkbox-selected.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.mono.dialog.checkbox-selected.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.checkbox-label (Checkbox label)
Dialog checkbox label colors.

ui.colors.mono.dialog.checkbox-label.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.checkbox-label.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.button (Button)
Dialog button colors.

ui.colors.mono.dialog.button.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.button.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.button-selected (Selected button)
Dialog selected button colors.

ui.colors.mono.dialog.button-selected.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.mono.dialog.button-selected.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.button-shortcut (Button shortcut)
Dialog button colors.

ui.colors.mono.dialog.button-shortcut.text <color|#rrggbb> (default: white)

Default text color.

ui.colors.mono.dialog.button-shortcut.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.button-shortcut-selected (Selected button shortcut)
Dialog selected button colors.

ui.colors.mono.dialog.button-shortcut-selected.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.button-shortcut-selected.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.dialog.field (Text field)
Dialog text field colors.

ui.colors.mono.dialog.field.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.dialog.field.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.field-text (Text field text)
Dialog field text colors.

ui.colors.mono.dialog.field-text.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.dialog.field-text.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.meter (Meter)
Dialog meter colors.

ui.colors.mono.dialog.meter.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.dialog.meter.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.dialog.shadow (Shadow)
Dialog shadow colors (see ui.shadows option).

ui.colors.mono.dialog.shadow.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.dialog.shadow.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.title (Title bar)
Title bar colors.

### ui.colors.mono.title.title-bar (Generic title bar)
Generic title bar colors.

ui.colors.mono.title.title-bar.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.title.title-bar.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.title.title-text (Title bar text)
Title bar text colors.

ui.colors.mono.title.title-text.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.title.title-text.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.status (Status bar)
Status bar colors.

### ui.colors.mono.status.status-bar (Generic status bar)
Generic status bar colors.

ui.colors.mono.status.status-bar.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.status.status-bar.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.status.status-text (Status bar text)
Status bar text colors.

ui.colors.mono.status.status-text.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.status.status-text.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.tabs (Tabs bar)
Tabs bar colors.

### ui.colors.mono.tabs.unvisited (Unvisited tab)
Tab colors for tabs that have not been selected since they completed loading.

ui.colors.mono.tabs.unvisited.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.tabs.unvisited.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.tabs.normal (Unselected tab)
Unselected tab colors.

ui.colors.mono.tabs.normal.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.tabs.normal.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.tabs.loading (Loading tab)
Tab colors for tabs that are loading in the background.

ui.colors.mono.tabs.loading.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.tabs.loading.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.tabs.selected (Selected tab)
Selected tab colors.

ui.colors.mono.tabs.selected.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.tabs.selected.background <color|#rrggbb> (default: black)

Default background color.

### ui.colors.mono.tabs.separator (Tab separator)
Tab separator colors.

ui.colors.mono.tabs.separator.text <color|#rrggbb> (default: gray)

Default text color.

ui.colors.mono.tabs.separator.background <color|#rrggbb> (default: white)

Default background color.

### ui.colors.mono.searched (Searched strings)
Searched string highlight colors.

ui.colors.mono.searched.text <color|#rrggbb> (default: black)

Default text color.

ui.colors.mono.searched.background <color|#rrggbb> (default: white)

Default background color.

### ui.dialogs (Dialog settings)
Dialogs-specific appearance and behaviour settings.

ui.dialogs.listbox_min_height <num> (default: 10)

Minimal height of the listbox widget (used e.g. for bookmarks or global history).

ui.dialogs.shadows [0|1] (default: 0)

Make dialogs drop shadows (the shadows are solid, you can adjust their color by ui.colors.*.dialog.shadow). You may also want to eliminate the wide borders by adjusting setup.h.

ui.dialogs.underline_hotkeys [0|1] (default: 0)

Whether to underline hotkeys in menus to make them more visible. Requires that underlining is enabled for the terminal.

ui.dialogs.underline_button_shortcuts [0|1] (default: 0)

Whether to underline button shortcuts to make them more visible. Requires that underlining is enabled for the terminal.

### ui.leds (LEDs)
LEDs (visual indicators) options.

ui.leds.enable [0|1] (default: 1)

Enable LEDs. These visual indicators will inform you about various states.

### ui.sessions (Sessions)
Sessions settings.

ui.sessions.auto_restore [0|1] (default: 0)

Automatically restore the session at start. This feature requires bookmark support.

ui.sessions.auto_save [0|1] (default: 0)

Automatically save the session when quitting. This feature requires bookmark support.

ui.sessions.auto_save_foldername <str> (default: "Auto saved session")

Name of the bookmarks folder used for auto saving and restoring session. The name has to be unique. Any folders with the same name will be deleted. This only makes sense with bookmark support.

ui.sessions.homepage <str> (default: "")

The URI to load either at startup time when no URI was given on the command line or when requested by the goto-url-home action. Set to "" if the environment variable WWW_HOME should be used as homepage URI instead.

ui.sessions.keep_session_active [0|1] (default: 0)

Keep the session active even if the last terminal exits.

ui.sessions.snapshot [0|1] (default: 0)

Automatically save a snapshot of all tabs periodically. This will periodically bookmark the tabs of each terminal in a separate folder for recovery after a crash. This feature requires bookmark support.

### ui.tabs (Window tabs)
Window tabs settings.

ui.tabs.show_bar <num> (default: 1)

Show tabs bar on the screen:

•0 means never

•1 means only if two or more tabs are open

•2 means always

ui.tabs.top [0|1] (default: 0)

Whether display tab bar at top like other browsers do.

ui.tabs.wraparound [0|1] (default: 1)

When moving right from the last tab, jump to the first one, and vice versa.

ui.tabs.confirm_close [0|1] (default: 0)

When closing a tab show confirmation dialog.

### ui.timer (Timer options)
Timed action after certain interval of user inactivity. Someone can even find this useful, although you may not believe that.

ui.timer.enable <num> (default: 0)

Whether to enable the timer or not:

•0 is don´t count down anything

•1 is count down, but don´t show the timer

•2 is count down and show the timer near LEDs

ui.timer.duration <num> (default: 86400)

Inactivity timeout in seconds. The maximum of one day should be enough for just everyone (TM).

ui.timer.action <str> (default: "")

Keybinding action to be triggered when timer reaches zero.

## SEE ALSO
elinks(1), elinkskeys(5)


elinkskeys

title: elinkskeys(5)

summary: keybindings for ELinks

text:
# elinkskeys(5)

## NAME
elinkskeys - keybindings for ELinks

## SYNOPSIS
Information on how to configure keybinding and overview of the default keybindings.

## DESCRIPTION
Key binding for elinks should be placed in the file ~/.elinks/elinks.conf. Note that any information regarding their format/structure may not be up-to-date. If you will discover that, please feed us with a patch.

Key binding statements are of the form:

```
bind <keymap> <keystroke> = <action>
```

where: <keymap>

is main, edit, or menu. The main keymap is used for general browsing. The edit keymap is used for editing text fields. The menu keymap is used for navigating menus.

<keystroke>

is a case sensitive key, which you can prefix with Ctrl-, Alt-, or both. Ctrl- must be followed by an uppercase key. See below for a list of valid keys.

<action>

is what the key should do. The actions available are dependent on the keymap, and are listed separately below.

All words/strings may all be quoted "like so". Backslashes are escape characters, even if not between quotes. Lines beginning with a hash character (#) are comments. Keys can be unbound just by binding them to the special none action. It may be of use if you accidentally type a key often.

## EXAMPLE BINDINGS
Some sample keybindings:

```
bind "main" "v" = "view-image"
bind "main" "l" = "jump-to-link"
bind "main" "L" = "link-menu"
bind "main" "F10" = "file-menu"
bind "main" "F9" = "menu"
bind "main" "Escape" = "menu"
bind "edit" "Ctrl-R" = "auto-complete-unambiguous"
bind "edit" "Ctrl-W" = "auto-complete"
bind "edit" "Ctrl-K" = "kill-to-eol"
bind "menu" "Ctrl-B" = "page-up"
bind "menu" "PageUp" = "page-up"
bind "menu" "Ctrl-F" = "page-down"
bind "menu" "PageDown" = "page-down"
# ELinks with Lua support
bind "main" "," = "lua-console"
```

## KEYS
Valid keys are: alphanumeric characters, punctuation, Enter, Backspace, Tab, Escape, Left, Right, Up, Down, Insert, Delete, Home, End, PageUp, PageDown, F1 to F12.

Some keys will need to be quoted or escaped. For example, space can be written as " " (quote space quote), and the quote itself as \" (backslash quote). Backslash can be written as \\ (double backslash).

## KEYMAP ACTIONS

### MAIN ACTIONS
abort-connection

Abort connection.

add-bookmark

Add a new bookmark.

add-bookmark-link

Add a new bookmark using current link.

add-bookmark-tabs

Bookmark all open tabs.

auth-manager

Open authentication manager.

backspace-prefix

Backspace the last entered digit of the current prefix.

bookmark-manager

Open bookmark manager.

cache-manager

Open cache manager.

cache-minimize

Free unused cache entries.

cookie-manager

Open cookie manager.

cookies-load

Reload cookies file.

copy-clipboard

Copy text to clipboard.

document-info

Show information about the current page.

download-manager

Open download manager.

exmode

Enter ex-mode (command line).

file-menu

Open the File menu.

find-next

Find the next occurrence of the current search text.

find-next-back

Find the previous occurrence of the current search text.

forget-credentials

Forget authentication credentials.

formhist-manager

Open form history manager.

frame-external-command

Pass URI of current frame to external command.

frame-maximize

Maximize the current frame.

frame-next

Move to the next frame.

frame-prev

Move to the previous frame.

goto-url

Open "Go to URL" dialog box.

goto-url-current

Open "Go to URL" dialog box containing the current URL.

goto-url-current-link

Open "Go to URL" dialog box containing the current link URL.

goto-url-home

Go to the homepage.

header-info

Show information about the current page protocol headers.

history-manager

Open history manager.

history-move-back

Return to the previous document in history.

history-move-forward

Go forward in history.

jump-to-link

Jump to link.

keybinding-manager

Open keybinding manager.

kill-backgrounded-connections

Kill all backgrounded connections.

link-download

Download the current link.

link-download-image

Download the current image.

link-download-resume

Attempt to resume download of the current link.

link-external-command

Pass URI of current link to external command.

link-follow

Follow the current link.

link-follow-reload

Follow the current link, forcing reload of the target.

link-info

Show information about current link.

link-menu

Open the link context menu.

link-form-menu

Open the form fields menu.

lua-console

Open a Lua console.

mark-goto

Go at a specified mark.

mark-set

Set a mark.

menu

Activate the menu.

move-current-top

Move downwards to put the current line at the top of the screen.

move-cursor-down

Move cursor down.

move-cursor-left

Move cursor left.

move-cursor-line-start

Move cursor to the start of the line.

move-cursor-right

Move cursor right.

move-cursor-up

Move cursor up.

move-document-end

Move to the end of the document.

move-document-start

Move to the start of the document.

move-half-page-down

Move downwards by half a page.

move-half-page-up

Move upwards by half a page.

move-link-down

Move one link down.

move-link-down-line

Move to the next line with a link.

move-link-left

Move one link left.

move-link-left-line

Move one link left or to the previous link.

move-link-next

Move to the next link.

move-link-prev

Move to the previous link.

move-link-right

Move one link right.

move-link-right-line

Move one link right or to the next link.

move-link-up

Move one link up.

move-link-up-line

Move to the previous line with a link.

move-page-down

Move downwards by a page.

move-page-up

Move upwards by a page.

open-link-in-new-tab

Open the current link in a new tab.

open-link-in-new-tab-in-background

Open the current link in a new tab in the background.

open-link-in-new-window

Open the current link in a new window.

open-new-tab

Open a new tab.

open-new-tab-in-background

Open a new tab in the background.

open-new-window

Open a new window.

open-os-shell

Open an OS shell.

options-manager

Open options manager.

quit

Open a quit confirmation dialog box.

really-quit

Quit without confirmation.

redraw

Redraw the terminal.

reload

Reload the current page.

rerender

Re-render the current page.

reset-form

Reset form items to their initial values.

resource-info

Show information about the currently used resources.

save-as

Save the current document in source form.

save-formatted

Save the current document in formatted form.

save-options

Save options.

save-url-as

Save URL as.

scroll-down

Scroll down.

scroll-left

Scroll left.

scroll-right

Scroll right.

scroll-up

Scroll up.

search

Search for a text pattern.

search-back

Search backwards for a text pattern.

search-typeahead

Search link text by typing ahead.

search-typeahead-link

Search link text by typing ahead.

search-typeahead-text

Search document text by typing ahead.

search-typeahead-text-back

Search document text backwards by typing ahead.

show-term-options

Show terminal options dialog.

submit-form

Submit form.

submit-form-reload

Submit form and reload.

tab-close

Close tab.

tab-close-all-but-current

Close all tabs but the current one.

tab-external-command

Pass URI of current tab to external command.

tab-menu

Open the tab menu.

tab-move-left

Move the current tab to the left.

tab-move-right

Move the current tab to the right.

tab-next

Next tab.

tab-prev

Previous tab.

terminal-resize

Open the terminal resize dialog.

toggle-css

Toggle rendering of page using CSS.

toggle-display-images

Toggle displaying of links to images.

toggle-display-tables

Toggle rendering of tables.

toggle-document-colors

Toggle usage of document specific colors.

toggle-html-plain

Toggle rendering page as HTML / plain text.

toggle-mouse

Toggle mouse handling.

toggle-numbered-links

Toggle displaying of links numbers.

toggle-plain-compress-empty-lines

Toggle plain renderer compression of empty lines.

toggle-wrap-text

Toggle wrapping of text.

view-image

View the current image.

### EDIT ACTIONS
auto-complete

Attempt to auto-complete the input.

auto-complete-file

Attempt to auto-complete a local file.

auto-complete-unambiguous

Attempt to unambiguously auto-complete the input.

backspace

Delete character in front of the cursor.

beginning-of-buffer

Go to the first line of the buffer.

cancel

Cancel current state.

copy-clipboard

Copy text to clipboard.

cut-clipboard

Cut text to clipboard.

delete

Delete character under cursor.

down

Move cursor downwards.

end

Go to the end of the page/line.

end-of-buffer

Go to the last line of the buffer.

enter

Follow the current link.

home

Go to the start of the page/line.

kill-to-bol

Delete to beginning of line.

kill-to-eol

Delete to end of line.

kill-word-back

Delete backwards to start of word.

left

Move the cursor left.

move-backward-word

Move cursor before current word.

move-forward-word

Move cursor after current word.

next-item

Move to the next item.

open-external

Open in external editor.

paste-clipboard

Paste text from the clipboard.

previous-item

Move to the previous item.

redraw

Redraw the terminal.

right

Move the cursor right.

search-toggle-regex

Toggle regex matching (type-ahead searching).

up

Move cursor upwards.

### MENU ACTIONS
cancel

Cancel current state.

delete

Delete character under cursor.

down

Move cursor downwards.

end

Go to the end of the page/line.

enter

Follow the current link.

expand

Expand item.

home

Go to the start of the page/line.

left

Move the cursor left.

mark-item

Mark item.

next-item

Move to the next item.

page-down

Move downwards by a page.

page-up

Move upwards by a page.

previous-item

Move to the previous item.

redraw

Redraw the terminal.

right

Move the cursor right.

search

Search for a text pattern.

select

Select current highlighted item.

unexpand

Collapse item.

up

Move cursor upwards.

## DEFAULT BINDINGS
The default bindings are shown below. Any bindings in ~/.elinks/elinks.conf will override these.

### MAIN KEYS
Space

Move downwards by a page (move-page-down)

"#"

Search link text by typing ahead (search-typeahead)

"%"

Toggle usage of document specific colors (toggle-document-colors)

"*"

Toggle displaying of links to images (toggle-display-images)

","

Open a Lua console (lua-console)

"."

Toggle displaying of links numbers (toggle-numbered-links)

"/"

Search for a text pattern (search)

":"

Enter ex-mode (command line) (exmode)

"<"

Previous tab (tab-prev)

Alt-"<"

Move the current tab to the left (tab-move-left)

"="

Show information about the current page (document-info)

">"

Next tab (tab-next)

Alt-">"

Move the current tab to the right (tab-move-right)

"?"

Search backwards for a text pattern (search-back)

"A"

Add a new bookmark using current link (add-bookmark-link)

Ctrl-"A"

Move to the start of the document (move-document-start)

Ctrl-"B"

Move upwards by a page (move-page-up)

"C"

Open cache manager (cache-manager)

"D"

Open download manager (download-manager)

"E"

Open "Go to URL" dialog box containing the current link URL (goto-url-current-link)

Ctrl-"E"

Move to the end of the document (move-document-end)

"F"

Open form history manager (formhist-manager)

Ctrl-"F"

Move downwards by a page (move-page-down)

"G"

Open "Go to URL" dialog box containing the current URL (goto-url-current)

"H"

Go to the homepage (goto-url-home)

"K"

Open cookie manager (cookie-manager)

Ctrl-"K"

Reload cookies file (cookies-load)

"L"

Open the link context menu (link-menu)

Ctrl-"L"

Redraw the terminal (redraw)

"N"

Find the previous occurrence of the current search text (find-next-back)

Ctrl-"N"

Scroll down (scroll-down)

Ctrl-"P"

Scroll up (scroll-up)

"Q"

Quit without confirmation (really-quit)

Ctrl-"R"

Reload the current page (reload)

"T"

Open the current link in a new tab in the background (open-link-in-new-tab-in-background)

"W"

Toggle wrapping of text (toggle-wrap-text)

"["

Scroll left (scroll-left)

"´"

Go at a specified mark (mark-goto)

"\"

Toggle rendering page as HTML / plain text (toggle-html-plain)

"]"

Scroll right (scroll-right)

"a"

Add a new bookmark (add-bookmark)

"b"

Move upwards by a page (move-page-up)

"c"

Close tab (tab-close)

"d"

Download the current link (link-download)

"e"

Open the tab menu (tab-menu)

"f"

Maximize the current frame (frame-maximize)

"g"

Open "Go to URL" dialog box (goto-url)

"h"

Open history manager (history-manager)

"k"

Open keybinding manager (keybinding-manager)

"l"

Jump to link (jump-to-link)

"m"

Set a mark (mark-set)

"n"

Find the next occurrence of the current search text (find-next)

"o"

Open options manager (options-manager)

"q"

Open a quit confirmation dialog box (quit)

"r"

Attempt to resume download of the current link (link-download-resume)

"s"

Open bookmark manager (bookmark-manager)

"t"

Open a new tab (open-new-tab)

"u"

Go forward in history (history-move-forward)

"v"

View the current image (view-image)

"x"

Follow the current link, forcing reload of the target (link-follow-reload)

"z"

Abort connection (abort-connection)

"{"

Scroll left (scroll-left)

"|"

Show information about the current page protocol headers (header-info)

"}"

Scroll right (scroll-right)

Backspace

Backspace the last entered digit of the current prefix (backspace-prefix)

Delete

Scroll down (scroll-down)

Down

Move to the next link (move-link-next)

End

Move to the end of the document (move-document-end)

Enter

Follow the current link (link-follow)

Ctrl-Enter

Follow the current link, forcing reload of the target (link-follow-reload)

Escape

Activate the menu (menu)

F10

Open the File menu (file-menu)

F9

Activate the menu (menu)

Home

Move to the start of the document (move-document-start)

Insert

Scroll up (scroll-up)

Ctrl-Insert

Copy text to clipboard (copy-clipboard)

Left

Return to the previous document in history (history-move-back)

PageDown

Move downwards by a page (move-page-down)

PageUp

Move upwards by a page (move-page-up)

Right

Follow the current link (link-follow)

Ctrl-Right

Follow the current link, forcing reload of the target (link-follow-reload)

Tab

Move to the next frame (frame-next)

Alt-Tab

Move to the previous frame (frame-prev)

Shift-Tab

Move to the previous frame (frame-prev)

Up

Move to the previous link (move-link-prev)

### EDIT KEYS
Alt-"<"

Go to the first line of the buffer (beginning-of-buffer)

Alt-">"

Go to the last line of the buffer (end-of-buffer)

Ctrl-"A"

Go to the start of the page/line (home)

Alt-"b"

Move cursor before current word (move-backward-word)

Ctrl-"D"

Delete character under cursor (delete)

Ctrl-"E"

Go to the end of the page/line (end)

Alt-"f"

Move cursor after current word (move-forward-word)

Ctrl-"H"

Delete character in front of the cursor (backspace)

Ctrl-"K"

Delete to end of line (kill-to-eol)

Ctrl-"L"

Redraw the terminal (redraw)

Alt-"r"

Toggle regex matching (type-ahead searching) (search-toggle-regex)

Ctrl-"F"

Attempt to auto-complete a local file (auto-complete-file)

Ctrl-"R"

Attempt to unambiguously auto-complete the input (auto-complete-unambiguous)

Ctrl-"T"

Open in external editor (open-external)

Ctrl-"U"

Delete to beginning of line (kill-to-bol)

Ctrl-"V"

Paste text from the clipboard (paste-clipboard)

Ctrl-"W"

Attempt to auto-complete the input (auto-complete)

Ctrl-"X"

Cut text to clipboard (cut-clipboard)

Alt-Backspace

Delete backwards to start of word (kill-word-back)

Backspace

Delete character in front of the cursor (backspace)

Delete

Delete character under cursor (delete)

Down

Move cursor downwards (down)

End

Go to the end of the page/line (end)

Enter

Follow the current link (enter)

Escape

Cancel current state (cancel)

F4

Open in external editor (open-external)

Home

Go to the start of the page/line (home)

Ctrl-Insert

Copy text to clipboard (copy-clipboard)

Left

Move the cursor left (left)

Right

Move the cursor right (right)

Tab

Move to the next item (next-item)

Alt-Tab

Move to the previous item (previous-item)

Shift-Tab

Move to the previous item (previous-item)

Up

Move cursor upwards (up)

### MENU KEYS
Space

Select current highlighted item (select)

"*"

Mark item (mark-item)

"+"

Expand item (expand)

"-"

Collapse item (unexpand)

"/"

Search for a text pattern (search)

"="

Expand item (expand)

Ctrl-"A"

Go to the start of the page/line (home)

Ctrl-"B"

Move upwards by a page (page-up)

Ctrl-"E"

Go to the end of the page/line (end)

Ctrl-"F"

Move downwards by a page (page-down)

Ctrl-"L"

Redraw the terminal (redraw)

Ctrl-"N"

Move cursor downwards (down)

Ctrl-"P"

Move cursor upwards (up)

Alt-"V"

Move upwards by a page (page-up)

Ctrl-"V"

Move downwards by a page (page-down)

"["

Expand item (expand)

"]"

Collapse item (unexpand)

"_"

Collapse item (unexpand)

Delete

Delete character under cursor (delete)

Down

Move cursor downwards (down)

End

Go to the end of the page/line (end)

Enter

Follow the current link (enter)

Escape

Cancel current state (cancel)

Home

Go to the start of the page/line (home)

Insert

Mark item (mark-item)

Left

Move the cursor left (left)

PageDown

Move downwards by a page (page-down)

PageUp

Move upwards by a page (page-up)

Right

Move the cursor right (right)

Tab

Move to the next item (next-item)

Alt-Tab

Move to the previous item (previous-item)

Shift-Tab

Move to the previous item (previous-item)

Up

Move cursor upwards (up)

## AUTHOR
This manual page was finally written by Peter Wang (one and a half years after writing the binding code), using excerpts by David Mediavilla. You can thank Petr Baudis for the subtle requests for documentation. Updated by Zas. Moved to asciidoc format and cleaned up by Jonas Fonseca.

## SEE ALSO
elinks(1), elinks.conf(5)


enchant

title: enchant(5)

text:
# enchant(5)

## NAME
Enchant - enchant language tags, ordering files and personal word lists

## LANGUAGE TAGS
Enchant identifies dictionaries by their language tag. A language tag is typically an IETF BCP 47 language tag of the form LANGUAGE_COUNTRY; for example, en_US or zh_SG. Multiple dictionaries may be used together by giving a comma-separated list; for example en_GB,fr_FR. This can be useful for checking multi-lingual text, or for using specialised word lists for a particular subject, project or document (these might have names such as en-medical or en-my-novel).

## ORDERING FILE
Enchant uses global and per-user ordering files named enchant.ordering to decide which spelling provider to use for particular languages. The per-user file takes precedence.

The ordering file takes the form language_tag:<comma-separated list of spelling providers>. To see what dictionaries are available, run enchant-lsmod-2. ‘*’ is used to mean “use this ordering for all languages, unless instructed otherwise.” For example:

*:aspell,hunspell,nuspell

en:aspell,hunspell,nuspell

en_GB:hunspell,nuspell,aspell

fr:hunspell,nuspell,aspell

## PERSONAL WORD LISTS
Personal word lists are simple plain text files with one word per line. The name of the file starts with the language tag and ends .dic. Each personal word list has a corresponding exclude file, ending in .exc, which lists words that are found in the dictionary but that the user wants to be considered invalid. The files are stored in an Enchant configuration directory; see FILES AND DIRECTORIES below. Lines starting with a hash sign ‘#’ are ignored.

### SHARING PERSONAL WORD LISTS BETWEEN SPELL-CHECKERS
It is possible, and usually safe, to share Enchant’s personal word lists with other spelling checkers that use the same format (note that other spell-checkers may not support comments!). The spell-checkers known to be compatible are Hunspell, Nuspell and Ispell. (Although Enchant does not support Ispell as a provider, it’s still fine to share word lists with it.) Other spell-checkers supported by Enchant are either incompatible, or have no personal word list mechanism. There may well be yet other spell-checkers, unknown to Enchant, that use the same format.

Some applications use Hunspell or Nuspell, but store the personal word list under another name or in another location; Firefox and Thunderbird do this. Firefox also seems to reorder its word list when updating it; again, this is OK, as the result is still in the same format.

To share word lists with Enchant, find the other spelling checker’s word list file, e.g. ~/.hunspell_fr_FR or ~/.config/nuspell/fr_FR, and merge it with the corresponding Enchant file, in this case ~/.config/enchant/fr_FR.dic. Use the following command, replacing ENCHANT-DICT and OTHER-DICT with the corresponding dictionary file names:

cat ENCHANT-DICT OTHER-DICT | sort -u > merged.txt

Take a look at merged.txt to check the merge has worked, then

mv merged.txt ENCHANT-DICT

rm OTHER-DICT

ln -s OTHER-DICT ENCHANT-DICT

to replace the other dictionary file with a link to the Enchant dictionary, again filling in the name of the dictionary files.

## ENVIRONMENT
The following variables affect the behavior of Enchant:

ENCHANT_CONFIG_DIR

A directory in which Enchant should look for configuration files. See below.

G_MESSAGES_DEBUG

Enchant uses GLib's log functions, with the domain libenchant, to output messages useful for debugging. Setting G_MESSAGES_DEBUG to libenchant will cause Enchant to output debugging messages to standard error. See the GLib documentation for more details.

## FILES AND DIRECTORIES
Enchant looks in the following places for user files, in decreasing order of precedence:

ENCHANT_CONFIG_DIR

(If the environment variable is set.)

XDG_CONFIG_HOME/enchant (non-Windows systems)

Default: ~/.config/enchant

CSIDL_LOCAL_APPDATA\enchant (Windows systems)

Default: C:\Documents and Settings\username\Local Settings\Application Data\enchant

Dictionaries for some providers are looked for in a subdirectory with the same name as the provider, for example ~/.config/enchant/hunspell. Currently this works for Hspell, Hunspell, Nuspell and Voikko.

Providers also look in specific system directories, and in some cases and user directories, for their dictionaries; see the documentation for each provider.

In addition, Enchant looks in the following systems directories for ordering files:

/etc/enchant-2

(Or the equivalent location relative to the enchant library for a relocatable build.)

/usr/share/enchant-2

(Or the equivalent location relative to the enchant library for a relocatable build.)

## SEE ALSO
enchant-2(1), enchant-lsmod-2(1)

## AUTHOR
Written by Dom Lachowicz and Reuben Thomas.