From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artyom Poptsov Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] Guile-SSH 0.8.0 released Date: Tue, 01 Sep 2015 21:06:31 +0300 Message-ID: <874mje10bc.fsf@elephant.savannah> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1441130884 3310 80.91.229.3 (1 Sep 2015 18:08:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2015 18:08:04 +0000 (UTC) Cc: guile-user@gnu.org To: guile-user-request@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 01 20:07:54 2015 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZWpyL-0002vE-Rl for guile-user@m.gmane.org; Tue, 01 Sep 2015 20:07:53 +0200 Original-Received: from localhost ([::1]:56618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWpyL-0000VW-9P for guile-user@m.gmane.org; Tue, 01 Sep 2015 14:07:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWpyB-0000V4-KZ for guile-user@gnu.org; Tue, 01 Sep 2015 14:07:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWpy8-0006GI-CT for guile-user@gnu.org; Tue, 01 Sep 2015 14:07:43 -0400 Original-Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:34667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWpy7-0006Fu-GT; Tue, 01 Sep 2015 14:07:40 -0400 Original-Received: by lbbmp1 with SMTP id mp1so4474782lbb.1; Tue, 01 Sep 2015 11:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=/y25GJOseEb929Cr3/6tC0zG3mdI36ANw0hBLbybqtc=; b=r6IVkjTCNXZn0JDFr+D0AonEunbsTc54m0s+0TSQ4k13UPynSeAKuA2myc0lVdZP+8 7mgms2nx5Igkp/aGldKhLtDYB2en3nEglCU9P2497lIWKpauVMagjfai72Cm07jp1nor Cea0AFaKwstxJtCPRlNP58wU6mj2vascegjIMDBZHROjoz9NiU4wF+SkrjJi/lkCFE9R JGYxxjc0DZlQ36k+1s7a44oFpwNWM7td4Ok0/pflf+zporiTwlBwqrEM4ZYjNQqQzeHH c36L90l88zTIqP0SjuupEtt0v2TTlVy/1UkV3BuWawNF3NU/eYxn/dzABuE3vB5CvZRe mqZQ== X-Received: by 10.112.126.69 with SMTP id mw5mr13793701lbb.111.1441130847627; Tue, 01 Sep 2015 11:07:27 -0700 (PDT) Original-Received: from elephant.savannah (93-120-207-200.dynamic.mts-nn.ru. [93.120.207.200]) by smtp.gmail.com with ESMTPSA id qu6sm4933927lbb.27.2015.09.01.11.07.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Sep 2015 11:07:26 -0700 (PDT) In-Reply-To: (guile-user-request@gnu.org's message of "Tue, 01 Sep 2015 12:00:37 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22f X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11978 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Ludovic. > Maybe this went unnoticed, but these are really awesome features! Thanks! > I think the manual should explicitly remind people that the REPL > server must already be running on the remote machine. I guess it is already mentioned in the manual. From "(guile-ssh) Distributed Forms": To make use of the procedures listed in this section you will need an SSH daemon and a GNU Guile REPL server both running on the remote host. Or should I elaborate on this? > I wonder if it would make sense to offer an alternate option where the > calling machine invokes ?guile? on the remote side and talks to it on > stdin; this could simplify some use cases. WDYT? Sure enough, we can call 'guile' on the remote side using 'channel-request-exec' before using of procedures from (ssh dist). That looks like a great idea, I need to think about the implementation. > However, this: > (let ((session (make-session #:user "ludo" #:host "xxx"))) > (connect! session) > (userauth-agent! session) > (with-ssh (make-node session) > (use-modules (ice-9 ftw)) > (scandir "/"))) > returns only two values, the language and the module. Thank you for reporting that bug, fixed in 76d8df2 on the master. Also I fixed parsing of RREPL errors, in c7b6a79. Please check if it works for you. =2D Artyom =2D-=20 Artyom V. Poptsov ; GPG Key: 0898A02F Home page: http://poptsov-artyom.narod.ru/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCgAGBQJV5ek6AAoJEOnFotkImKAv3/IIAJxlvX9cGaRgbRqd+TEzENQu A5KIwoURki0/RFU6BqLleqdtdYXdKwUkqSkwoiC2UKwu7DbjN+9ncndGICJ3sPaA f2arFQmBygXgyARzMlU/h6XuhPgnIjNZd/IfvjY3L2o8Pj6i5yTxGJv65cDGexc1 pqgHflLh/9vrw7HEiIjs0eecw93b3fjQ/dCfgr8f9vD0+8OmnDQYSk+6DV2l36TF pr3fccwn5LH27d/g9cf8hLrQpc7wgA+tMUgNBsNlEbwBzhfpFdmgQ0+REQISEqNL 153/7dSFNt74zEB/JrJFrSYSY4C+AS90Wr4zXH36TPocut4yg55cvRdWetF8KiI= =yi/w -----END PGP SIGNATURE----- --=-=-=--