Jeremy Sanders
October 2011
Here are some flavours of what you can do (` is a back-tick, ' is an apostrophe or single quote):
;; highlight brackets (require 'paren) (show-paren-mode 1)
;; colour highlighting (global-font-lock-mode t) (setq font-lock-maximum-decoration t)
;; use autofill on text modes (add-hook 'text-mode-hook 'turn-on-auto-fill)
;; Stop at the end of the file, not just add lines (setq next-line-add-newlines nil)
;; Use auctex (require 'tex-site)
;; use reftex ; with AUCTeX LaTeX mode (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with Emacs latex mode (add-hook 'latex-mode-hook 'turn-on-reftex) ; use natural science bibliography style (setq reftex-cite-format 'natbib)
(setq auto-mode-alist
(cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist
(cons '("python" . python-mode)
interpreter-mode-alist))
(autoload 'python-mode "python-mode" "Python editing mode." t)
# adds /home/username/bin to start of search path
# colons separate directories
setenv PATH /home/username/bin:${PATH}
set prompt="%m:%c02> "or we can even change the titles of xterms:
set prompt="%m:%c02> "
if( $TERM == xterm ) then
set prompt="%{\033]0;%n@%m:%~\007%}$prompt"
endif
alias d9s 'ds9' alias ddir 'cd /data/username/somewhere'
source /home/username/dir/scriptname # start XANADU setenv LHEASOFT /data/star/lheasoft/SunOS_5.6_sparc source $LHEASOFT/lhea-init.csh
setenv PRINTER lp2
[X] enable-search-and-replace
[X] enable-sigdashes
...
[X] signature-at-bottom
[X] strip-from-sigdashes-on-reply
...
[X] print-index-enabled
...
[X] enable-aggregate-command-set
...
[X] enable-bounce-cmd
[X] enable-exit-via-lessthan-command
[X] enable-flag-cmd
...
[X] enable-full-header-cmd
[X] enable-goto-in-file-browser
...
[X] enable-partial-match-lists
[X] enable-tab-completion
[X] enable-unix-pipe-cmd
...
[X] save-will-advance
If find these features particularly useful. They include
Other useful keys in Pine:
!emacs emacs*background: papayawhip !XMotd xmotd*background: gray20 xmotd*foreground: green3 xmotd*geometry: +20+20 !XTerm XTerm*font: 7x14 XTerm*background: #052005 XTerm*foreground: papayawhip XTerm*cursorColor: papayawhip XTerm*scrollBar: true XTerm*visualBell: true XTerm*loginShell: true XTerm*saveLines: 512(run showrgb to get a list of the available colours, or use hex codes to program them.) Man pages usually list available resources.
You can also start programs automatically by editing the .xsession script (may be .xinitrc). For instance you can start another xterm by adding the line xterm &.
xdvi:shrinkFactor: 18To get the new zoom factor, log out and log-back in, or run
> xrdb .Xdefaults
This document was generated using the LaTeX2HTML translator Version 2008 (1.71)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 0 -font_size 10pt -no_navigation configuration.tex
The translation was initiated by Jeremy Sanders on 2011-10-02