links
300 Images From 1800 Sites
Punctuated Productivity
ascii table
brainjar.com: css positioning
Catman's Reference Guide to XHTML 1.1
Catman's XHTML 1.1 Elements and Attributes Reference Guide
citeseer
Color Scheme Generator
common errors in english
cool images
Copying music between authorized computers with iTunes for Windows
css layout-o-matic
daypop
del.icio.us
elegant hack
emacs wiki
floatutorial
imho...
keystroke shortcuts for windows xp
mozilla keyboard shortcuts
NameVoyager
perldoc.com
programming language popularity
regular expression tester
selectoracle
short url services
simple urls for search engines
the unix acronym list
yahoo dictionary
most read last 60 days: apache / fcgi / debian / rails (196)
installing ruby and rails on debian (156)
hard disk failure (126)
audiotron to audioscrobbler: atronscrobbler (124)
the lighter side: japanese error messages (118)
categories
cygwin / linux / unix
emacs
entertainment
government
health
restlater
ruby on rails
software development
system administration
textpattern
web technologies
sections
about
article
photos
portfolio
recently
Citizen’s Briefing Book
Tbone walking in the Park
rav this!
I'll rest later...
please don't feed the rails programmers
replication in rails
apache / fcgi / debian / rails
miguel's hell of gratuitous rewriting
favorite sig lines
listening reimplemented in ruby on rails
hard disk failure
maxloss
got backups?
installing ruby and rails on debian
hëävy mëtäl ümläüt
the lighter side: japanese error messages
home network performance
installing atronscrobbler on windows using cygwin
audiotron to audioscrobbler: atronscrobbler
lessons learned in electronic media
This can be useful for answering questions like “Before I install this package, is it already somewhere in my load_path?”
M-x locate-library<ret>package name<ret>
...If you want to start multiple shells, use M-x rename-buffer to rename the current shell buffer, then M-x shell to start the second.
Kent Borg sent this suggestion to me:
use Cwd; chdir "/some/desirable/directory" p `pwd`
* * *
permalinkCygwin should have:
I recommend you get these things working first. Then download and install tramp according to the INSTALL instructions.
Tramp can be found at savanah, at http://savannah.nongnu.org/projects/tramp. When I was looking for the install files the savanah site had recently been hacked and the download area was disabled. I found another copy (at debian, I think). Here’s a local copy: tramp_2.0.38.orig.tar.gz
The tramp install seems to trip on the spaces in windows path names, so I moved the tramp distribution to /cygdrive/c/tmp and did the install from there.
$ ls
tramp-2.0.38 tramp_2.0.38.orig.tar.gz.tar
$ pwd
/cygdrive/c/tmp
$ mv tramp-2.0.38/ tramp
$ cd tramp
$ ./configure
configure: Tramp 2.0.38
checking for make... make
(stuff deleted)
$ make
make<sup><a href="#fn1">1</a></sup>: Entering directory `/cygdrive/c/tmp/tramp/lisp'
(stuff deleted)
$ make lispdir='/cygdrive/c/Documents and Settings/kfelkins/My Documents/emacs-lisp' infodir=/usr/info install
make<sup><a href="#fn1">1</a></sup>: Entering directory `/cygdrive/c/tmp/tramp/lisp'
(stuff deleted)
$
I did the following post install:
* TRAMP: (tramp). Transparent Remote Access, Multiple Protocol
Emacs remote file access via rsh and rcp.
(require 'tramp)
(setq tramp-default-method "sshx")
* * *
permalinkThis is just like a normal emacs shell, except that it uses ssh to communicate with a remote host. Another nice difference is when passed a prefix arg1 you get another shell. Ssh shell buffers are named ‘ssh-host’, or when prefixed, ‘ssh-host
With ssh.el I can open up a bunch of ssh shells to various machines. At my office most of the file systems are shared, so I can edit the files wherever the emacs is running, and run them on a remote host.
While learning about ssh.el, I learned new features of shell mode (and ssh mode). Some of these are pretty helpful, such as:
C-c C-o: Kill the last batch of output from a shell command (comint-kill-output). This is useful if a shell command spews out lots of output that just gets in the way.
C-c C-r or C-M-l: Scroll to display the beginning of the last batch of output at the top of the window; also move the cursor there (comint-show-output).
C-c C-e: Scroll to put the end of the buffer at the bottom of the window (comint-show-maximum-output).
ssh.el replaces a previous favorite, tramp, discussed below.
From the el file:
cycle-buffer is yet another way of selecting buffers. Instead of prompting you for a buffer name, cycle-buffer switches to the most recently used buffer, and repeated invocations of cycle-buffer-forward switch to less recently visited buffers. If you accidentally overshoot, calling cycle-buffer-backward goes back. You should issue consecutive cycle command pretty quickly: if there is some intervening command between two cycling commands, or if a settable timeout expires, the cycling is reset and the next cycle-buffer will get you to the last buffer.
cycle-buffer makes an often used emacs function much easier. When switching buffers, you hit F10. Often what you were looking for instantly appears—if not, hit it again. cycle-buffer rocks! If you are an emacs user, and you don’t have this, please try it.
Download from kellyfelkins.org
Similar to cycle-buffer, outline-magic makes something fast and easy that was always available, but somewhat clumsy to use. In this case, it is expanding and collapsing outlines. Press the tab key. What could be simpler?
http://zon.astro.uva.nl/~dominik/Tools/outline-magic.el
htmlize.el creates html output from an emacs buffer. Often these buffers are colorized. An example and the htmlized file from htmlize.
I place these packages at ~/emacs-lisp. To accomplish this, I add
the following to my .emacs file:
(setq load-path (cons (expand-file-name ”~/emacs-lisp/”) load-path))
From the web site:
This is an Emacs extension similar to Ange-FTP, but where Ange-FTP uses FTP to transfer the files, Tramp uses a shell login.
Tramp was briefly one of my favorite packages, because it enabled remote editing of files via ssh. I found it too slow. My current environment allows me to ssh to nodes (via ssh.el) and to edit files locally mounted. I think you can fix the speed issue via configuration.
Here’s what I had to say about Tramp before:
This package enables distributed editing. It allows you to have an emacs session running on your desktop machine, and open files on various servers, using ssh. This is the modern ange-ftp, except that where ange-ftp uses ftp, tramp uses whatever file transfer mechanism you choose. Since a lot of servers do not have ftp enabled, and most are using ssh, tramp is the way to go.
My only complaint is that it is a little slow. I may be able to fix this with configuration changes.
Also check out my tramp configuration on windows with cygwin page.
1 Apparently you can pass arguments to commands (like ‘M-x ssh’) using a couple of key strokes. I don’t fully understand this, but I’m using ‘C-u’ as the prefix, so my ssh command becomes ‘C-u M-x ssh’.
* * *