tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp and NT-Emacs with plink


From: Douglas Gray Stephens
Subject: Re: Tramp and NT-Emacs with plink
Date: Tue, 07 Jan 2003 23:35:55 +0000

Kai,

At 09:22 (GMT+0100) on 7-January-2003, Kai Gro├čjohann wrote:
 > Douglas Gray Stephens <address@hidden> writes:
 > 
 > > I'm using 
 > >  ;;; md5.el -- MD5 Message Digest Algorithm
 > >  ;;; Gareth Rees <address@hidden>
 > 
 > That's the one I have, too.  What happens when you call md5 directly?
 > Look in tramp.el for the (md5 ...) expression and do M-x ielm RET and
 > enter the (md5 ...) expression at the prompt.  What happens?

I'm not sure on which is the md5 line to enter 
 6 lines matching "md5" in buffer tramp.el.
  1258:(defvar tramp-md5-function
  1259:  (cond ((fboundp 'md5) 'md5)
  1260: ((and (require 'md5) (fboundp 'md5-encode)) 'md5-encode)
  1261: (t (error "Coulnd't find an `md5' function")))
  1262:  "Function to call for running the MD5 algorithm.")
  1266:   (funcall tramp-md5-function

however I have run the call to tramp-m5d-function, i.e.
 ELISP> (funcall tramp-md5-function (concat (prin1-to-string 
process-environment) (current-time-string)))
 [77 132 185 233 214 162 173 93 16 202 211 255 44 243 150 9]

 ELISP>

So the call is returning non printing (i.e. 8 bit characters), and
these are being set in the prompt.


Does this help?

I have
 (setq-default buffer-file-coding-system 'undecided-unix)
and that sometimes messes up some I/O interactions, but I do not see
that this should affect the internal calls to md4. I can send you my
.emacs.el file if you want to check the other settings.

Thanks,

Douglas






reply via email to

[Prev in Thread] Current Thread [Next in Thread]