From 0fc74268a0dca400492db7ab37cf892ab8ed6234 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 6 May 2007 21:47:53 +0300 Subject: [PATCH] contrib/elinks.conf: Update from -config-dump. Just to show how badly it was out of date. --- contrib/elinks.conf | 387 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 331 insertions(+), 56 deletions(-) diff --git a/contrib/elinks.conf b/contrib/elinks.conf index 6dc251c9..0126db27 100644 --- a/contrib/elinks.conf +++ b/contrib/elinks.conf @@ -1,4 +1,4 @@ -## ELinks 0.11.CVS configuration file +## ELinks 0.12.GIT configuration file ## This is ELinks configuration file. You can edit it manually, ## if you wish so, but keep in mind that this file is overwritten @@ -21,7 +21,8 @@ ## bookmarks.file_format # File format for bookmarks (affects both reading and saving): # 0 is the default native ELinks format - # 1 is XBEL universal XML bookmarks format (NO NATIONAL CHARS SUPPORT!) + # 1 is XBEL universal XML bookmarks format (ELinks bug 153: NO NATIONAL CHARS + # SUPPORT!) set bookmarks.file_format = 0 ## bookmarks.folder_state [0|1] @@ -136,14 +137,14 @@ # at all unless you are sure what are you doing. # Note that you can also force a given protocol # to be used on a per-connection basis by using an URL - # in the style of i.e. http4://elinks.or.cz/. + # in the style of e.g. http4://elinks.cz/. set connection.try_ipv4 = 1 ## connection.try_ipv6 [0|1] # Whether to try to connect to a host over IPv6. # Note that you can also force a given protocol # to be used on a per-connection basis by using an URL - # in the style of i.e. http6://elinks.or.cz/. + # in the style of e.g. http6://elinks.cz/. set connection.try_ipv6 = 1 ## connection.unrestartable_receive_timeout @@ -238,13 +239,19 @@ # The setting for this option affects how key presses are handled # when one selects a text-input form-field. When enabled, one must # explicitly 'enter' a selected text-field to edit it; this prevents - # a text field from capturing key presses, such as presses of a scroll - # key, - # when it is inadvertently selected. When disabled, key presses are - # always - # inserted into a selected text field. + # text fields from capturing key presses, such as presses of a scroll + # key, when it is inadvertently selected. When disabled, key presses + # are always inserted into a selected text field. set document.browse.forms.insert_mode = 1 + ## document.browse.forms.editor + # Path to the executable that ELinks should launch when the user + # requests to edit a textarea with an external editor. + # If this is blank, ELinks will use the value of the environmental + # variable $EDITOR. If $EDITOR is empty or not set, ELinks will then + # default to "vi". + set document.browse.forms.editor = "" + ## document.browse.forms.show_formhist [0|1] # Ask if a login form should be saved to file or not. # This option only disables the dialog, already saved login @@ -354,6 +361,7 @@ # 0 means open link in current tab # 1 means open link in new tab in foreground # 2 means open link in new tab in background + # 3 means open link in new window set document.browse.links.target_blank = 0 ## document.browse.links.use_tabindex [0|1] @@ -363,6 +371,10 @@ # to navigating the document. set document.browse.links.use_tabindex = 1 + ## document.browse.links.missing_fragment [0|1] + # Open a message box when document has no tag with given id. + set document.browse.links.missing_fragment = 1 + ## document.browse.links.number_keys_select_link # Number keys select links rather than specify command prefixes. This # is a tristate: @@ -532,6 +544,16 @@ # When set, the document is cached even with 'Cache-Control: no-cache'. set document.cache.ignore_cache_control = 1 + ## document.cache.revalidation_interval + # Period in seconds that a cache entry is considered to be + # up-to-date. When a document is loaded and this interval has elapsed + # since the document was initially loaded or most recently + # revalidated with the server, the server will be checked in case + # there is a more up-to-date version of the document. + # + # A value of -1 disables automatic revalidation. + set document.cache.revalidation_interval = -1 + ## document.codepage # Charset options. @@ -578,13 +600,12 @@ # See document.browse.links.color_dirs option. set document.colors.dirs = "yellow" - ## document.colors.allow_dark_on_black [0|1] - # Allow dark colors on black background, and vice versa. (!) - # By default the colors have their contrast increased (that is - # different from having it ensured through the ensure_contrast - # option), so that the foreground and the background do not have - # too similar colors. This option turns this off. - set document.colors.allow_dark_on_black = 0 + ## document.colors.increase_contrast [0|1] + # Increase the contrast between the foreground and background colors + # to ensure readability. For example it disallows dark colors on a + # black background. Note, this is different from ensuring the contrast + # with the ensure_contrast option. + set document.colors.increase_contrast = 1 ## document.colors.ensure_contrast [0|1] # Makes sure that the back- and foreground color are never equal. @@ -658,14 +679,37 @@ # a codepage determined by a selected locale. set document.dump.codepage = "System" - ## document.dump.header - # Header string used in dumps. %u is substituted by URL. - set document.dump.header = "" + ## document.dump.color_mode + # Color mode for dumps. + # Some modes may have been disabled at compile time. The Setup -> Terminal + # options dialog lists the modes supported by this executable. If you + # select an unsupported mode, ELinks uses 16 colors. + # The color modes are: + # -1 is standard dump mode + # 0 is mono mode + # 1 is 16 color mode + # 2 is 88 color mode + # 3 is 256 color mode + # 4 is true color mode + set document.dump.color_mode = -1 ## document.dump.footer # Footer string used in dumps. %u is substituted by URL. set document.dump.footer = "" + ## document.dump.header + # Header string used in dumps. %u is substituted by URL. + set document.dump.header = "" + + ## document.dump.numbering [0|1] + # Whether to print link numbers in dump output. + set document.dump.numbering = 1 + + ## document.dump.references [0|1] + # Whether to print references (URIs) of document links + # in dump output. + set document.dump.references = 1 + ## document.dump.separator # String which separates two dumps. set document.dump.separator = " @@ -756,7 +800,16 @@ ## document.uri_passing - # Rules for passing URIs to external commands. + # Rules for passing URIs to external commands. When one rule + # is defined the link and tab menu will have a menu item that + # makes it possible to pass the the link, frame or tab URI to + # an external command. If several rules are defined the link and + # tab menu will have a submenu of items for each rule. Note, this + # is mostly useful for launching graphical viewers, since there + # is no support for releasing the terminal while the command runs. + # The action and submenus are also available by binding keys to + # the frame-external-command, the link-external-command, and + # the tab-external-command actions. @@ -765,12 +818,17 @@ ## ecmascript.enable [0|1] # Whether to run those scripts inside of documents. - set ecmascript.enable = 1 + set ecmascript.enable = 0 ## ecmascript.error_reporting [0|1] # Open a message box when a script reports an error. set ecmascript.error_reporting = 0 + ## ecmascript.ignore_noscript [0|1] + # Whether to ignore content enclosed by the