From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id C8o7FO/qrGJPbwEAbAwnHQ (envelope-from ) for ; Fri, 17 Jun 2022 22:58:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id XNQhEu/qrGJT5AAAG6o9tA (envelope-from ) for ; Fri, 17 Jun 2022 22:58:23 +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 DA6912AE3E for ; Fri, 17 Jun 2022 22:58:22 +0200 (CEST) Received: from localhost ([::1]:56160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2J2r-0006nM-Qh for larch@yhetil.org; Fri, 17 Jun 2022 16:58:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2J2Y-0006my-44 for guix-patches@gnu.org; Fri, 17 Jun 2022 16:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2J2X-0002qJ-Ry for guix-patches@gnu.org; Fri, 17 Jun 2022 16:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2J2X-0000uQ-Qi for guix-patches@gnu.org; Fri, 17 Jun 2022 16:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55912] [PATCH] home: Add OpenSSH service. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 20:58: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: philip@philipmcgrath.com, ludo@gnu.org, 55912@debbugs.gnu.org X-Debbugs-Original-To: Philip McGrath , Ludovic =?UTF-8?Q?Court=C3=A8s?= , debbugs-submit@debbugs.gnu.org X-Debbugs-Original-Cc: 55912@debbugs.gnu.org Received: via spool by 55912-submit@debbugs.gnu.org id=B55912.16554994253428 (code B ref 55912); Fri, 17 Jun 2022 20:58:01 +0000 Received: (at 55912) by debbugs.gnu.org; 17 Jun 2022 20:57:05 +0000 Received: from localhost ([127.0.0.1]:47096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2J1d-0000tE-EI for submit@debbugs.gnu.org; Fri, 17 Jun 2022 16:57:05 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:45102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2J1X-0000s2-E3 for 55912@debbugs.gnu.org; Fri, 17 Jun 2022 16:57:01 -0400 Received: from [172.20.10.5] ([213.119.205.252]) by michel.telenet-ops.be with bizsmtp id kLww270035TFlZ906Lwwtu; Fri, 17 Jun 2022 22:56:57 +0200 Message-ID: From: Maxime Devos Date: Fri, 17 Jun 2022 22:56:52 +0200 In-Reply-To: <22679917.6Emhk5qWAg@avalon> References: <87tu8kk2dx.fsf_-_@gnu.org> <623fb4e4eea75f728248bb706fbed9e5677bcc22.camel@telenet.be> <22679917.6Emhk5qWAg@avalon> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-tUKWaJDp8ScCrSX+I0tl" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1655499417; bh=CI09o/D2SUxQaxarH6e/uvUFGnmxddVkjZ8kzwBPyfg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=VFvgPl8iRdSfmaqtsxEfSxcsaEqSsfhY/0U5lg7ashViyUEdmjBwwJns5naKSOg48 J01lA/LMR8cLgFTwpWUBvAwvhfyb1z9gpxIMLm1aobQT2CY22xm4ty42E6JCvztp6C EXLitghuHt/UXCC3EYauTf+pKe+fu4YKAnEzB/ylw2UIctth2npcq2NKLvglQIsgag 5c11ZTMr5vJl0V50W+cdSrbbBBMVqYCYJi0eVEHyaCkxO39KsRXFQoLHL0cLttk5Zz NeO8JW0ghgn7SCVrV1SXlrYu21+5VRO8FwHSkTbmp5MTP2snVTmeMvMLdlAK8Zvi5i KREC2QyyTtxpw== 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=1655499502; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=CI09o/D2SUxQaxarH6e/uvUFGnmxddVkjZ8kzwBPyfg=; b=CKKpYmOPQNgh0bKzHhJwpAETxebjjgRnd5Jwa226piqMQUvPP7pPPxcH3uvPHLQ9/0giNJ 5DyplKb8SwVoUq47v65b+0r6F1GDUDBR8Kr2FLllM43j60WnpqMsf9hNy7ea2Vu9LXn1e5 yNR0Q+8JmkSk+xce9IzpFzW10mCOGPIatj70BbTICCZIvQ5HY/txEqKtS6oRtayMmQFpJD RaJwDo7Jnq4radwA3ptAODA8NaMTJ18i9DFMLNLL/s3olJsDHPM4qdxAJUsXV99lllGTZ0 RwbuFYe+g7DE/xM9xfTaaJoefz2D63uRba/LcV7qUxa8r7oTQ8IoURwjXBZUXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655499502; a=rsa-sha256; cv=none; b=Axaul85UpSGH1Jqba0m/ezUxl4khV5xXz3AQHWFPq1u8tc0CRENHtK8Xrkv+4mgsa9IKEt FpyFlkHqz5WTz8p1orFBBdeObfc1OlYNM1tIN5OGsh+PLFJnkj9ZJRFbm0zkx0MN/HvlOX XHGwvfJGZm2sZuBL2sKNwK3hLwfdLYz3PMNfxsLLGSMGiHbwnBpG1dCKshbDZOX7C6Xc3b KYQQL/aS0gJbnmsxwYItkapkK8YaMauTPHM3vYn+AQq0PKJc6e2sa/8b98w/5HMEM06r90 BJR54Y5sijJohXfKi0qWN+utyAJIwZRlA0YZPsYPmIL5tqKQR6937vc96XcydQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=VFvgPl8i; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: 3.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=VFvgPl8i; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: DA6912AE3E X-Spam-Score: 3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: JfmottFb+Rfm --=-tUKWaJDp8ScCrSX+I0tl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Philip McGrath schreef op vr 17-06-2022 om 08:42 [-0400]: > I think the problem goes deeper than that: an R6RS string is a fixed- > length sequence of Unicode scalar values, but a path on a Unix-like > system is a sequence of non-null bytes, That's one of the possibilities I know about. Treating that case as =E2=80=98ISO-88591-1=E2=80=99 would be sufficient for Guix, albeit conceptu= ally incorrect. > and on Windows is a sequence of UTF-16 code units=20 > with possibly unpaired surrogates (aka WTF-16 [1]). =20 > That is, there are some > valid paths that can not be represented as Scheme strings. Nasty. Didn't know about that. I'll skip that one for now though (I don't think Guile uses the right Windows APIs for that, it just calls 'open' and 'stat' and the like). > Racket has a really nice path datatype that handles these subtleties > (there are many bad headaches if you want to be portable to Windows) > while allowing an ergonomic use of strings for the common case. [2] For now(later), I'll just stick to support overriding the file name encoding, a proper separate path datatype can be added later. E.g., open-file can be changed to support both filenames as strings (to be encoded by the file name encoding) or as an instance of the path datatype. Except for rebase conflicts, this seems rather orthogonal to me. Greetings, Maxime. --=-tUKWaJDp8ScCrSX+I0tl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYqzqlBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tAUAP9Rw/tcj9PRlYS1q3e3nWDX3Vxy l2Zc39svxCXPhuDSPgEAt+z0AwzviY33ALH7FbV/sBjcvXltOjTrcdNZV9ISQQo= =7ep8 -----END PGP SIGNATURE----- --=-tUKWaJDp8ScCrSX+I0tl--