> On Sat, 05 Apr 2025 07:02:08 -0400 > Andrew Schulman wrote: > > screen 5.0.0 now includes calls to TIOCCONS, like this: > > > > ioctl(consredirfd[1], TIOCCONS, (char *)&on) > > > > Since TIOCCONS seems not to be present in Cygwin, can someone please suggest > > what the equivalent would be? > > There is not default console on cygwin such as /dev/tty0 or /dev/console > on Linux. cygwin has /dev/console but it is an alias of current console > device such as /dev/cons0. > > So we cannot implement TIOCCONS in cygwin. > > What about commenting out the body of TtyGrabConsole() like: ... > Does something behaves wrong with that?
Thanks. That's a good idea. Unfortunately when I try it screen hangs, unresponsive. Same result if I just comment out the call to ioctl(). That might be because of the missing ioctl(), or it might be because of some other change since screen 4.9.1. Not sure. So I think my next stop is to ask the screen developers. Thanks for your help! Andrew