This is an old revision of the document!
A few nice Unix commands.
for i in `ls -1 | grep -v <filetokeep>`; do rm -rf $i; done
More exactly, it'll convert from “AA BB CC” to “0xAA, 0xBB, 0xCC” with each line having 8 bytes.
hexdump -v -e '8/1 "0x%02x, "' -e '"\n"' <filetodump>
Take a screenshot
$ xwd -root -out scrdump
View a screenshot
$ xwud -in scrdump
tar -xvf <thetar.tar> <thefile>
tar -xvf <thetar.tar> -C <thedir>
Set configuration in ~/.pinerc.
To access a Google Mail account with IMAP:
personal-name=<YOUR NAME> user-domain=gmail.com smtp-server=smtp.gmail.com/submit/user=<YOUR GOOGLE USERNAME>@gmail.com/novalidate-cert inbox-path={imap.gmail.com/user=<YOUR GOOGLE USERNAME>@gmail.com/ssl/novalidate-cert}Inbox
All other entries can left by default.
Solaris 10 | OpenSolaris 2008.11 | Ubuntu |
---|---|---|
CSWemacs | SUNWgnu-emacs and SUNWgnu-emacs-x | ![]() |
/opt/csw/bin/pkg-get emacs | pkg install SUNWgnu-emacs SUNWgnu-emacs-x | apt-get install ?? |
;; turn on font-lock mode (global-font-lock-mode t) ;; enable visual feedback on selections (setq-default transient-mark-mode t) ;; always end a file with a newline (setq require-final-newline t) ;; stop at the end of the file, not just add lines (setq next-line-add-newlines nil) ;;to display time (display-time) ;;to set the cursor color (set-cursor-color "red") ;;to set the font (set-default-font "7x14") ;; foreground (set-foreground-color "white") ;;to set background color to black (set-background-color "black") ;;to manage the geometric size of initial window. (setq initial-frame-alist '((width . 87) (height . 42)))
Mrxvt is a nice terminal, with support for transparency and tabs (though I usually do not use tabs !). Set the following properties in ~/.Xdefaults:
mrxvt*vt0*saveLines: 1000 mrxvt*loginShell: false mrxvt*scrollBar: true mrxvt*scrollbarStyle: rxvt mrxvt*transparent: true mrxvt*shading: 85 mrxvt*transparentScrollbar: false mrxvt*transparentTabbar: true mrxvt*transparentMenubar: true mrxvt*background: darkblue mrxvt*backgroundFade: 60 mrxvt*fading: 0 mrxvt*tabForeground: lightgreen mrxvt*itabForeground: lightgreen mrxvt*itabBackground: black mrxvt*bottomTabbar: true mrxvt*windowsSwitch: false mrxvt*showMenu: false mrxvt*hideButtons: false mrxvt*xft: true mrxvt*xftFont: DejaVu Sans Mono mrxvt*xftmFont: DejaVu Sans Mono mrxvt*xftWidth: normal mrxvt*xftSize: 12 mrxvt*cursorBlink: false mrxvt*geometry: 80x25 mrxvt*cursorColor: red
This is the simplest, lightest, THE original XTerm
Set the following properties in ~/.Xdefaults:
XTerm*font: 9x15 XTerm*foreground: lightgreen XTerm*background: black XTerm*scrollBar: true XTerm*vt0*saveLines: 1000