From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeronimo Pellegrini Newsgroups: gmane.emacs.bugs Subject: bug#35639: 27.0.50; tramp fails to use ssh on LibreCMC (no base64 encoder available, and not mentioned in tramp manual) Date: Thu, 09 May 2019 09:37:14 -0300 Message-ID: <1A3C3BED-4CEF-41AC-B82F-EBA7AC614E18@aleph0.info> References: <87d0ksrk0g.fsf@mitra.i-did-not-set--mail-host-address--so-tickle-me> <87k1f03im0.fsf@gmx.de> <20190508230145.GA1697@socrates.lan> <87d0ksw05q.fsf@gmx.de> <20190509101938.GB1697@socrates.lan> <8736lnx27g.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="30329"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android Cc: 35639@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 09 14:38:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOiJR-0007jc-Tw for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 May 2019 14:38:14 +0200 Original-Received: from localhost ([127.0.0.1]:53986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOiJQ-00025x-Tp for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 May 2019 08:38:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOiJH-000247-Sg for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 08:38:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOiJG-000800-Iw for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 08:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOiJG-0007zn-FZ for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 08:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOiJG-0001Ca-AN for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 08:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeronimo Pellegrini Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2019 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35639 X-GNU-PR-Package: emacs Original-Received: via spool by 35639-submit@debbugs.gnu.org id=B35639.15574054494577 (code B ref 35639); Thu, 09 May 2019 12:38:02 +0000 Original-Received: (at 35639) by debbugs.gnu.org; 9 May 2019 12:37:29 +0000 Original-Received: from localhost ([127.0.0.1]:34926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOiIi-0001Bk-L9 for submit@debbugs.gnu.org; Thu, 09 May 2019 08:37:28 -0400 Original-Received: from mail.aleph0.info ([66.228.54.186]:40812 helo=aleph0.info) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOiIg-0001BX-1n for 35639@debbugs.gnu.org; Thu, 09 May 2019 08:37:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by aleph0.info (Postfix) with ESMTP id C9BDC42390; Thu, 9 May 2019 09:37:19 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aleph0.info; s=mail; t=1557405439; bh=DQdZK/ma1Jl8gkTB6IK5f5g3s2h1VRUR0NYfF0Bpvo0=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=ljpygtqAHg6Z3rOcCGmhEgGm5d2ZGuTP+KO8LONP9Gcga58hQ0b4WzXXiuolm4Xu5 IfgVO20upu1++DU3uUAUbLxIQAmZgMgZ3XHQoI0Ox5TY1VHj/oZhr4WB9nut94Nq3V 66O6mXZsvBWbfMJ+Acm/fY33CSpXKlCYO2l1l9FlrvA/VL0r31awGII0lxDXuL3IU7 HQY+HRY8XO8Ud2+96Sp2qJUUbfHzucHKG+yL6d2nELQSSM7/M1s9O00Uc1njNUWWIn xkZmW9UWkNvFW2b9y6Usm7fOEMOvmQJYqpMJ/V2zc63q0Ndr0f26tbxdR8sJgbXuGa 09ForRdWpGdQg== Original-Received: from aleph0.info ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fF2bC6qFj8ge; Thu, 9 May 2019 09:37:19 -0300 (-03) Original-Received: from [100.74.166.41] (unknown [177.79.12.247]) (Authenticated sender: je) by aleph0.info (Postfix) with ESMTPSA id EACE342375; Thu, 9 May 2019 09:37:18 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aleph0.info; s=mail; t=1557405439; bh=DQdZK/ma1Jl8gkTB6IK5f5g3s2h1VRUR0NYfF0Bpvo0=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=ljpygtqAHg6Z3rOcCGmhEgGm5d2ZGuTP+KO8LONP9Gcga58hQ0b4WzXXiuolm4Xu5 IfgVO20upu1++DU3uUAUbLxIQAmZgMgZ3XHQoI0Ox5TY1VHj/oZhr4WB9nut94Nq3V 66O6mXZsvBWbfMJ+Acm/fY33CSpXKlCYO2l1l9FlrvA/VL0r31awGII0lxDXuL3IU7 HQY+HRY8XO8Ud2+96Sp2qJUUbfHzucHKG+yL6d2nELQSSM7/M1s9O00Uc1njNUWWIn xkZmW9UWkNvFW2b9y6Usm7fOEMOvmQJYqpMJ/V2zc63q0Ndr0f26tbxdR8sJgbXuGa 09ForRdWpGdQg== In-Reply-To: <8736lnx27g.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158983 Archived-At: Hello again! On May 9, 2019 9:05:39 AM GMT-03:00, Michael Albinus wrote: >Jeronimo Pellegrini writes: > >> However=2E=2E=2E hexdump may not be present in all Linux/*BSD/*ix syste= ms=2E >> At least in Debian, it is in package bsdmainutils, which is >> not required=2E (od, on the other hand, is in package coreutils, which >> is required) > >See, how we do it with the other programs: we test one after the other, >until it succeeds=2E So it is perfect to have a second entry for awk in >tramp-remote-coding-commands=2E Good then, it'll be simple=2E >Well, decoding does not use od=2E So it might be sufficient to have > >tramp-od-awk-coding-test >tramp-od-awk-encode >tramp-hexdump-awk-coding-test >tramp-hexdump-awk-encode >tramp-awk-decode} Ah, all right=2E >> Perhaps >> >> (tramp-error v 'file-error "Cannot find any way to encode data using >> `%s'" method) >> >> would be more precise? >> >> Or, if (tramp-local-host-p v) (tramp-method-out-of-band-p v size) are >> false, explicitly write that "encoding binaries were not found on the >> remote end"? > >Yes, something like this=2E Do you want to prepare such a patch (which >should also include the tramp=2Etexi changes)? Sure! The documentation change in the same patch? >Hmm, looks like this could extend the 15 lines limit, which is the >upper >limit for contributions to Emacs/Tramp, w/o having signed the FSF legal >papers (where you declare the copyright of your work be given to the >FSF)=2E Would you like to sign such a paper? It would help also for >future >contributions to Emacs or one of its packages=2E Yes, of course! How do I do that? J=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E