免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2169 | 回复: 0
打印 上一主题 下一主题

使用Emacs上网浏览 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-21 13:30 |只看该作者 |倒序浏览


Emacs太酷了,当然用Emacs来上网是一件更酷的事情。
1.安装:sudo aptitude install w3m w3m-img w3m-el
2.编辑~./emacs文件中加入:
; w3m
(autoload 'w3m "w3m" "interface for w3m on emacs" t)
(setq w3m-command-arguments '("-cookie" "-F"))
(setq w3m-use-cookies t)
(setq w3m-home-page "http://www.linuxsir.com/bbs/")
(require 'mime-w3m)
(setq w3m-default-display-inline-image t)
(setq w3m-default-toggle-inline-images t)
;;
(setq w3m-arrived-file-coding-system 'euc-cn)
(setq w3m-bookmark-file-coding-system 'euc-cn)
(setq w3m-default-url-coding-system 'euc-cn)
(setq w3m-output-coding-system 'euc-cn)
(setq w3m-coding-system 'euc-cn)
(setq w3m-input-coding-system 'euc-cn)
(setq w3m-find-coding-system 'euc-cn)
(setq w3m-default-coding-system 'euc-cn)
(setq w3m-coding-system-priority-list '(euc-cn))
(setq
w3m-file-name-coding-s
3.进入emacs,M-x w3m,即可进行浏览;
4.
4、如何使用w3m?
U:浏览一个网址 G:在标签页中打开一个网址左键:返回上一页 N:进入下一页空格:翻页 S:用google进行搜索
5、退出w3m,q键
6.常用命令
  
   
      g
      (w3m-goto-url)
   
   
      c
      (w3m-print-current-url)
   
   
      R
      (w3m-reload-this-page)
   
   
      SPC
      Scroll downwards
   
   
      DEL
      Scroll upwards
   
   
      >
      (w3m-scroll-left)
   
   
      
      (w3m-scroll-right)
   
   
      .
      Shift to the left
   
   
      ,
      Shift to the right
   
   
      M-l
      (w3m-horizontal-recenter)
   
   
      TAB
      Move the point to the next link
   
   
      M-TAB
      Move the point to the previous anchor.
   
   
      ]
      Move the point to the next form.
   
   
      [
      Move the point to the previous form.
   
   
      }
      Move the point to the next image.
   
   
      {
      Move the point to the previous image
   
   
      B
      (w3m-view-previous-page)
   
   
      N
      (w3m-view-next-page).
   
   
      H
      (w3m-gohome)
   
   
      ^
      parent directory of the page currently displayed
   
   
      q
      (w3m-close-window).
   
   
      Q
      (w3m-quit)
   
   
      T
      (w3m-toggle-inline-images)
   
   
      I
      (w3m-view-image)
   
   
      M-i
      (w3m-save-image)
   
   
      M-[
      (w3m-zoom-out-image)
   
   
      M-]
      (w3m-zoom-in-image)
   
   
      s
      (w3m-history)
   
   
      a
      (w3m-bookmark-add-current-url)
   
   
      M-a
      (w3m-bookmark-add-this-url)
   
   
      v
      (w3m-bookmark-view)
   
   
      C-k
      (w3m-bookmark-kill-entry)
   
   
      E
      (w3m-bookmark-edit)
   
   
      C-_
      (w3m-bookmark-undo)
   
   
      C-c C-t
      (w3m-copy-buffer)
   
   
      C-c C-w
      (w3m-delete-buffer)
   
   
      C-c M-w
      (w3m-delete-other-buffers)
   
   
      C-c C-p
      (w3m-previous-buffer)
   
   
      C-c C-n
      (w3m-next-buffer)
   
   
      C-c C-a
      (w3m-switch-buffer)
   
   
      C-c C-s
      (w3m-select-buffer)
   
   
      d
      (w3m-download-this-url)
   
   
      C-c C-c
      (w3m-submit-form)
   
   
      C-c C-q
      (w3m-form--keymap)
   
   
      D
      (w3m-dtree)

               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15586/showart_1137259.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP