Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e06e4ac
Showing
3 changed files
with
361 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
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 | ||
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_accept_domains | ||
cookie_reject_domains | ||
accept_bad_cookie 0 | ||
accept_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 | ||
ftp_proxy | ||
gopher_proxy | ||
https_proxy https://127.0.0.1:8118/ | ||
http_proxy http://127.0.0.1:8118/ | ||
use_proxy 0 | ||
max_news 50 | ||
nntpmode | ||
nntpserver | ||
dns_order 0 | ||
meta_refresh 1 | ||
follow_redirection 10 | ||
default_url 1 | ||
retry_http 1 | ||
argv_is_url 1 | ||
accept_media text/*, image/*, application/*, audio/*, vms/* | ||
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/bin/firefox | ||
extbrowser /usr/bin/open | ||
mailer | ||
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 | ||
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 1 | ||
migemo_command migemo -t egrep /usr/share/migemo/migemo-dict | ||
use_migemo 1 | ||
ignorecase_search 1 | ||
wrap_search 0 | ||
mark_all_pages 1 | ||
vi_prec_num 1 | ||
emacs_like_lineedit 0 | ||
mark 1 | ||
close_tab_back 0 | ||
confirm_qq 1 | ||
save_hist 1 | ||
history 100 | ||
use_history 1 | ||
pagerline 10000 | ||
visited_color magenta | ||
visited_anchor 1 | ||
active_color cyan | ||
active_style 0 | ||
bg_color terminal | ||
mark_color cyan | ||
form_color red | ||
image_color green | ||
anchor_color blue | ||
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 /usr/bin/display | ||
image_scale 100 | ||
ext_image_viewer 1 | ||
max_load_image 4 | ||
auto_image 1 | ||
display_image 1 | ||
view_unseenobject 1 | ||
ignore_null_img_alt 1 | ||
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 0 | ||
open_tab_dl_list 0 | ||
open_tab_blank 1 | ||
target_self 0 | ||
frame 0 | ||
pixel_per_line 14 | ||
pixel_per_char 7 | ||
indent_incr 4 | ||
tabstop 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
# A sample of ~/.w3m/keymap (default) | ||
# | ||
# Ctrl : C-, ^ | ||
# Escape: ESC-, M-, ^[ | ||
# Space : SPC, ' ' | ||
# Tab : TAB, ^i, ^I | ||
# Delete: DEL, ^? | ||
# Up : UP, ^[[A | ||
# Down : DOWN, ^[[B | ||
# Right : RIGHT, ^[[C | ||
# Left : LEFT, ^[[D | ||
|
||
# Page/Cursor motion | ||
keymap C-f NEXT_PAGE | ||
keymap C-b PREV_PAGE | ||
keymap l MOVE_RIGHT | ||
keymap h MOVE_LEFT | ||
keymap j MOVE_DOWN | ||
keymap k MOVE_UP | ||
keymap < SHIFT_LEFT | ||
keymap > SHIFT_RIGHT | ||
keymap \^,C-a LINE_BEGIN | ||
keymap $,C-e LINE_END | ||
keymap Z CENTER_H | ||
keymap z CENTER_V | ||
keymap g BEGIN | ||
keymap G END | ||
keymap w NEXT_WORD | ||
keymap b PREV_WORD | ||
keymap TAB NEXT_LINK | ||
keymap ESC-TAB PREV_LINK | ||
keymap u UNDO | ||
keymap C-r REDO | ||
keymap L LIST_MENU | ||
|
||
# Hyperlink operation | ||
keymap M MARK_WORD | ||
# keymap M MARK_URL | ||
keymap C-t TAB_LINK | ||
keymap C-s SAVE_LINK | ||
keymap V VIEW_IMAGE | ||
# keymap V PEEK_IMG | ||
keymap i INFO | ||
|
||
keymap ESC-i SAVE_IMAGE | ||
keymap p PEEK_LINK | ||
keymap C-g LINE_INFO | ||
keymap O EXTERN_LINK | ||
|
||
# File/Stream operation | ||
keymap o GOTO | ||
keymap @ READ_SHELL | ||
keymap # PIPE_SHELL | ||
keymap | PIPE_BUF | ||
|
||
# Buffer operation | ||
keymap B BACK | ||
keymap . NEXT | ||
keymap , PREV | ||
keymap S SELECT_MENU | ||
keymap ESC-s SAVE | ||
keymap v VIEW | ||
keymap P PRINT | ||
keymap E EDIT | ||
keymap ESC-e EDIT_SCREEN | ||
keymap r RELOAD | ||
keymap ESC-r RESHAPE | ||
|
||
# Tab operation | ||
keymap C-p PREV_TAB | ||
keymap C-n NEXT_TAB | ||
keymap t NEW_TAB | ||
keymap T TAB_MENU | ||
keymap d CLOSE_TAB | ||
|
||
keymap ESC-b VIEW_BOOKMARK | ||
keymap ESC-a ADD_BOOKMARK | ||
|
||
# Search | ||
keymap / ISEARCH | ||
keymap ? ISEARCH_BACK | ||
keymap n SEARCH_NEXT | ||
keymap N SEARCH_PREV | ||
|
||
# Dictionay look-up | ||
keymap ESC-w DICT_WORD | ||
keymap ESC-W DICT_WORD_AT | ||
|
||
# Mark operation | ||
keymap m MARK | ||
keymap ] NEXT_MARK | ||
keymap [ PREV_MARK | ||
keymap \" REG_MARK | ||
|
||
# bookmark operation | ||
keymap ESC-b VIEW_BOOKMARK | ||
keymap ESC-a ADD_BOOKMARK | ||
|
||
# Misc operation | ||
keymap \\ MENU | ||
keymap H HELP | ||
keymap ESC-o OPTIONS | ||
keymap ESC-k COOKIE | ||
keymap ESC-h HISTORY | ||
keymap ESC-c COMMAND | ||
keymap ! EXEC_SHELL | ||
keymap ESC-z INTERRUPT | ||
keymap C CHARSET | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
############################################################################### | ||
# | ||
# MIME types and programs that process those types | ||
# | ||
# Much of this file is generated automatically by the program "update-mime". | ||
# Please see the "update-mime" man page for more information. | ||
# | ||
# Users can add their own rules if they wish by creating a ".mailcap" | ||
# file in their home directory. Entries included there will take | ||
# precedence over those listed here. | ||
# | ||
############################################################################### | ||
|
||
|
||
############################################################################### | ||
# | ||
# User section follows: Any entries included in this section will take | ||
# precedence over those created by "update-mime". DO NOT CHANGE the | ||
# "User Section Begins" and "User Section Ends" lines, or anything outside | ||
# of this section! | ||
# | ||
|
||
# ----- User Section Begins ----- # | ||
# ----- User Section Ends ----- # | ||
|
||
############################################################################### | ||
|
||
text/plain; less '%s'; needsterminal | ||
application/vnd.sun.xml.calc; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Spreadsheet"; nametemplate=%.sxc | ||
application/vnd.sun.xml.calc.template; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Spreadsheet Template"; nametemplate=%.stc | ||
application/vnd.sun.xml.draw; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Drawing"; nametemplate=%.sxd | ||
application/vnd.sun.xml.draw.template; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Drawing Template"; nametemplate=%.std | ||
application/vnd.sun.xml.impress; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Presentation"; nametemplate=%.sxi | ||
application/vnd.sun.xml.impress.template; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Presentation Template"; nametemplate=%.sti | ||
application/vnd.sun.xml.writer; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Text Document"; nametemplate=%.sxw | ||
application/vnd.sun.xml.writer.global; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Master Document"; nametemplate=%.sxg | ||
application/vnd.sun.xml.writer.math; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Maths Document" | ||
application/vnd.sun.xml.writer.template; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Text Document Template"; nametemplate=%.stw | ||
application/x-chm; /usr/bin/xchm '%s'; test=test -n "$DISPLAY"; description="Compiled HTML Help Format"; nametemplate=%s.chm | ||
application/pdf; /usr/bin/xpdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf | ||
application/x-arj; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/arj | ||
application/x-bzip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" | ||
application/x-bzip-compressed-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/bzip2 | ||
application/x-compress; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" | ||
application/x-compressed-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" | ||
application/x-gzip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" | ||
application/x-java-archive; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" | ||
application/x-lha; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/lha | ||
application/x-lzop; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /bin/lzop | ||
application/x-lzop-compressed-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /bin/lzop | ||
application/x-rar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/unrar -o -e /usr/bin/rar | ||
application/x-rar-compressed; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/unrar -o -e /usr/bin/rar | ||
application/x-stuffit; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" | ||
application/x-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" | ||
application/zip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/unzip | ||
application/x-zoo; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/zoo | ||
application/ghostview; gnome-gv '%s'; description="postscript document"; test=test "$DISPLAY" != "" | ||
application/postscript; gnome-gv '%s'; description="postscript document"; test=test "$DISPLAY" != "" | ||
application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:- | ||
text/html; /usr/bin/mozilla-firefox '%s'; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html | ||
text/xml; /usr/bin/mozilla-firefox '%s'; description=XML Text; test=test -n "$DISPLAY"; nametemplate=%s.xml | ||
application/x-staroffice; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="StarOffice 5.0" | ||
application/vnd.stardivision.calc; openoffice '%s';edit=openoffice '%s';test=test "$DISPLAY" != "" ;description="StarCalc 5.0"; nametemplate=%.sdc | ||
application/vnd.stardivision.chart; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="StarChart 5.0"; nametemplate=%.sds | ||
application/vnd.stardivision.draw; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="StarDraw 5.0"; nametemplate=%.sda | ||
application/vnd.stardivision.impress; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="StarImpress 5.0"; nametemplate=%.sdd | ||
application/vnd.stardivision.math; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="StarMath 5.0"; nametemplate=%.sdf | ||
application/vnd.stardivision.writer-global; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="StarWriter 5.0 Master Document"; nametemplate=%.sgl | ||
application/vnd.stardivision.writer; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="StarWriter 5.0"; nametemplate=%.sdw | ||
application/x-ogg; rhythmbox '%s'; description="Ogg Vorbis audio"; test=test -n "$DISPLAY"; nametemplate=%s.ogg | ||
application/ogg; rhythmbox '%s'; description="Ogg Media"; test=test -n "$DISPLAY" | ||
audio/x-mp3; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY"; nametemplate=%s.mp3 | ||
audio/x-scpls; rhythmbox '%s'; description="MP3 ShoutCast playlist"; test=test -n "$DISPLAY"; nametemplate=%s.pls | ||
audio/x-mpeg; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY" | ||
audio/mpeg; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY" | ||
audio/x-mpegurl; rhythmbox '%s'; description="Playlist"; test=test -n "$DISPLAY"; nametemplate=%s.m3u | ||
application/x-flac; rhythmbox '%s'; description="FLAC audio"; test=test -n "$DISPLAY"; nametemplate=%s.flac | ||
application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; copiousoutput | ||
application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print text/plain:-; copiousoutput | ||
text/plain; more '%s'; needsterminal | ||
text/html; /usr/bin/elinks '%s'; needsterminal; description=HTML Text; nametemplate=%s.html | ||
text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal | ||
text/plain; gview -f '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != "" | ||
text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html | ||
text/html; /usr/bin/elinks -dump '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html | ||
application/msword; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document" | ||
application/msexcel; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document" | ||
application/mspowerpoint; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document" | ||
application/vnd.ms-word; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document" | ||
application/vnd.ms-excel; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document" | ||
application/vnd.ms-powerpoint; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document" | ||
application/rtf; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.rtf; description="Rich Text Format" | ||
application/x-msword; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document" | ||
application/x-msexcel; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document" | ||
application/x-mspowerpoint; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document" | ||
application/wordperfect; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document" | ||
application/wordperfect5.1; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document" | ||
application/vnd.wordperfect; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document" | ||
text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html | ||
text/html; /usr/bin/html2text '%s'; copiousoutput; description=HTML Text | ||
image/png; /usr/bin/mozilla-firefox '%s'; description=PNG Image; test=test -n "$DISPLAY"; nametemplate=%s.png | ||
image/jpeg; /usr/bin/mozilla-firefox '%s'; description=JPEG Image; test=test -n "$DISPLAY"; nametemplate=%s.jpeg | ||
image/gif; /usr/bin/mozilla-firefox '%s'; description=GIF Image; test=test -n "$DISPLAY"; nametemplate=%s.gif | ||
text/*; less '%s'; needsterminal | ||
text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal | ||
text/*; gview -f '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != "" | ||
text/html; /usr/bin/sensible-browser '%s'; description=HTML Text; nametemplate=%s.html | ||
text/*; more '%s'; needsterminal | ||
application/x-debian-package; /usr/lib/mime/debian-view '%s'; needsterminal; description=Debian GNU/Linux Package; nametemplate=%s.deb | ||
audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; nametemplate=%s.au |