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.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21682 invoked from network); 21 Feb 2021 16:23:48 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 21 Feb 2021 16:23:48 -0000 Received: from 5ess.inri.net ([107.191.111.177]) by 1ess; Sun Feb 21 11:20:02 -0500 2021 Received: from [127.0.0.1] ([104.59.85.219]) by 5ess; Sun Feb 21 11:01:18 -0500 2021 Date: Sun, 21 Feb 2021 11:01:15 -0500 From: Stanley Lieber To: 9front@9front.org In-Reply-To: References: <39A9B17D51CA53B178DD683DA5835699@eigenstate.org> <3789890B-B415-4EC6-9CF6-5CD18188D073@stanleylieber.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: core component element interface Subject: Re: [9front] tlsclient and hjgit for unix. Reply-To: 9front@9front.org Precedence: bulk On February 21, 2021 4:49:34 AM EST, J D wrote: >On Sat, Feb 20, 2021 at 8:05 PM Jacob Moody wrote: >> >> > On February 20, 2021 7:24:50 PM EST, ori@eigenstate=2Eorg wrote:> dif= f --git a/libc/genrandom=2Ec b/libc/genrandom=2Ec> index 42522aa=2E=2E890c2= 91 100644> --- a/libc/genrandom=2Ec> +++ b/libc/genrandom=2Ec> @@ -3,10 +3,= 10 @@>> #undef long> #undef ulong> -#include > +#include >> void> genrandom(uchar *buf, int nbytes)> {> - getrandom= (buf, nbytes, 0);> + getentropy(buf, nbytes);> }> >> Thank ori this should be applied now=2E >> >> On 2/20/21 7:39 PM, Stanley Lieber wrote: >> > rachael$ 9cpu >> > =2E/9cpu[35]: syntax error: `(' unexpected >> > >> >> Try running it with ksh instead or changing the bang line to ksh=2E >> It's erroring out on the process substitution=2E >> Not sure what the best way to handle this is(for using the right shell >> for the right system)=2E >> >> >> Thanks, >> moody > >Hopefully HTML is not rudely inserted into my email this time by the >evil google=2E > >Maybe instead of > >USER=3D$user AUTH=3D$auth CPU=3D$cpu tlsclient -p 17019 sh <(cat <printf '%7ld\n' $len >echo $cmd >cat /dev/null & >cat >/dev/tty 2>/dev/null >EOF >) > >Try > >{ >cat <printf '%7ld\n' $len >echo $cmd >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)=2E If this works, it is >also POSIX compliant behavior, as opposed to relying on ksh or >some particular shell=2E > >Please don't yell at me for mentioning POSIX on this list :) > on openbsd sh *is* ksh (well, pdksh): rachael$ cmp /bin/sh /bin/ksh rachael$ sl