Ian Eure
·
2012-09-04
README.org
1* SSH mode for Emacs
2
3 Support for remote logins using =ssh=. This program is layered on
4 top of shell.el; the code here only accounts for the variations
5 needed to handle a remote process, e.g. directory tracking and the
6 sending of some special characters.
7
8* Usage =M-x ssh RET hostname RET=
9
10** Completion
11
12 Tab completion is never going to work as well as with local shells,
13 but it does work. Set =ssh-directory-tracking-mode= to =’ftp=, and
14 set =ssh-mode-hook= to:
15
16#+BEGIN_SRC emacs-lisp
17(lambda ()
18 (shell-dirtrack-mode t)
19 (setq dirtrackp nil))
20#+END_SRC
21
22 Sometimes stuff will get out of sync anyways. Hit =M-x dirs RET= to
23 resync.