From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3835 invoked from network); 21 Feb 2021 18:21:58 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 21 Feb 2021 18:21:58 -0000 Received: from mail-lj1-f182.google.com ([209.85.208.182]) by 1ess; Sun Feb 21 04:49:54 -0500 2021 Received: by mail-lj1-f182.google.com with SMTP id a17so46291891ljq.2 for <9front@9front.org>; Sun, 21 Feb 2021 01:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=SCZpF9bsJmVvdqxZPnM+InsZw5pIItO4tLr7SXFkSfM=; b=iHAFijmdnuRG7GWTBsiv0i49qoCEYv6jlcjoFHxe9wW7jwQqh4QoixY153AeBQDQeP QdaQH3/mqCbkfEMsVt2jJJRXEBXk/wJUHeMjngASx8Y8h0HtQawrLoGzsSLDkSDuFiwA jyqxwKXgNcwhRNavWH716syp9YDaX6AmbGbd6UnkIZqg/syfNVlRFUae9v4UedOMeeWq W/v/PyDQ4GTEwtcMGVNkytNcYivKTKb4R59S36qpjnyXgHed+9KTgn5KgqqstzCHldMn cXoaSTezbE9XrkQzHrlF7elzenXTGUj3x53N4HXcz4U/5LcvbyLsupHujdJWleZ5x4H4 Jbrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=SCZpF9bsJmVvdqxZPnM+InsZw5pIItO4tLr7SXFkSfM=; b=iWBSkCWJ4guLrmQsjsX+z5j7oWtiXODgi6u/FuTLd8n9s9R2u267INRnp3h4AbqzKX p7iu/r6axcWGcj3mjcdP4AkjCfl1nBm4VEqVw5X4yTzOBh1VknvcZNUzxPWhZD23QGuQ c0kGwV5Sh8AMEx/e244UITMCcZRjjauO3RGoUtEZKia7CT5l+bJXODOBxUNSICp999Og fdNVLol6KkfS26gWg+UA0QIYUWZ19YuS5413/0k9bTd3geXfsXxqAWJ4JO2QVfib25bX c6s5to8PVWEgFW8JoHD9Y/o9iSyxP5t15t91mQRTfaUGMQWtXRSrDv02ZpF88HjUIef6 1+kg== X-Gm-Message-State: AOAM533+bsIdjG4xF+c/hxH7+xhE2OZzq0K0OJhQq7BGLqHG+JVS3dPu QfVm9vutnXRMRTV5Lr+BK7zmeLsLlQRD/PU3xxiiz7MRF8GK3Q== X-Google-Smtp-Source: ABdhPJxZfFmIKeaGiULGrEkZEXbRnx1YvyqD7al5sQBxdz+fLgmf0DNAVpuwU5VYsY+a5JC2btvHx8//WizDqruQZug= X-Received: by 2002:a2e:9903:: with SMTP id v3mr1553676lji.409.1613900985499; Sun, 21 Feb 2021 01:49:45 -0800 (PST) MIME-Version: 1.0 References: <39A9B17D51CA53B178DD683DA5835699@eigenstate.org> <3789890B-B415-4EC6-9CF6-5CD18188D073@stanleylieber.com> In-Reply-To: From: J D Date: Sun, 21 Feb 2021 01:49:34 -0800 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: HTTP over SSL realtime-java storage session database Subject: Re: [9front] tlsclient and hjgit for unix. Reply-To: 9front@9front.org Precedence: bulk On Sat, Feb 20, 2021 at 8:05 PM Jacob Moody wrot= e: > > > On February 20, 2021 7:24:50 PM EST, ori@eigenstate.org wrote:> diff --= git a/libc/genrandom.c b/libc/genrandom.c> index 42522aa..890c291 100644> -= -- a/libc/genrandom.c> +++ b/libc/genrandom.c> @@ -3,10 +3,10 @@>> #undef l= ong> #undef ulong> -#include > +#include >> void> g= enrandom(uchar *buf, int nbytes)> {> - getrandom(buf, nbytes, 0);> += getentropy(buf, nbytes);> }> > Thank ori this should be applied now. > > On 2/20/21 7:39 PM, Stanley Lieber wrote: > > rachael$ 9cpu > > ./9cpu[35]: syntax error: `(' unexpected > > > > Try running it with ksh instead or changing the bang line to ksh. > It's erroring out on the process substitution. > Not sure what the best way to handle this is(for using the right shell > for the right system). > > > Thanks, > moody Hopefully HTML is not rudely inserted into my email this time by the evil google. Maybe instead of USER=3D$user AUTH=3D$auth CPU=3D$cpu tlsclient -p 17019 sh <(cat </dev/null & cat >/dev/tty 2>/dev/null EOF ) Try { cat </dev/null & cat >/dev/tty 2>/dev/null EOF } | USER=3D$user AUTH=3D$auth CPU=3D$cpu tlsclient -p 17019 sh I'm not in a position to test this, but it should be fine, assuming I haven't misunderstood something (likely I have). If this works, it is also POSIX compliant behavior, as opposed to relying on ksh or some particular shell. Please don't yell at me for mentioning POSIX on this list :)