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 32059 invoked from network); 15 Oct 2021 02:30:42 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 15 Oct 2021 02:30:42 -0000 Received: from 5ess.inri.net ([107.191.111.177]) by 4ess; Thu Oct 14 22:22:25 -0400 2021 Received: from [127.0.0.1] ([166.170.222.64]) by 5ess; Thu Oct 14 22:22:25 -0400 2021 Date: Fri, 15 Oct 2021 02:22:22 +0000 From: Stanley Lieber To: 9front@9front.org In-Reply-To: References: Message-ID: <7FEB9E7D-5E25-49FD-A29D-3086A061C8B3@stanleylieber.com> 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: decentralized table Subject: Re: [9front] [drawterm] Wayland support and misc patches Reply-To: 9front@9front.org Precedence: bulk On October 14, 2021 1:59:54 AM UTC, Jacob Moody wrote: >Hello, > >I've written a wayland graphical backend for drawterm and have been dogfo= oding it for >a little bit now=2E I think most of the larger bugs have been worked out = of it=2E >There is also a patch for adding pipewire support for devaudio=2E >For both of these there is a patch for adding a CONF=3Dlinux target > >While working on these I found that there is code in libc/ that expects >to be compiled with -DPTHREAD to avoid resorting to spin locks=2E >I think we might want to add -DPTHREAD to the unix target CFLAGS=2E >However adding the define on my machine caused gcc to get confused about >the ordering of the members for kern/devmouse=2Ec:/^Cursorinfo\tarrow/ >There is a patch that specifies the members, which seemed to fix the issu= e=2E But I am sure what is causing this=2E > >Also I am not sure why there was a sleep within the kern/term=2Ec:/^resiz= eproc/ loop, but I noticed the delay >when working on the wayland backend=2E There is a patch for removing that= sleep=2E > >Not sure which, if any, of these are desirable to have upstream but wante= d to offer them up=2E > > >Thanks, >moody don't have a machine to test with yet but this will come in handy around d= ecember=2E thanks! sl