I just realized that one my favorite tools is something I've never written about here. If you're an Emacs user, there's a chance you're familiar with ange-ftp. It's an Emacs Lisp module that lets your browse remote FTP directories as if they were local filesystems. You can open, edit, save, and so on--never caring that the files are half way around the world.
In a world where I use secure methods (ssh, scp, and rsync over ssh) for remotely manipulating my files, ange-ftp isn't terribly useful anymore.
TRAMP stands for `Transparent Remote (file) Access, Multiple Protocol'. This package provides remote file editing, similar to Ange-FTP. The difference is that Ange-FTP uses FTP to transfer files between the local and the remote host, whereas TRAMP uses a combination of rsh and rcp or other work-alike programs, such as ssh/scp.
It's slick, seamless integration. In my ~/.emacs file I have:
(require 'tramp) (setq tramp-default-method "scp")
And then if I want to open a file remotely, I simple ask emacs to open:
Or, to fully qualify things and illustrate the syntax a bit more, I can use:
And emacs does what I expect in either case. Tramp handles all the details behind the scenes. It's really quite handy.
Posted by jzawodn at September 27, 2003 05:43 PM