GNU bug report logs -
#35639
27.0.50; tramp fails to use ssh on LibreCMC (no base64 encoder available, and not mentioned in tramp manual)
Previous Next
Reported by: Jeronimo Pellegrini <j_p <at> aleph0.info>
Date: Wed, 8 May 2019 16:39:02 UTC
Severity: normal
Tags: patch
Merged with 35473
Found in version 27.0.50
Fixed in version 27.2
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #38 received at 35639 <at> debbugs.gnu.org (full text, mbox):
Jeronimo Pellegrini <j_p <at> aleph0.info> writes:
> Hi Michael,
Hi Jeronimo,
>> > Okay, I have it ready. Do I attach it here in the bug report?
>>
>> Yes, pls do.
>
> All right, here it is!
Thanks.
> I'm not sure I like the changes to the manual. Do you think it is
> OK?
Yes. See my comments, all of them are minor.
> --- a/doc/misc/tramp.texi
> +++ b/doc/misc/tramp.texi
> +@item @command{perl} or @command{perl5}(if the @command{MIME::Base64} module is available, it will be used)
Use a space between "{perl5}" and "(if". Care about 80 chars per line
limitation.
> +but other methods may still be used. If @command{grep} is available, it is
> +also used, in order to improve performance.
That's an error in the manual, gzip is meant. Pls correct.
> --- a/lisp/net/tramp-sh.el
> +++ b/lisp/net/tramp-sh.el
> +(defconst tramp-hexdump-awk-coding-test
> + "test -c /dev/zero && \
> +busybox hexdump -v -e '16/1 \" %02x\" \"\\n\"' < /dev/null && \
This must be "hexdump", not "busybox hexdump".
> + "Test command for checking `tramp-hexdump-awk-encode' and `tramp-awk-decode'.")
Care about 80 chars per line limitation.
> ;; Oops, I don't know what to do.
> (t (tramp-error
> - v 'file-error "Wrong method specification for `%s'" method)))
> + v 'file-error (concat "Cannot find any way to encode data using `%s'"
> + "-- check tramp-remote-path, and also "
> + "verify encoding binaries on the remote end.")
> + method)))
This error message is too long, I believe. Just the first part "Cannot
find ... using "%s" should serve.
> + ;; These is painful slow, so we put it on the end.
";; These are painful slow, so we put them on the end."
> + (b64 tramp-hexdump-awk-encode tramp-awk-decode ,tramp-hexdump-awk-coding-test)
Care about 80 chars per line limitation.
> Thank you!
> J.
Best regards, Michael.
This bug report was last modified 5 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.