## This is ELinks configuration file. You can edit it manually, ## if you wish so; this file is edited by ELinks when you save ## options through UI, however only option values will be altered ## and missing options will be added at the end of file; if option ## is not written in this file, but in some file included from it, ## it is NOT counted as missing. Note that all your formatting, ## own comments and so on will be kept as-is. ## config.saving_style_w [0|1] # This is internal option used when displaying a warning about # obsolete config.saving_style. You shouldn't touch it. set config.saving_style_w = 1 ## terminal.linux.transparency [0|1] set terminal.linux.transparency = 1 ## terminal.linux.colors [0|1] set terminal.linux.colors = 1 ## terminal.linux.block_cursor [0|1] set terminal.linux.block_cursor = 0 ## terminal.linux.restrict_852 [0|1] set terminal.linux.restrict_852 = 0 ## terminal.linux.utf_8_io [0|1] set terminal.linux.utf_8_io = 0 ## terminal.linux.m11_hack [0|1] set terminal.linux.m11_hack = 1 ## terminal.linux.type set terminal.linux.type = 2 ## terminal.vt100.transparency [0|1] set terminal.vt100.transparency = 1 ## terminal.vt100.colors [0|1] set terminal.vt100.colors = 1 ## terminal.vt100.block_cursor [0|1] set terminal.vt100.block_cursor = 0 ## terminal.vt100.restrict_852 [0|1] set terminal.vt100.restrict_852 = 0 ## terminal.vt100.utf_8_io [0|1] set terminal.vt100.utf_8_io = 0 ## terminal.vt100.m11_hack [0|1] set terminal.vt100.m11_hack = 0 ## terminal.vt100.type set terminal.vt100.type = 1 ## terminal.vt110.transparency [0|1] set terminal.vt110.transparency = 1 ## terminal.vt110.colors [0|1] set terminal.vt110.colors = 1 ## terminal.vt110.block_cursor [0|1] set terminal.vt110.block_cursor = 0 ## terminal.vt110.restrict_852 [0|1] set terminal.vt110.restrict_852 = 0 ## terminal.vt110.utf_8_io [0|1] set terminal.vt110.utf_8_io = 0 ## terminal.vt110.m11_hack [0|1] set terminal.vt110.m11_hack = 0 ## terminal.vt110.type set terminal.vt110.type = 1 ## terminal.xterm.transparency [0|1] set terminal.xterm.transparency = 1 ## terminal.xterm.colors [0|1] set terminal.xterm.colors = 1 ## terminal.xterm.block_cursor [0|1] set terminal.xterm.block_cursor = 0 ## terminal.xterm.restrict_852 [0|1] set terminal.xterm.restrict_852 = 0 ## terminal.xterm.utf_8_io [0|1] set terminal.xterm.utf_8_io = 0 ## terminal.xterm.m11_hack [0|1] set terminal.xterm.m11_hack = 0 ## terminal.xterm.type set terminal.xterm.type = 1 ## terminal.xterm-color.transparency [0|1] set terminal.xterm-color.transparency = 1 ## terminal.xterm-color.colors [0|1] set terminal.xterm-color.colors = 1 ## terminal.xterm-color.block_cursor [0|1] set terminal.xterm-color.block_cursor = 0 ## terminal.xterm-color.restrict_852 [0|1] set terminal.xterm-color.restrict_852 = 0 ## terminal.xterm-color.utf_8_io [0|1] set terminal.xterm-color.utf_8_io = 0 ## terminal.xterm-color.m11_hack [0|1] set terminal.xterm-color.m11_hack = 0 ## terminal.xterm-color.type set terminal.xterm-color.type = 1 ## terminal.screen.transparency [0|1] set terminal.screen.transparency = 1 ## terminal.screen.colors [0|1] set terminal.screen.colors = 1 ## terminal.screen.block_cursor [0|1] set terminal.screen.block_cursor = 0 ## terminal.screen.restrict_852 [0|1] set terminal.screen.restrict_852 = 0 ## terminal.screen.utf_8_io [0|1] set terminal.screen.utf_8_io = 0 ## terminal.screen.m11_hack [0|1] set terminal.screen.m11_hack = 0 ## terminal.screen.type set terminal.screen.type = 1 ## connection.async_dns [0|1] # Use asynchronous DNS resolver? set connection.async_dns = 1 ## connection.max_connections # Maximum number of concurrent connections. set connection.max_connections = 10 ## connection.max_connections_to_host # Maximum number of concurrent connections to a given host. set connection.max_connections_to_host = 5 ## connection.retries # Number of tries to establish a connection. set connection.retries = 3 ## connection.receive_timeout # Receive timeout (in seconds). set connection.receive_timeout = 120 ## connection.unrestartable_receive_timeout # Timeout for non-restartable connections (in seconds). set connection.unrestartable_receive_timeout = 600 ## cookies.accept_policy # Cookies accepting policy: # 0 is accept no cookies # 1 is ask for confirmation before accepting cookie (UNIMPLEMENTED) # 2 is accept all cookies set cookies.accept_policy = 2 ## cookies.paranoid_security [0|1] # When enabled, we'll require three dots in cookies domain for all # non-international domains (instead of just two dots). Please see # code (cookies.c:check_domain_security()) for explanation. set cookies.paranoid_security = 0 ## cookies.save [0|1] # Load/save cookies from/to disk? set cookies.save = 1 ## cookies.resave [0|1] # Save cookies after each change in cookies list? No effect when # cookies_save is off. set cookies.resave = 1 ## document.browse.accesskey.auto_follow [0|1] # Automatically follow a link or submit a form if appropriate # accesskey is pressed - this is the standard behaviour, but it's # considered dangerous. set document.browse.accesskey.auto_follow = 0 ## document.browse.accesskey.priority # Priority of 'accesskey' HTML attribute: # 0 is first try all normal bindings; if it fails, check accesskey # 1 is first try only frame bindings; if it fails, check accesskey # 2 is first check accesskey (this can be dangerous) set document.browse.accesskey.priority = 1 ## document.browse.forms.auto_submit [0|1] # Automagically submit a form when enter is pressed with a text # field selected. set document.browse.forms.auto_submit = 1 ## document.browse.forms.confirm_submit [0|1] # Ask for confirmation when submitting a form. set document.browse.forms.confirm_submit = 1 ## document.browse.images.display_style # Display style for image tags when displayed: # 0 means always display IMG # 1 means always display filename # 2 means display alt/title attribute if possible, IMG if not # 3 means display alt/title attribute if possible, filename if not set document.browse.images.display_style = 2 ## document.browse.images.show_as_links [0|1] # Display links to images. set document.browse.images.show_as_links = 1 ## document.browse.links.color_dirs [0|1] # Highlight links to directories in FTP and local directory listing. set document.browse.links.color_dirs = 1 ## document.browse.links.numbering [0|1] # Display numbers next to the links. set document.browse.links.numbering = 0 ## document.browse.links.number_keys_select_link # Number keys select links rather than specify command prefixes. This # is a tristate: # 0 never # 1 if document.browse.links.numbering = 1 # 2 always set document.browse.links.number_keys_select_link = 1 ## document.browse.links.wraparound [0|1] # When pressing 'down' on the last link, jump at the first one, and # vice versa. set document.browse.links.wraparound = 0 ## document.browse.margin_width # Horizontal text margin. set document.browse.margin_width = 3 ## document.browse.scrolling.margin # Size of the virtual margin - when you click inside of that margin, # document scrolls in that direction. set document.browse.scrolling.margin = 3 ## document.browse.table_move_order [0|1] # Move by columns in table, instead of rows. set document.browse.table_move_order = 0 ## document.cache.cache_redirects [0|1] # Cache even redirects sent by server (usually thru HTTP by a 302 # HTTP code and a Location header). This was the original behaviour # for a quite some time, but it causes problems in a situation very # common to various web login systems - frequently, when accessing # certain location, they will redirect you to a login page if they # don't receive an auth cookie, the login page then gives you the # cookie and redirects you back to the original page, but there you # have already cached redirect back to the login page! If this # option has value of 0, this malfunction is fixed, but occassionally # you may get superfluous (depends on how you take it ;-) requests to # the server. If this option has value of 1, experienced users can # still workaround it by clever combination of usage of reload, # jumping around in session history and hitting ctrl+enter. # Note that this option is checked when retrieving the information # from cache, not when saving it to cache - thus if you will enable # it, even previous redirects will be taken from cache instead of # asking the server. set document.cache.cache_redirects = 0 ## document.cache.ignore_cache_control [0|1] # Ignore Cache-Control and Pragma server headers. # When set, the document is cached even with 'Cache-Control: no-cache'. set document.cache.ignore_cache_control = 1 ## document.cache.format.size # Number of cached formatted pages. set document.cache.format.size = 5 ## document.cache.memory.size # Memory cache size (in kilobytes). set document.cache.memory.size = 1M ## document.codepage.force_assumed [0|1] # Ignore charset info sent by server. set document.codepage.force_assumed = 0 ## document.colors.text # Default text color. set document.colors.text = "#bfbfbf" ## document.colors.background # Default background color. set document.colors.background = "black" ## document.colors.link # Default link color. set document.colors.link = "blue" ## document.colors.vlink # Default visited link color. set document.colors.vlink = "yellow" ## document.colors.dirs # Default directory color. # See document.browse.links.color_dirs option. set document.colors.dirs = "yellow" ## document.colors.allow_dark_on_black [0|1] # Allow dark colors on black background. set document.colors.allow_dark_on_black = 0 ## document.colors.use_document_colors [0|1] # Use colors specified in document. set document.colors.use_document_colors = 1 ## mime.default_type # Document MIME-type to assume by default (when we are unable to # guess it properly from known information about the document). set mime.default_type = "text/plain" ## document.download.directory # Default download directory. set document.download.directory = "./" ## document.download.set_original_time [0|1] # Set the timestamp of each downloaded file to the timestamp # stored on the server. set document.download.set_original_time = 1 ## document.download.overwrite # Prevent overwriting the local files: # 0 is files will silently be overwritten. # 1 is add a suffix .{number} (for example '.1') to the name. # 2 is ask the user. set document.download.overwrite = 2 ## document.download.notify_bell # Audio notification when download is completed: # 0 is never. # 1 is when background notification is active. # 2 is always set document.download.notify_bell = 1 ## document.dump.width # Width of screen in characters when dumping a HTML document. set document.dump.width = 80 ## document.history.global.enable [0|1] # Enable global history ("history of all pages visited"). set document.history.global.enable = 1 ## document.history.global.max_items # Maximum number of entries in the global history. set document.history.global.max_items = 1k ## document.history.global.display_type # What to display in global history dialog: # 0 is URLs # 1 is page titles set document.history.global.display_type = 1 ## document.history.keep_unhistory [0|1] # Keep unhistory ("forward history")? set document.history.keep_unhistory = 1 ## document.html.display_frames [0|1] # Display frames. set document.html.display_frames = 1 ## document.html.display_tables [0|1] # Display tables. set document.html.display_tables = 1 ## document.html.display_subs [0|1] # Display subscripts (as [thing]). set document.html.display_subs = 1 ## document.html.display_sups [0|1] # Display superscripts (as ^thing). set document.html.display_sups = 1 ## mime.extension.gif # MIME-type matching this file extension ('*' is used here in place # of '.'). set mime.extension.gif = "image/gif" ## mime.extension.jpg # MIME-type matching this file extension ('*' is used here in place # of '.'). set mime.extension.jpg = "image/jpeg" ## mime.extension.jpeg # MIME-type matching this file extension ('*' is used here in place # of '.'). set mime.extension.jpeg = "image/jpeg" ## mime.extension.png # MIME-type matching this file extension ('*' is used here in place # of '.'). set mime.extension.png = "image/png" ## mime.extension.txt # MIME-type matching this file extension ('*' is used here in place # of '.'). set mime.extension.txt = "text/plain" ## mime.extension.htm # MIME-type matching this file extension ('*' is used here in place # of '.'). set mime.extension.htm = "text/html" ## mime.extension.html # MIME-type matching this file extension ('*' is used here in place # of '.'). set mime.extension.html = "text/html" ## protocol.http.bugs.allow_blacklist [0|1] # Allow blacklisting of buggy servers. set protocol.http.bugs.allow_blacklist = 1 ## protocol.http.bugs.broken_302_redirect [0|1] # Broken 302 redirect (violates RFC but compatible with Netscape). # This is a problem for a lot of web discussion boards and the like.If they will do strange things to you, try to play with this. set protocol.http.bugs.broken_302_redirect = 1 ## protocol.http.bugs.post_no_keepalive [0|1] # Disable keepalive connection after POST request. set protocol.http.bugs.post_no_keepalive = 0 ## protocol.http.bugs.http10 [0|1] # Use HTTP/1.0 protocol instead of HTTP/1.1. set protocol.http.bugs.http10 = 0 ## protocol.http.proxy.host # Host and port-number (host:port) of the HTTP proxy, or blank. # If it's blank, HTTP_PROXY environment variable is checked as well. set protocol.http.proxy.host = "" ## protocol.http.proxy.user # Proxy authentication username. set protocol.http.proxy.user = "" ## protocol.http.proxy.passwd # Proxy authentication password. set protocol.http.proxy.passwd = "" ## protocol.http.referer.policy # Mode of sending HTTP referer: # 0 is send no referer # 1 is send current URL as referer # 2 is send fixed fake referer # 3 is send previous URL as referer (correct, but insecure) # set protocol.http.referer.policy = 1 ## protocol.http.referer.fake # Fake referer to be sent when policy is 2. set protocol.http.referer.fake = "" ## protocol.http.accept_language # Send Accept-Language header. set protocol.http.accept_language = "" ## protocol.http.accept_ui_language [0|1] # Request localised versions of documents from web-servers (using the # Accept-Language header) using the language you have configured for # ELinks' user-interface. Note that some see this as a potential security # risk because it tells web-masters about your preference in language. set protocol.http.accept_ui_language = 0 ## protocol.http.user_agent # Change the User Agent ID. That means identification string, which # is sent to HTTP server when a document is requested. # %v in the string means ELinks version # %s in the string means system identification # %t in the string means size of the terminal # Use " " if you don't want any User-Agent header to be sent at all. set protocol.http.user_agent = "ELinks (%v; %s; %t)" ## protocol.http.trace [0|1] # If active, all HTTP requests are sent with TRACE as their method # rather than GET or POST. This is useful for debugging of both ELinks # and various server-side scripts --- the server only returns the client's # request back to the client verbatim. Note that this type of request may # not be enabled on all servers. set protocol.http.trace = 0 ## protocol.ftp.proxy.host # Host and port-number (host:port) of the FTP proxy, or blank. # If it's blank, FTP_PROXY environment variable is checked as well. set protocol.ftp.proxy.host = "" ## protocol.ftp.anon_passwd # FTP anonymous password to be sent. set protocol.ftp.anon_passwd = "elinksUSER@gentoo.org" ## protocol.ftp.use_pasv [0|1] # Use PASV instead of PORT (passive vs active mode, IPv4 only). set protocol.ftp.use_pasv = 1 ## protocol.ftp.use_epsv [0|1] # Use EPSV instead of EPRT (passive vs active mode, IPv6 only). # set protocol.ftp.use_epsv = 0 ## protocol.file.allow_special_files [0|1] # Allow reading from non-regular files? (DANGEROUS - reading # /dev/urandom or /dev/zero can ruin your day!) set protocol.file.allow_special_files = 0 ## protocol.file.try_encoding_extensions [0|1] # When set, if we can't open a file named 'filename', we'll try # to open 'filename' + some encoding extensions (ie. # 'filename.gz'); it depends on the supported encodings. set protocol.file.try_encoding_extensions = 1 ## protocol.user.mailto.unix set protocol.user.mailto.unix = "mutt %h -s \"%s\"" ## protocol.user.mailto.unix-xwin set protocol.user.mailto.unix-xwin = "mutt %h -s \"%s\"" ## protocol.user.telnet.unix set protocol.user.telnet.unix = "telnet %h %p" ## protocol.user.telnet.unix-xwin set protocol.user.telnet.unix-xwin = "telnet %h %p" ## protocol.user.tn3270.unix set protocol.user.tn3270.unix = "tn3270 %h %p" ## protocol.user.tn3270.unix-xwin set protocol.user.tn3270.unix-xwin = "tn3270 %h %p" ## protocol.user.gopher.unix set protocol.user.gopher.unix = "lynx %u" ## protocol.user.gopher.unix-xwin set protocol.user.gopher.unix-xwin = "lynx %u" ## protocol.user.news.unix set protocol.user.news.unix = "lynx %u" ## protocol.user.news.unix-xwin set protocol.user.news.unix-xwin = "lynx %u" ## ui.show_status_bar [0|1] # Show status bar on the screen. set ui.show_status_bar = 1 ## ui.show_title_bar [0|1] # Show title bar on the screen. set ui.show_title_bar = 1 ## ui.startup_goto_dialog [0|1] # Pop up goto dialog on startup when there's no homepage set. set ui.startup_goto_dialog = 1 ## ui.window_title [0|1] # Whether ELinks window title should be touched when ELinks is # run in a windowing environment. set ui.window_title = 1 ## secure_file_saving [0|1] # First write data to 'file.tmp', then rename to 'file' upon # successfully finishing this. Note that this relates only to # config files, not downloaded files. You may want to disable # it, if you want some config file with some exotic permissions. # Secure file saving is automagically disabled if file is symlink. set secure_file_saving = 1