[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tramp and NT-Emacs with plink
From: |
Douglas Gray Stephens |
Subject: |
Tramp and NT-Emacs with plink |
Date: |
Wed, 03 Jul 2002 19:10:25 +0100 |
Hi,
I have been using ange-ftp to access remote files from emacs for 10+
years, and for 6+ years within NT-emacs. I'm starting to only be able
to access some machines via SSH, so looked at tramp, and have managed
to get it working, but thought that you may be interested in the
feedback.
I am running emacs 20.7.1 on Windows 2000. I have installed the
plink.exe file from the PuTTY Download page
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
I have added a new method for plink, and then found that I needed to
modify the tramp.el file to handle some of the Windows line ending
issues. I prefer to work with Unix line endings so have
(setq-default buffer-file-coding-system 'undecided-unix)
in my .emacs.el file, and this meant that I needed to change the
tramp-rsh-end-of-line setting to
(setq tramp-rsh-end-of-line "\r\n")
which broke some of the searches, so I then needed to edit the
tramp.el file.
I also found that tramp was not removing the tramp_exit_status from
the buffer presented for base64 decoding.
The attached gzip'ed tar file has two files
emacs.el (extract from my .emacs.el)
tramp.el (modified version of tramp.el)
I need to authenticate to each remote machine once within a shell to store
the key in cache, before accessing files on that machine (i.e. running
D:\temp> plink -v -ssh <hostname> -l <username>
), but after that can access a file as expected i.e.
/address@hidden/file
Thanks again for your work on tramp.
Douglas
dgs.tar.gz
Description: Zip archive
--
================================
Dr. Douglas GRAY STEPHENS
Technical Architect (Directories)
Schlumberger Cambridge Research
High Cross,
Madingley Road,
Cambridge.
CB3 0EL
ENGLAND
Phone +44 1223 325295
Mobile +44 773 0051628
Fax +44 1223 311830
Email address@hidden
================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Tramp and NT-Emacs with plink,
Douglas Gray Stephens <=