## 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. ## ## $Id: elinks.conf,v 1.4 2002/10/07 22:36:32 grin Exp $ ##################################### # Automatically saved options # ## connection # Connection options. ## 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 connection 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 # Timeout on receive (in seconds). set connection.receive_timeout = 120 ## connection.unrestartable_receive_timeout # Timeout on non restartable connections (in seconds). set connection.unrestartable_receive_timeout = 600 ## cookies # Cookies options. ## cookies.accept_policy # Mode of accepting cookies: # 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 further description. set cookies.paranoid_security = 0 ## cookies.save [0|1] # Load/save cookies from/to disk? set cookies.save = 0 ## cookies.resave [0|1] # Save cookies after each change in cookies list? No effect when # cookies_save is off. set cookies.resave = 1 ## document # Document options. ## document.browse # Document browsing options (mainly interactivity). ## document.browse.accesskey # Options for handling accesskey attribute. ## document.browse.accesskey.auto_follow [0|1] # Automatically follow link / submit form if appropriate accesskey # is pressed - this is standard behaviour, however dangerous. set document.browse.accesskey.auto_follow = 0 ## document.browse.accesskey.priority # Priority of 'accesskey' HTML attribute: # 0 is first try all normal bindings and if it fails, check accesskey # 1 is first try only frame bindings and if it fails, check accesskey # 2 is first check accesskey (that can be dangerous) set document.browse.accesskey.priority = 1 ## document.browse.forms # Options for handling forms interaction. ## document.browse.forms.auto_submit [0|1] # Automagically submit a form when enter pressed on text field. 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 # Options for handling of images. ## document.browse.images.file_tags # Display [target filename] instead of [IMG] as visible image tags: # -1 means always display just [IMG] # 0 means always display full target filename # 1-500 means display target filename of this maximal length; # if filename is longer, middle part of it # is stripped and substituted by an asterisk set document.browse.images.file_tags = -1 ## document.browse.images.show_as_links [0|1] # Display links to images. set document.browse.images.show_as_links = 1 ## document.browse.links # Options for handling of links to other documents. ## document.browse.links.color_dirs [0|1] # Highlight links to directories when listing local disk content. set document.browse.links.color_dirs = 1 ## document.browse.links.numbering [0|1] # Display links numbered. set document.browse.links.numbering = 0 ## 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.table_move_order [0|1] # Move by columns in table. set document.browse.table_move_order = 0 ## document.cache # Cache options. ## document.cache.format # Format cache options. ## document.cache.format.size # Number of cached formatted pages. set document.cache.format.size = 5 ## document.cache.memory # Memory cache options. ## document.cache.memory.size # Memory cache size (in kilobytes). set document.cache.memory.size = 1M ## document.codepage # Charset options. ## document.codepage.assume # Default document codepage. set document.codepage.assume = "ISO-8859-1" ## document.codepage.force_assumed [0|1] # Ignore charset info sent by server. set document.codepage.force_assumed = 0 ## document.colors # Default color settings. ## document.colors.text # Default text color. set document.colors.text = "#bfbfbf" ## document.colors.background # Default background color. set document.colors.background = "#000000" ## document.colors.link # Default link color. set document.colors.link = "#0000ff" ## document.colors.vlink # Default vlink color. set document.colors.vlink = "#ffff00" ## 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 ## document.download # Options regarding files downloading and handling. ## document.download.default_mime_type # MIME type for a document we should assume by default (when we are # unable to guess it properly from known informations about the # document). set document.download.default_mime_type = "text/plain" ## document.download.directory # Default download directory. set document.download.directory = "./" ## document.download.set_original_time [0|1] # Set time of downloaded files accordingly to one stored on server. set document.download.set_original_time = 1 ## document.dump # Dump output options. ## document.dump.codepage # Codepage used in dump output. set document.dump.codepage = "us-ascii" ## document.dump.width # Size of screen in characters, when dumping a HTML document. set document.dump.width = 80 ## document.history # History options. ## document.history.global # Global history options. ## document.history.global.enable [0|1] # Enable global history ("history of all pages visited")? set document.history.global.enable = 1 ## document.history.keep_unhistory [0|1] # Keep unhistory ("forward history")? set document.history.keep_unhistory = 1 ## document.html # Options concerning displaying of HTML pages. ## document.html.display_frames [0|1] # Display frames. set document.html.display_frames = 1 ## document.html.display_tables [0|1] # Display tables. set document.html.display_tables = 1 ## mime # MIME-related options. ## mime.type # Action<->MIME-type association. ## mime.type._template_ # Handler matching this MIME-type class. ## mime.type._template_._template_ # Handler matching this MIME-type name. # set mime.type.image.jpeg = "image_viewer" # set mime.type.image.gif = "image_viewer" # set mime.type.image.png = "image_viewer" # set mime.type.image.tiff = "image_viewer" # Pdf and Postscript examples: # set mime.type.application.pdf = "pdf" # set mime.type.application.postscript = "ps" ## mime.handler # Handler for certain file types. ## mime.handler._template_._template_.ask [0|1] # Ask before opening. # set mime.handler.image_viewer.unix.ask = 1 # set mime.handler.image_viewer.unix-xwin.ask = 1 # Pdf and Postscript examples: # set mime.handler.pdf.unix-xwin.ask = 1 # set mime.handler.pdf.unix.ask = 1 # set mime.handler.ps.unix-xwin.ask = 1 # set mime.handler.ps.unix.ask = 1 ## mime.handler._template_._template_.block [0|1] # Block the terminal when the handler is running. # set mime.handler.image_viewer.unix.block = 1 # set mime.handler.image_viewer.unix-xwin.block = 1 # Pdf and Postscript examples: # set mime.handler.pdf.unix.block = 1 # set mime.handler.pdf.unix-xwin.block = 1 # set mime.handler.ps.unix.block = 1 # set mime.handler.ps.unix-xwin.block = 1 ## mime.handler._template_._template_.program # External viewer for this file type. # set mime.handler.image_viewer.unix.program = "/usr/bin/zgv %" # set mime.handler.image_viewer.unix-xwin.program = "/usr/bin/qiv % &>/dev/null" # Pdf and Postscript examples: # set mime.handler.pdf.unix.program = "" # set mime.handler.pdf.unix-xwin.program = "" # set mime.handler.ps.unix.program = "" # set mime.handler.ps.unix-xwin.program = "" ## mime.extension # Extension<->MIME-type association. ## mime.extension._template_ # MIME-type matching this file extension (dashes are used here # instead of dots). # set mime.extension.*gif = "image/gif" # set mime.extension.*tiff = "image/tiff" # set mime.extension.*jpeg = "image/jpeg" # set mime.extension.*png = "image/png" ## mime.extension.-png # MIME-type matching this file extension (dashes are used here # instead of dots). ## set mime.extension.-png = "image/png" ## protocol # Protocol specific options. ## protocol.http # HTTP specific options. ## protocol.http.bugs # Server-side HTTP bugs workarounds. ## protocol.http.bugs.allow_blacklist [0|1] # Allow blacklist 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). set protocol.http.bugs.broken_302_redirect = 1 ## protocol.http.bugs.post_no_keepalive [0|1] # No keepalive connection after POST request. set protocol.http.bugs.post_no_keepalive = 0 ## protocol.http.bugs.http10 [0|1] # Use HTTP/1.0 protocol instead of HTTP/1.1. set protocol.http.bugs.http10 = 0 ## protocol.http.proxy # HTTP proxy configuration. ## protocol.http.proxy.host # Host and port number (host:port) of the HTTP proxy, or blank. set protocol.http.proxy.host = "" ## protocol.http.proxy.user # Proxy authentication user. set protocol.http.proxy.user = "" ## protocol.http.proxy.passwd # Proxy authentication password. set protocol.http.proxy.passwd = "" ## protocol.http.referer # HTTP referer sending rules. ## 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.user_agent # Change the User Agent ID. That means identification string, which # is sent to HTTP server when a document is requested. # If empty, defaults to: ELinks (; ; ) #set protocol.http.user_agent = "" ## protocol.ftp # FTP specific options. ## protocol.ftp.proxy # FTP proxy configuration. ## protocol.ftp.proxy.host # Host and port number (host:port) of the FTP proxy, or blank. set protocol.ftp.proxy.host = "" ## protocol.ftp.anon_passwd # FTP anonymous password to be sent. set protocol.ftp.anon_passwd = "elinks_user@debian.org" ## protocol.file # Options specific for local browsing. ## 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.user # User protocols options. ## protocol.user._template_ # System-specific handlers for these protocols. ## protocol.user._template_._template_ # Handler (external program) for this protocol. # %h in the string means hostname # %p in the string means port # %s in the string means subject (?subject=) # %u in the string means the whole URL set protocol.user._template_._template_ = "" ## protocol.user.mailto ## protocol.user.mailto._template_ set protocol.user.mailto._template_ = "" ## protocol.user.mailto.unix set protocol.user.mailto.unix = "mutt %" ## protocol.user.telnet ## protocol.user.telnet._template_ set protocol.user.telnet._template_ = "" ## protocol.user.telnet.unix set protocol.user.telnet.unix = "telnet %" ## protocol.user.tn3270 ## protocol.user.tn3270._template_ set protocol.user.tn3270._template_ = "" ## protocol.user.tn3270.unix set protocol.user.tn3270.unix = "telnet %" ## terminal # Terminal options. ## terminal._template_ # Options specific to this terminal type. ## terminal._template_.type # Terminal type; matters mostly only when drawing frames and # dialog box borders: # 0 is dumb terminal type, ASCII art # 1 is Linux, you get double frames and other goodies # 2 is VT100, simple but portable # 3 is KOI-8 set terminal._template_.type = 1 ## terminal._template_.m11_hack [0|1] # If using Linux terminal, switch font when drawing lines, # enabling both local characters and lines working at the same # time. set terminal._template_.m11_hack = 1 ## terminal._template_.utf_8_io [0|1] # Enable I/O in UTF8 for Unicode terminals. set terminal._template_.utf_8_io = 0 ## terminal._template_.restrict_852 [0|1] # Someone who understands this ... ;)) I'm too lazy to think about this now :P. set terminal._template_.restrict_852 = 0 ## terminal._template_.block_cursor [0|1] # This means that we always move cursor to bottom right corner # when done drawing. This is particularly useful when we are # using block cursor, as inversed stuff is displayed correctly. set terminal._template_.block_cursor = 0 ## terminal._template_.colors [0|1] # If we should use colors. set terminal._template_.colors = 1 ## terminal._template_.charset # Codepage of charset used for displaying of content on terminal. set terminal._template_.charset = "us-ascii" ## terminal.linux # Options specific to this terminal type. ## terminal.linux.type set terminal.linux.type = 2 ## terminal.linux.m11_hack [0|1] set terminal.linux.m11_hack = 1 ## terminal.linux.utf_8_io [0|1] set terminal.linux.utf_8_io = 0 ## terminal.linux.restrict_852 [0|1] set terminal.linux.restrict_852 = 0 ## terminal.linux.block_cursor [0|1] set terminal.linux.block_cursor = 1 ## terminal.linux.colors [0|1] set terminal.linux.colors = 1 ## terminal.linux.charset set terminal.linux.charset = "ISO-8859-1" ## ui # User interface options. ## ui.language # Language of user interface. set ui.language = "English" ## 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 ui.startup_goto_dialog = 1 ## ui.window_title [0|1] # Whether ELinks window title should be touched if ELinks is # being ran in some windowing environment. set ui.window_title = 1 ## secure_file_saving [0|1] # First write data to 'file.tmp', rename to 'file' upon # successful 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