From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by ewsd; Sun Sep 20 09:01:34 EDT 2020 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 477944BB for <9front@9front.org>; Sun, 20 Sep 2020 09:01:32 -0400 (EDT) Received: from imap35 ([10.202.2.85]) by compute1.internal (MEProxy); Sun, 20 Sep 2020 09:01:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=SijO+GMZBWTPamKDlVBuiPDpqbjnF77 ULO6tYusf6go=; b=GQhhPp+hZHEInYwL/F/1pNiEUGdxz6oDWV8EFiOgtcNMQq4 8lkYSLMR4OjZZcLr4F7+AKk5a2TIkNE2JUKfeytLILUgiC6DGjRjGCaBFeY6I3ci BlYB6xui+/lm/GgcRFIYNn1hboxmwQVhKt/TffMWH7QXuC/iHwb2ipj0zvoab+Hn hJ/GmemZOvwMwKEtEMsGZ5Zt7oaSsxy/lO20IaSruyB+qzVy3Nu+3rLlC+hL8SJu /MZwV2X2Gx+2xHSj/c4lV6NlhXvtl9wO+7M/HoqQJSp7cCDWTp+tWlsunRspQuRA HD8q6BIOYdTGoOO81bQoYWciAqVytihNhWkmq5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=SijO+G MZBWTPamKDlVBuiPDpqbjnF77ULO6tYusf6go=; b=HsxiwFVm2pL45oN3XpmoQS 30SOvKfo19hiVveSOTOF5toU3893qqXrOL4enDzSI5w1W3wLd4TR2Wr6oTn/4B20 yeGGORxxACvuhS4AlGrOS3NFS7HGlM6G0I8dJO/WLnSd8+ve02wYDlBaUKZWpL1k XvYZzWOs1aRR1HDrIT356ojbMxw4IdgTdpMQiIh3Zgyk2svrzVDJEh9kCr8wIRbb ksfjCUkN5jqLslr2jB9he0jibThVjuL8pia92GauuDV3FWinntvafAEgvJl0yb09 yvpKZMKK2l9a+WChw///3biEKe0pt1dNKh9/C1lQde9cAmOGuSFYxqE9zW+FVFoA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtgdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddvfedmnecujfgurhepofgfgg fkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfgthhhrghnucfirghruggv nhgvrhdfuceovggvkhgvvgehjeesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvg hrnhepffdvtdehgeekfeefgfeufeejudetvdfggfffkefgjefhteekgeevjedvfeeuueei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvggvkh gvvgehjeesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7AA4B14C0978; Sun, 20 Sep 2020 09:01:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-325-g8593b62-fm-20200916.004-g0f995879-bis Mime-Version: 1.0 Message-Id: <6c8caf6a-f5d9-4caa-97bd-90ca1269500a@www.fastmail.com> In-Reply-To: <0581EBED290FF17088E62BAE2CF87A46@a-b.xyz> References: <0581EBED290FF17088E62BAE2CF87A46@a-b.xyz> Date: Sun, 20 Sep 2020 14:01:11 +0100 From: "Ethan Gardener" To: 9front@9front.org Subject: Re: [9front] [PATCH] syscall: utility overhaul Content-Type: text/plain List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: ISO-certified RESTful CSS strategy On Sat, Sep 19, 2020, at 2:05 PM, kvik@a-b.xyz wrote: > > * The -o flag outputs the entire buffer to the length returned > by the syscall, or, in case of fd2path(2) and errstr(2), to '\0'. If a user redirects this output to a file and tries to edit it, sam and acme will remove the \0 bytes and issue a warning on load. Ed doesn't warn, but truncates lines at \0. Just raising the issue in case it's relevant. IMO, these are minor bugs in our editors. > * The -x flag is removed; the above makes it possible to pipe > into xd(1) to get the same result. I'm not familiar with syscall, but is it really the same result?