On 2007-08-29, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > On Wednesday, August 29 at 09:15 AM, quoth Gary Johnson: > >I use w3m instead of urlview for the Ctrl-B command. > > > > macro index \cB ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; > > unset pipe_decode\n" "call w3m to extract URLs out of a message" > > macro pager \cB ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; > > unset pipe_decode\n" "call w3m to extract URLs out of a message" > > > >The : command within w3m turns all URL-looking strings in the text > >into links. W3m allows you to configure as many as three external > >browsers that can be used instead of w3m itself to view the current > >page (M, 2M or 3M) or follow the current link (<Esc>M, 2<Esc>M or > >3<Esc>M). > > Also... in my w3m, pressing : doesn't seem to do anything, and > pressing M just makes it say "Can't browse stdin". I presume you have > something in your w3m config that changes it's behavior?
Hmm. I don't know why it wouldn't respond to :. I'm using w3m-0.5.2, but I think it has had that feature for quite a while. By default, : only affects URLs that are visible on the current page. To have it linkify all URLs in the document, you need to set Treat URL-like strings as links in all pages (*)YES ( )NO The M commands hand the URL of the current page or of the selected link to the external browser. W3m can't do that with stdin. I've attached my ~/.w3m/config so that you can compare it with yours. The 'extbrowser' setting may look odd. I run mutt on a Sun machine because that's where I do most of my work and have most of my tools installed but I run Firefox on a Linux machine (also my X server) because it's easier to install Firefox on Linux than on Sun. I hardly ever use the second or third external browser. I just tried using them and they don't work. They did in previous releases of w3m. Now though, 2M, 3M, 2<Esc>M and 3<Esc>M all open the page/link in Firefox. I just tested w3m-0.5.1 and it works correctly. Oh goody, one more thing to look into. Regards, Gary
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 0 ext_halfdump 0 follow_locale 1 system_charset ISO-8859-1 auto_detect 2 document_charset ISO-8859-1 display_charset ISO-8859-1 cookie_accept_domains cookie_reject_domains accept_bad_cookie 0 accept_cookie 1 show_cookie 1 use_cookie 1 no_cache 0 noproxy_netaddr 1 no_proxy agilent.com ftp_proxy http://web-proxy:8088/ http_proxy http://web-proxy:8088/ use_proxy 1 max_news 50 nntpmode nntpserver news.spk.agilent.com dns_order 0 meta_refresh 1 follow_redirection 10 default_url 0 retry_http 1 argv_is_url 0 accept_media text/html, text/*;q=0.5, image/* accept_encoding gzip, compress, bzip, bzip2 accept_language en;q=1.0 no_referer 0 user_agent pre_form_file ~/.w3m/pre_form ftppass_hostnamegen 1 ftppasswd disable_secret_security_check 0 passwd_file ~/.w3m/passwd use_lessopen 0 bgextviewer 1 extbrowser3 lynx extbrowser2 /home/garyjohn/bin/netscape2 extbrowser remsh whiffle -n DISPLAY=$DISPLAY /home/garyjohn/bin/Linux/firefox-remote "'%s'" & mailer mutt editor vim urimethodmap ~/.w3m/urimethodmap, /home/garyjohn/src/SunOS/w3m-0.5.2/etc/w3m/urimethodmap mailcap ~/.w3m/mailcap, /home/garyjohn/src/SunOS/w3m-0.5.2/etc/w3m/mailcap mime_types ~/.mime.types, /home/garyjohn/src/SunOS/w3m-0.5.2/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 1 ignorecase_search 1 wrap_search 0 mark_all_pages 1 vi_prec_num 0 emacs_like_lineedit 0 mark 0 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 cyan form_color red image_color green anchor_color blue basic_color terminal color 1 nextpage_topline 1 label_topline 1 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 display_image 1 view_unseenobject 0 ignore_null_img_alt 1 display_ins_del 1 fold_textarea 0 graphic_char 0 alt_entity 1 multicol 0 dictcommand file:///$LIB/w3mdict.cgi use_dictcommand 0 dirlist_cmd file:///$LIB/dirlist.cgi ext_dirlist 1 display_lineinfo 1 decode_url 0 display_link 1 open_tab_dl_list 0 open_tab_blank 0 target_self 0 frame 1 pixel_per_line 14 pixel_per_char 7 indent_incr 4 tabstop 8
