300 Images From 1800 Sites
brainjar.com: css positioning
Catman's Reference Guide to XHTML 1.1
Catman's XHTML 1.1 Elements and Attributes Reference Guide
Color Scheme Generator
common errors in english
Copying music between authorized computers with iTunes for Windows
keystroke shortcuts for windows xp
mozilla keyboard shortcuts
programming language popularity
regular expression tester
short url services
simple urls for search engines
the unix acronym list
most read last 60 days: installing atronscrobbler on windows using cygwin (429)
hard disk failure (93)
audiotron to audioscrobbler: atronscrobbler (92)
home network performance (90)
the lighter side: japanese error messages (83)
Citizen’s Briefing Book
Tbone walking in the Park
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
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`
* * *
Cygwin 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")
* * *
This 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.
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?
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’.
* * *