From 9b8de8925b01c477a5584bb8e50a326042244dc8 Mon Sep 17 00:00:00 2001 From: mhoellein Date: Thu, 3 Feb 2022 09:59:20 +0100 Subject: [PATCH] committing changes in /etc made by "apt install w3m" Package changes: +w3m 0.5.3-37 amd64 --- .etckeeper | 3 + alternatives/www-browser | 1 + alternatives/www-browser.1.gz | 1 + mailcap | 2 + w3m/config | 128 ++++++++++++++++++++++++++++++++++ w3m/mailcap | 1 + 6 files changed, 136 insertions(+) create mode 120000 alternatives/www-browser create mode 120000 alternatives/www-browser.1.gz create mode 100644 w3m/config create mode 100644 w3m/mailcap diff --git a/.etckeeper b/.etckeeper index 2aa0c0867..a9b2416a0 100755 --- a/.etckeeper +++ b/.etckeeper @@ -9507,6 +9507,9 @@ maybe chmod 0755 'vulkan' maybe chmod 0755 'vulkan/explicit_layer.d' maybe chmod 0755 'vulkan/icd.d' maybe chmod 0755 'vulkan/implicit_layer.d' +maybe chmod 0755 'w3m' +maybe chmod 0644 'w3m/config' +maybe chmod 0644 'w3m/mailcap' maybe chmod 0755 'webmin' maybe chgrp 'bin' 'webmin/acl' maybe chmod 0711 'webmin/acl' diff --git a/alternatives/www-browser b/alternatives/www-browser new file mode 120000 index 000000000..63aa24b14 --- /dev/null +++ b/alternatives/www-browser @@ -0,0 +1 @@ +/usr/bin/w3m \ No newline at end of file diff --git a/alternatives/www-browser.1.gz b/alternatives/www-browser.1.gz new file mode 120000 index 000000000..ef9b2658b --- /dev/null +++ b/alternatives/www-browser.1.gz @@ -0,0 +1 @@ +/usr/share/man/man1/w3m.1.gz \ No newline at end of file diff --git a/mailcap b/mailcap index 03780a256..f790271e3 100644 --- a/mailcap +++ b/mailcap @@ -52,8 +52,10 @@ application/x-shellscript; vim %s; needsterminal text/x-c; vim %s; needsterminal text/x-c++; vim %s; needsterminal text/plain; view %s; edit=vim %s; compose=vim %s; test=test -x /usr/bin/vim; needsterminal +text/html; /usr/bin/w3m -T text/html %s; needsterminal; description=HTML Text; nametemplate=%s.html application/zip; unzip -l %s; nametemplate=%s.zip; copiousoutput text/plain; view %s; edit=vi %s; compose=vi %s; needsterminal +text/html; /usr/bin/w3m -I %{charset} -dump -T text/html %s; copiousoutput; description=HTML Text; nametemplate=%s.html application/x-troff-man; /usr/bin/man -Tascii -l '%s' | col -b; copiousoutput; description=Man page text/troff; /usr/bin/man -Tascii -l '%s' | col -b; copiousoutput; description=Man page text/*; less '%s'; needsterminal diff --git a/w3m/config b/w3m/config new file mode 100644 index 000000000..c12153e58 --- /dev/null +++ b/w3m/config @@ -0,0 +1,128 @@ +tabstop 8 +frame 0 +target_self 0 +display_link 0 +display_link_number 0 +decode_url 0 +display_lineinfo 0 +ext_dirlist 1 +dirlist_cmd file:///$LIB/dirlist.cgi +multicol 0 +alt_entity 0 +graphic_char 0 +display_borders 0 +fold_textarea 0 +display_ins_del 1 +ignore_null_img_alt 1 +view_unseenobject 1 +display_image 1 +fold_line 0 +show_lnum 0 +show_srch_str 1 +label_topline 0 +nextpage_topline 0 +color 1 +basic_color terminal +anchor_color blue +image_color green +form_color red +mark_color cyan +bg_color terminal +active_style 0 +active_color cyan +visited_anchor 0 +visited_color magenta +pagerline 10000 +use_history 1 +history 100 +save_hist 1 +confirm_qq 1 +close_tab_back 0 +mark 0 +emacs_like_lineedit 0 +vi_prec_num 0 +mark_all_pages 0 +wrap_search 0 +ignorecase_search 1 +use_migemo 1 +migemo_command cmigemo -q -d /usr/share/cmigemo/utf-8/migemo-dict +use_mouse 1 +clear_buffer 1 +decode_cte 0 +auto_uncompress 0 +preserve_timestamp 1 +keymap_file keymap +mime_types ~/.w3m/mime.types, /etc/mime.types +mailcap ~/.w3m/mailcap, /etc/w3m/mailcap, /etc/mailcap +urimethodmap ~/.w3m/urimethodmap, /etc/w3m/urimethodmap +editor sensible-editor +mailto_options 1 +mailer xdg-open mailto:%s +extbrowser sensible-browser +extbrowser2 +extbrowser3 chromium %s & +extbrowser4 epiphany %s & +extbrowser5 konqueror %s & +extbrowser6 curl -L -O -C - %s & +extbrowser7 wget -c +extbrowser8 url=%s && printf %s "$url" | xsel && printf %s "$url" | xsel -b & +extbrowser9 mpv %s & +bgextviewer 1 +use_lessopen 0 +passwd_file ~/.w3m/passwd +disable_secret_security_check 0 +ftppasswd anonymous@ +ftppass_hostnamegen 0 +pre_form_file ~/.w3m/pre_form +siteconf_file ~/.w3m/siteconf +user_agent +no_referer 0 +argv_is_url 1 +retry_http 1 +default_url 1 +follow_redirection 10 +meta_refresh 0 +dns_order 0 +use_proxy 1 +http_proxy +https_proxy +gopher_proxy +ftp_proxy +no_proxy +noproxy_netaddr 0 +no_cache 0 +ssl_forbid_method 2, 3 +ssl_verify_server 1 +ssl_cert_file +ssl_key_file +ssl_ca_path /etc/ssl/certs +ssl_ca_file +use_cookie 1 +show_cookie 0 +accept_cookie 1 +accept_bad_cookie 0 +cookie_reject_domains +cookie_accept_domains +display_charset US-ASCII +document_charset UTF-8 +auto_detect 2 +system_charset US-ASCII +follow_locale 1 +ext_halfdump 0 +use_wide 1 +use_combining 1 +east_asian_width 0 +use_language_tag 1 +ucs_conv 1 +pre_conv 0 +search_conv 1 +fix_width_conv 1 +use_gb12345_map 0 +use_jisx0201 0 +use_jisc6226 0 +use_jisx0201k 0 +use_jisx0212 0 +use_jisx0213 0 +strict_iso2022 1 +gb18030_as_ucs 0 +simple_preserve_space 0 diff --git a/w3m/mailcap b/w3m/mailcap new file mode 100644 index 000000000..21603a6dc --- /dev/null +++ b/w3m/mailcap @@ -0,0 +1 @@ +application/xhtml+xml; cat %s; x-htmloutput -- 2.43.0