Re: cannot start detached sessions (with -m -d) back to back

2021-12-30 Thread RVP
On Fri, 31 Dec 2021, RVP wrote: OP: Try this patch: ---START--- diff -u screen-4.8.0{.orig,}/screen.c --- screen-4.8.0.orig/screen.c 2020-02-05 20:09:38.0 + +++ screen-4.8.0/screen.c 2021-12-31 01:56:30.470670972 + @@ -1801,6 +1801,10 @@ struct win *p = windows;

Re: cannot start detached sessions (with -m -d) back to back

2021-12-30 Thread Valery Ushakov
On Fri, Dec 31, 2021 at 02:08:02 +, RVP wrote: > On Fri, 31 Dec 2021, Valery Ushakov wrote: > > > I think screen is racing against the child process in MakeWindow. > > I think something else might also be going on: Ouch. That probably also explains why I was getting corrupt ktrace.out

Re: cannot start detached sessions (with -m -d) back to back

2021-12-30 Thread RVP
On Fri, 31 Dec 2021, Valery Ushakov wrote: I think screen is racing against the child process in MakeWindow. I think something else might also be going on: On NetBSD 9.2_STABLE: $ screen -S ses -d -m -p 0 sh # create $ ps -Au# check for screen & sh

Re: cannot start detached sessions (with -m -d) back to back

2021-12-30 Thread Valery Ushakov
On Fri, Dec 31, 2021 at 03:18:08 +0300, Valery Ushakov wrote: > I think screen is racing against the child process in MakeWindow. I filed https://savannah.gnu.org/bugs/index.php?61749 for this. -uwe

Re: cannot start detached sessions (with -m -d) back to back

2021-12-30 Thread Valery Ushakov
On Thu, Dec 30, 2021 at 06:55:24 +0300, Valery Ushakov wrote: > Building screeen with debugging shows that succesful session start has > for the first read from the window: > > + hit ev fd 5 type 1! > going to read from window fd 5 > -> 5 bytes > > but failed attempt has > >

Re: UEFI dual-boot with Windows

2021-12-30 Thread Pedro Pinho
Not adding anything here but, this is something users ask everynow and then on different forums. It would be awesome if the wiki contained a guide on how to set-up a dualboot, Windows/NetBSD and Linux/NetBSD. Including seting up rEFInd would be the icing on the cake. Happy new year. Den ons 29