tramp-devel
[Top][All Lists]
Advanced

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

New Tramp with uuencode on Windows


From: Kai Großjohann
Subject: New Tramp with uuencode on Windows
Date: Fri, 13 Sep 2002 23:31:33 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

I have just uploaded 2.0.19 which has a uuencode implementation in
Lisp, so this should also work on Windows, and for Rainer.

It would be really great if you all could test this, pretty please?

Testing is fairly easy: momentarily change tramp-coding-commands such
that the uuencode/uudecode entries precede the base64/mimencode
entries.  Then use an inline method to open a file on a host which
has uuencode/uudecode.

Here's some code you can eval to change tramp-coding-commands (sorry
for the long lines):

(setq tramp-coding-commands
      '(("uuencode xxx" "uudecode -o -" tramp-uuencode-region 
uudecode-decode-region)
        ("uuencode xxx" "uudecode -p" tramp-uuencode-region 
uudecode-decode-region)
        ("uuencode xxx" "tramp_uudecode" tramp-uuencode-region 
uudecode-decode-region)
        ("mimencode -b" "mimencode -u -b" base64-encode-region 
base64-decode-region)
        ("mmencode -b" "mmencode -u -b" base64-encode-region 
base64-decode-region)
        ("recode data..base64" "recode base64..data" base64-encode-region 
base64-decode-region)
        ("tramp_encode_with_module" "tramp_decode_with_module" 
base64-encode-region base64-decode-region)
        ("tramp_encode" "tramp_decode" base64-encode-region 
base64-decode-region)))

For bug reports, you all know the drill: (setq tramp-debug-buffer t),
then send the *debug tramp/foo* buffer and the *tramp/foo* buffer,
and stuff.

Whee.  I labored a long time on that uuencode in Lisp.  It should
have been so easy.  I guess it's very inefficient, but who
cares...  It can still be optimized later.

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)




reply via email to

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