From 3ec64a113b6cc18aa7fcef66244e15b8754966fd Mon Sep 17 00:00:00 2001 Message-Id: <3ec64a113b6cc18aa7fcef66244e15b8754966fd.1718394083.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 27 Apr 2012 20:14:28 +0100 Subject: [PATCH] Add configuration for w3m and elinks browsers. Organization: Straylight/Edgeware From: Mark Wooding Maybe I should add lynx too. --- dot/elinks.conf | 73 ++++++++++++++++++++++++ dot/w3m-config | 149 ++++++++++++++++++++++++++++++++++++++++++++++++ setup | 1 + 3 files changed, 223 insertions(+) create mode 100644 dot/elinks.conf create mode 100644 dot/w3m-config diff --git a/dot/elinks.conf b/dot/elinks.conf new file mode 100644 index 0000000..e1cf858 --- /dev/null +++ b/dot/elinks.conf @@ -0,0 +1,73 @@ +## ELinks 0.12pre5 configuration file + +## 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. +## +## Obviously, if you don't like what ELinks is going to do with +## this file, you can change it by altering the config.saving_style +## option. Come on, aren't we friendly guys after all? + + + +############################## +# Automatically saved options +# + +## config +# Configuration handling options. + + ## 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 +# Terminal options. + + ## terminal.xterm + # Options specific to this terminal type (according to $TERM value). + + ## terminal.xterm.colors + set terminal.xterm.colors = 3 + ## terminal.xterm.utf_8_io [0|1] + set terminal.xterm.utf_8_io = 1 + + +## ui +# User interface options. + + ## ui.language + # Language of user interface. 'System' means that the language will be + # extracted from the environment dynamically. + set ui.language = "System" + + + + + +############################## +# Automatically saved options +# + +## terminal +# Terminal options. + + ## terminal.screen + # Options specific to this terminal type (according to $TERM value). + + ## terminal.screen.colors + set terminal.screen.colors = 1 + ## terminal.screen.block_cursor [0|1] + set terminal.screen.block_cursor = 1 + ## terminal.screen.utf_8_io [0|1] + set terminal.screen.utf_8_io = 1 + ## terminal.screen.type + set terminal.screen.type = 1 + + diff --git a/dot/w3m-config b/dot/w3m-config new file mode 100644 index 0000000..836469f --- /dev/null +++ b/dot/w3m-config @@ -0,0 +1,149 @@ +simple_preserve_space 0 +gb18030_as_ucs 0 +strict_iso2022 1 +use_jisx0213 0 +use_jisx0212 0 +use_jisx0201k 0 +use_jisc6226 0 +use_jisx0201 0 +use_gb12345_map 0 +fix_width_conv 1 +search_conv 1 +pre_conv 0 +ucs_conv 1 +use_language_tag 1 +east_asian_width 0 +use_combining 1 +use_wide 1 +ext_halfdump 0 +follow_locale 1 +system_charset UTF-8 +auto_detect 2 +document_charset UTF-8 +display_charset UTF-8 +cookie_avoid_wrong_number_of_dots +cookie_accept_domains +cookie_reject_domains +accept_bad_cookie 0 +accept_cookie 1 +show_cookie 1 +use_cookie 1 +ssl_ca_file +ssl_ca_path /etc/ssl/certs +ssl_key_file +ssl_cert_file +ssl_verify_server 1 +ssl_forbid_method +no_cache 0 +noproxy_netaddr 0 +no_proxy localhost +ftp_proxy http://www-cache.distorted.org.uk:3128/ +gopher_proxy http://www-cache.distorted.org.uk:3128/ +https_proxy http://www-cache.distorted.org.uk:3128/ +http_proxy http://www-cache.distorted.org.uk:3128/ +use_proxy 1 +max_news 50 +nntpmode +nntpserver tux.nsict.org +dns_order 0 +meta_refresh 1 +follow_redirection 10 +default_url 1 +retry_http 0 +argv_is_url 1 +accept_media text/*, image/*, application/*, audio/*, message/*, chemical/* +accept_encoding gzip, compress, bzip, bzip2, deflate +accept_language en; q=1.0 +no_referer 0 +user_agent +pre_form_file ~/.w3m/pre_form +ftppass_hostnamegen 0 +ftppasswd anonymous@ +disable_secret_security_check 0 +passwd_file ~/.w3m/passwd +use_lessopen 0 +bgextviewer 1 +extbrowser3 +extbrowser2 +extbrowser /usr/X11R6/bin/netscape +mailer +mailto_options 1 +editor sensible-editor +urimethodmap ~/.w3m//urimethodmap, /etc/w3m/urimethodmap +mailcap ~/.w3m/mailcap, /etc/w3m/mailcap, /etc/mailcap +mime_types ~/.w3m/mime.types, /etc/mime.types +index_file +cgi_bin +personal_document_root +document_root +keymap_file keymap +preserve_timestamp 1 +auto_uncompress 0 +decode_cte 0 +clear_buffer 1 +fixed_wheel_scroll_count 5 +relative_wheel_scroll_ratio 30 +relative_wheel_scroll 0 +reverse_mouse 0 +use_mouse 0 +migemo_command migemo -t egrep /usr/share/migemo/migemo-dict +use_migemo 1 +ignorecase_search 1 +wrap_search 0 +mark_all_pages 0 +vi_prec_num 1 +emacs_like_lineedit 1 +mark 1 +close_tab_back 0 +confirm_qq 0 +save_hist 1 +history 100 +use_history 1 +pagerline 10000 +visited_color magenta +visited_anchor 0 +active_color cyan +active_style 0 +bg_color terminal +mark_color magenta +form_color red +image_color green +anchor_color cyan +basic_color terminal +color 1 +nextpage_topline 0 +label_topline 0 +show_srch_str 1 +show_lnum 0 +fold_line 0 +image_map_list 1 +imgdisplay w3mimgdisplay +image_scale 100 +ext_image_viewer 1 +max_load_image 4 +auto_image 1 +pseudo_inlines 1 +display_image 1 +view_unseenobject 1 +ignore_null_img_alt 0 +display_ins_del 1 +fold_textarea 0 +graphic_char 0 +alt_entity 0 +multicol 0 +dictcommand file:///$LIB/w3mdict.cgi +use_dictcommand 0 +dirlist_cmd file:///$LIB/dirlist.cgi +ext_dirlist 1 +display_lineinfo 0 +decode_url 0 +display_link_number 0 +display_link 1 +open_tab_dl_list 0 +open_tab_blank 0 +target_self 0 +frame 1 +pixel_per_line 13 +pixel_per_char 6 +indent_incr 4 +tabstop 8 diff --git a/setup b/setup index fd94d33..f84d799 100755 --- a/setup +++ b/setup @@ -149,6 +149,7 @@ dotfiles=" lisp-init.lisp:.clisprc.lisp lisp-init.lisp:.eclrc swank.lisp + w3m-config:.w3m/config elinks.conf:.elinks/elinks.conf dircolors colordiffrc screenrc cvsrc indent.pro" [ "$xstuff" ] && dotfiles="$dotfiles xinitrc xsession Xdefaults vncrc vncsession -- [mdw]