mew-w3m を入れてみた。 mew 上で w3m を使うには、 w3m, w3m.el, mew-w3m.el の 3 つが必要。 くわしくは、<[Mew-dist 16667] Re: Mew with w3m.el> を見てちょ。 ということで、w3m の最新版を持ってくる。 rin@maaya# wget ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/w3m-0.2.1.tar.gz rin@maaya# tar xzf w3m-0.2.1.tar.gz -C ~/usr/local/ rin@maaya# cd ~/usr/local/w3m-0.2.1/ configure する。 ところどころプロンプトが出るけど、 面倒なので全部デフォルトにした。 rin@maaya# ./configure && make Linux 2 2 16 /i586 at maaya % % Hello rin. Let's start configuration process for w3m. % Please answer some questions. % Which directory do you want to put the binary? (default: /usr/local/bin) [RET] Which directory do you want to put the support binary files? (default: /usr/local/lib/w3m) [RET] Which directory do you want to put the helpfile? (default: /usr/local/lib/w3m) [RET] Which language do you prefer? 1 - Japanese (charset ISO-2022-JP, EUC-JP, Shift_JIS) 2 - English (charset US_ASCII, ISO-8859-1, etc.) [1]? [RET] Input your display kanji code. S - Shift JIS E - EUC-JP j - JIS: ESC $@ - ESC (J N - JIS: ESC $B - ESC (J n - JIS: ESC $B - ESC (B m - JIS: ESC $@ - ESC (B Which? E [RET] Do you want to use Lynx-like key binding? [n]? [RET] Do you want to use 2-byte character for table border, item, etc. [y]? [RET] Do you want to automatically generate domain parts of passwords for anonymous FTP logins [n]? [RET] Do you want listing of options [n]? [RET] Do you want NNTP support [n]? [RET] Do you want ANSI color escape sequences supprot? [n]? [RET] Let's do some configurations. Choose config option among the list. 1 - Baby model (no color, no menu, no mouse, no cookie, no SSL) 2 - Little model (color, menu, no mouse, no cookie, no SSL) 3 - Mouse model (color, menu, mouse, no cookie, no SSL) 4 - Cookie model (color, menu, mouse, cookie, no SSL) 5 - Monster model (with everything; you need openSSL library) 6 - Customize Which? 4 [RET] Input your favorite editor program. (Default: /usr/bin/vi) [RET] Input your favorite mailer program. (Default: /bin/mailx) [RET] Input your favorite external browser program. (Default: /usr/local/bin//lynx) [RET] Input your favorite C-compiler. (Default: gcc) [RET] Input your favorite C flags. (Default: -O) [RET] Terminal library -ltermcap found at /usr/lib, and it seems to work. Terminal library -lcurses found at /usr/lib, and it seems to work. Terminal library -lncurses found at /usr/lib, and it seems to work. Which terminal library do you want to use? (type "none" if you do not need one) (default: -lncurses) [RET] additional library found: -lbsd -lnsl Your OS is Linux; using gc library comes with w3m. Input additional LD flags other than listed above, if any: : Checking machine dependency. Global mime.types not found; Hope /usr/local/lib/mime.types works. You have ranlib. rin@maaya# su bash# make install bash# exit 次に、w3m.el を入れる。 rin@maaya# cd ~/cmp rin@maaya# wget http://www.namazu.org/~tsuchiya/emacs-w3m/w3m.el-0.2.126.tar.gz rin@maaya# tar xzf w3m_el-0.2.126.tar.gz -C ~/usr/local/ rin@maaya# cd ~/usr/local/w3m_el-0.2.126/ rin@maaya# ./configure && make rin@maaya# su bash# make install && make install-icons bash# exit .mew などに以下のように書く。 (require 'mew-w3m) (setq mew-prog-html '(mew-mime-text/html-w3m nil nil)) (setq mew-use-w3m-minor-mode t) (add-hook 'mew-message-hook 'mew-w3m-minor-mode-setter) これでおっけー。