From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WBCMJJ5/rGLnIQEAbAwnHQ (envelope-from ) for ; Fri, 17 Jun 2022 15:20:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qBFZJJ5/rGIpHgEAauVa8A (envelope-from ) for ; Fri, 17 Jun 2022 15:20:30 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BA2F36DB5 for ; Fri, 17 Jun 2022 15:20:29 +0200 (CEST) Received: from localhost ([::1]:45568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2Btk-0007BS-Rf for larch@yhetil.org; Fri, 17 Jun 2022 09:20:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2BtK-0007AQ-JO for guix-patches@gnu.org; Fri, 17 Jun 2022 09:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2BtK-00056m-6I for guix-patches@gnu.org; Fri, 17 Jun 2022 09:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2BtK-0004qQ-19 for guix-patches@gnu.org; Fri, 17 Jun 2022 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55912] [PATCH] home: Add OpenSSH service. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 13:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55912 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ludo@gnu.org, 55912@debbugs.gnu.org Cc: maximedevos@telenet.be X-Debbugs-Original-To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , debbugs-submit@debbugs.gnu.org X-Debbugs-Original-Cc: 55912@debbugs.gnu.org, Maxime Devos Received: via spool by 55912-submit@debbugs.gnu.org id=B55912.165547198218568 (code B ref 55912); Fri, 17 Jun 2022 13:20:01 +0000 Received: (at 55912) by debbugs.gnu.org; 17 Jun 2022 13:19:42 +0000 Received: from localhost ([127.0.0.1]:44351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Bt0-0004pP-3D for submit@debbugs.gnu.org; Fri, 17 Jun 2022 09:19:42 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:36013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Bsv-0004od-C4; Fri, 17 Jun 2022 09:19:37 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 86D9C32009A7; Fri, 17 Jun 2022 09:19:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 17 Jun 2022 09:19:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1655471971; x= 1655558371; bh=3izRdKwNO5lIN4dTTUcpGpmcp3uZW/x9Oqezi+64IcY=; b=S NUb+alNPCfUdaZJNXwFUi4eYANKzBs0pceIFglXk9wA2g/zb7KsKwVwzlY8Rwy8G oRaI4lD0LGyAxIkDO2yKl0cHpbXcV5HDqGzvRCM6enuD296HlKfY45Xp3YtZC5ji mo1sKbzpIf6XNWIfk2NIifzGgBA8vkLfdvembnCjKefHPdjiOJWeZJABgWoSQYin 9S+b9K96ZzFdKZCwizQuGnccXq+4xI+LdNMs2XR/g8r0i3RmdgqH+iHnqeCPcaun J+LNa79bOSNLI9N+DRtny0F3aN+AjhYD8PQyzrwvriyKFJipWbnBEw+uEGl0qxcf HAUV0urIcYkI9wse5WzhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1655471971; x=1655558371; bh=3izRdKwNO5lIN4dTTUcpGpmcp3uZ W/x9Oqezi+64IcY=; b=VH/XQnBGOhzDyo/vzM4lUNsce6a3jRuS5x3Z2Wk7RO5S QHPWGTcgyk+hX9O9LKCp6qxk5Y/g441/oVHaj67u3XwTJj1hfPN8f9VCv4Q+PZuz W7MUDnWq4Fsfk5+m8oQ+xx3RL7wapnlFaNpPQ2QfvJ8ZU/RgDBP5CRtKnu1pwQzz eYW/SxjayhJw/c1NDJlGYHsQOzENaokm6od0vaMNT8KlxuisZxJl/sDcEu6ggyXq yXplvls0K69cBC4KkssOhYv3TV618sEy8O7/jdZVfRdLV5xsfljpFvGWGm5E04OA m+VHUFNdXRLt1+ba5wADJakGJTA7cJe74sHUMO0ZMw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvhedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhephffvvefufffkjghfgggt sehgtderredttdejnecuhfhrohhmpefrhhhilhhiphcuofgtifhrrghthhcuoehphhhilh hiphesphhhihhlihhpmhgtghhrrghthhdrtghomheqnecuggftrfgrthhtvghrnhepteei hffhjeetheeujefgtefhleevieeuheekgeeijeetveelgeekffevvddvuedvnecuffhomh grihhnpehgihhthhhusgdrihhopdhrrggtkhgvthdqlhgrnhhgrdhorhhgpdhgihhthhhu sgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Jun 2022 09:19:30 -0400 (EDT) From: Philip McGrath Date: Fri, 17 Jun 2022 08:42:41 -0400 Message-ID: <22679917.6Emhk5qWAg@avalon> In-Reply-To: <623fb4e4eea75f728248bb706fbed9e5677bcc22.camel@telenet.be> References: <87tu8kk2dx.fsf_-_@gnu.org> <623fb4e4eea75f728248bb706fbed9e5677bcc22.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2514343.Lt9SDvczpP"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655472030; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=3izRdKwNO5lIN4dTTUcpGpmcp3uZW/x9Oqezi+64IcY=; b=Pu54lUTNYU5OJxcfa2+gDw+tNOvaFzE4nm90/RNER4kCTVEWkm64z/697089hf/QFYX42Z uhvRYVpLFveXliMQpAAoW35ajv6MM3EjJkoZmNIuQMmYX4FQIj+huL42bAbhGTqTgKpiNo aX2US2by3WJAVTGYbRiwLQuG2HtVSEwNjtAvAnSHoWwBob3U6/TYd7tfH5WHAWu2+y+0MG FN41h7RSDTtne5wmnNUuKQD2uGVb7qKSKWkyWB0uGguRSxYUwu2CyCGiesVyRWh4ehAVCZ n1SGXyn0ZXWmBoCL3EJqm+EAL43wDvj9cxljJig/35hmlEJi4LMCSa8ETRh/hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655472030; a=rsa-sha256; cv=none; b=pS8s5kUE6bwxqxovIVU7Gn19QwJUSTNmJB9HyksWJByh9OQ6JPrIOexXGgcoWxHh3kP4Cz z62Sr8xF9d7Ssx6ZEaFpC9zR1fukrlEUxXMokCJVN+mGJxlqkDMXqlVVnYLHUY24wrI4Rk qD1JFPBwvG5WIvq0o/JOl+oXy+eSivJ4oqSNO3Z5TD/y7tTjP3Rp9ei8zyqsOy6BZhppEg 6WFv5JBsENscVgt2v1xaHEEFMamzxIFIlrzKGEQ8YgLzw2VB86O4rg/XhkUpIfkrC4qJcb h0/ozqSKuzmKbhGieeK4Jep7eLxSNay4c79FjMILpsAMgk5gsoBG92QLMvLjQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b="S NUb+al"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="VH/XQnBG"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b="S NUb+al"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="VH/XQnBG"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BA2F36DB5 X-Spam-Score: -1.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: sk1tYYcLzeSG --nextPart2514343.Lt9SDvczpP Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Philip McGrath Cc: 55912@debbugs.gnu.org, Maxime Devos Subject: Re: bug#55912: [PATCH] home: Add OpenSSH service. Date: Fri, 17 Jun 2022 08:42:41 -0400 Message-ID: <22679917.6Emhk5qWAg@avalon> On Thursday, June 16, 2022 12:45:30 PM EDT Maxime Devos wrote: > Ludovic Court=C3=A8s schreef op do 16-06-2022 om 18:18 [+0200]: > > In Guile proper, it would be nice if there were a =E2=80=98%file-name-e= ncoding=E2=80=99 > > fluid. >=20 > I was more thinking of a %file-name-encoding parameter (instead of a > fluid), but that's what I had in mind. >=20 I think the problem goes deeper than that: an R6RS string is a fixed-length= =20 sequence of Unicode scalar values, but a path on a Unix-like system is a=20 sequence of non-null bytes, and on Windows is a sequence of UTF-16 code uni= ts=20 with possibly unpaired surrogates (aka WTF-16 [1]). That is, there are some= =20 valid paths that can not be represented as Scheme strings. Racket has a really nice path datatype that handles these subtleties (there= =20 are many bad headaches if you want to be portable to Windows) while allowin= g=20 an ergonomic use of strings for the common case. [2] Zuo has a more minimal path API which takes advantage of the fact that a Zu= o=20 string is like a Scheme bytevector. [3] It doesn't handle all of the=20 complexity managed by the Racket path type, but focuses on the subset of pa= ths=20 applicable to a build environment. The implementation of all of Zuo is a=20 single C file. [4] =2DPhilip [1]: https://simonsapin.github.io/wtf-8/ [2]: https://docs.racket-lang.org/reference/pathutils.html [3]: https://docs.racket-lang.org/zuo/zuo-base.html#%28part._.Paths%29 [4]: https://github.com/racket/racket/blob/master/racket/src/zuo/zuo.c --nextPart2514343.Lt9SDvczpP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE9GWrrNY3rqwUFVXPygNjjfo/HHoFAmKsdsEACgkQygNjjfo/ HHqk5g/+Ir5WMAvJZP7SCprHMGjm48Qf9VpddQf/NyDi6qA7rpXj0wSOzJP3g72M oFK30U83BMgr6RUTyXntUfDwS7S5xZcVyCCw9xsIjL95zwDtI5WtcgAg3GzANk1M 240s1JuwRI3RGX9db/1UI/5jlFb/hoFwbjkU7Glry0y2KA67itBOfGzGmiPgmaNd LXnPwEWvhJXbTKUcjd1vrp9moz26PhmECEKygsJmJhAV6nWWQXImhWguVc6ymHLd FFCUyvwPXXyBSolsYPVdLzIcvlj6LtQIfFjVQEaPAhdzNHYTjfXvqdDstsmDdjps OQT85ujcVtsvCWMxK7okbP2lCQgjQ6eTQ3JimZyO9Uk6Gn6MBL95HjSBldyyLmOz KvyCbeaAS4XImwjncj3kq5sLtc6qtVC6iRJXAhL8f1phH6Ab43k7UeZpx+ltHoDk KRzN/VsHlN3y24JVxLqlUYlEfjyV7Y042DkEyWyCWtSExcYlumPh/8dTPeBLlDux HiUeJZ8mH3KSpS/bxZhNbA065U243HSMVSp58+VB+5mlCGhqyfctVX0sbCAFIdUu VomBGz74Mq+LOxCRBUPGOjJ/+/6OMQ+UMRVrhbhLY/sE8f73xgoDcqShqQdhdjR5 CV5LLaUXyt5l/0+10cGdpHtU1A+bUDpRBEQkMNtvEVZRYq3Ivqc= =ArPA -----END PGP SIGNATURE----- --nextPart2514343.Lt9SDvczpP--