Elinks is a perfect tool to omit those annoying pis/image/flash.
Best for office use. :-)
But it cannot support Chinese automatically.
Luckily there is a workaround:
Change ~/.elinks/elinks.conf
set config.saving_style_w = 1
set terminal.xterm.charset = "windows-1252"
set terminal.xterm.colors = 0
set terminal.xterm.utf_8_io = 0
set ui.language = "System"
set document.codepage.assume = "windows-1252"
Restart elinks, Done!
Tuesday, January 25, 2011
Thursday, January 20, 2011
emacs cscope on ubuntu
sudo apt-get install emacs emacs-goodies-el cscope cscope-el
;;emacs setting
(setq cscope-do-not-update-database t)
(load-file "/usr/share/emacs/site-lisp/xcscope.el")
(require 'xcscope)
;; multiple shell
(defun my-shell (arg)
(interactive "p")
(let ((arg (or arg 1)))
(shell (format "*sh%d*" arg))))
(global-unset-key (kbd "C-z"))
(global-set-key (kbd "C-z 1") '(lambda () (interactive) (my-shell 1)))
(global-set-key (kbd "C-z 2") '(lambda () (interactive) (my-shell 2)))
(global-set-key (kbd "C-z 3") '(lambda () (interactive) (my-shell 3)))
(global-set-key (kbd "C-z 4") '(lambda () (interactive) (my-shell 4)))
(global-set-key (kbd "C-z 5") '(lambda () (interactive) (my-shell 5)))
;;to solve shell ls --color problem
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
;;for ubuntu install emacs-goodies-el. other systems download file color-theme.el
;; color-theme
;;
(require 'color-theme)
(color-theme-initialize)
(color-theme-robin-hood)
;;for ubuntu install emacs-goodies-el. other systems download file tabbar.el
;; tabbar
;;
(require 'tabbar)
(tabbar-mode)
;(global-set-key (kbd "") 'tabbar-backward-group)
;(global-set-key (kbd "") 'tabbar-forward-group)
(global-set-key (kbd "C-`") 'tabbar-backward) ;切换TAB的快捷键
(global-set-key (kbd "C-") 'tabbar-forward)
;(set-face-attribute 'tabbar-default-face nil :family "Tahoma") ;设置tabbar字体
;;emacs setting
(setq cscope-do-not-update-database t)
(load-file "/usr/share/emacs/site-lisp/xcscope.el")
(require 'xcscope)
;; multiple shell
(defun my-shell (arg)
(interactive "p")
(let ((arg (or arg 1)))
(shell (format "*sh%d*" arg))))
(global-unset-key (kbd "C-z"))
(global-set-key (kbd "C-z 1") '(lambda () (interactive) (my-shell 1)))
(global-set-key (kbd "C-z 2") '(lambda () (interactive) (my-shell 2)))
(global-set-key (kbd "C-z 3") '(lambda () (interactive) (my-shell 3)))
(global-set-key (kbd "C-z 4") '(lambda () (interactive) (my-shell 4)))
(global-set-key (kbd "C-z 5") '(lambda () (interactive) (my-shell 5)))
;;to solve shell ls --color problem
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
;;for ubuntu install emacs-goodies-el. other systems download file color-theme.el
;; color-theme
;;
(require 'color-theme)
(color-theme-initialize)
(color-theme-robin-hood)
;;for ubuntu install emacs-goodies-el. other systems download file tabbar.el
;; tabbar
;;
(require 'tabbar)
(tabbar-mode)
;(global-set-key (kbd "") 'tabbar-backward-group)
;(global-set-key (kbd "") 'tabbar-forward-group)
(global-set-key (kbd "C-`") 'tabbar-backward) ;切换TAB的快捷键
(global-set-key (kbd "C-
;(set-face-attribute 'tabbar-default-face nil :family "Tahoma") ;设置tabbar字体
Subscribe to:
Posts (Atom)