bug report: tty/termios flags weirdness

2020-11-14 Thread john hood via Cygwin
After thrashing with my own bugs for a while, I think I've found a minor bug in Cygwin's tty/termios handling-- seen in 3.1.7 on Windows 10 20H2.  Among other things, this causes tmux to fail on non-pty sessions. STC: Start Cygwin in conhost or Windows Terminal. Execute 'stty -isig' You will pr

Re: Atomic mmap replacement

2018-02-19 Thread John Hood
On 02/19/2018 12:19, Corinna Vinschen wrote: On second thought, we *could* do this, if the pages have been mmapped before(*). Unfortunately this would require a *major* revamp of the page handling in mmap. We would have to keep the mapping of every single 64K page separate. I.e., requesting

Re: Mosh connection errors

2017-01-30 Thread John Hood
(I'm one of the Mosh maintainers, but I happen to be here too.) The usual cause of this is the ssh session not being able to find mosh-server on the remote server. Try 'ssh -t root@host -- mosh-server' to simplify debugging a bit. What OS and Mosh version do you have on the server? regards

Re: Vim responds too slow on the latest snapshot of cygwin1.dll

2016-06-07 Thread John Hood
It has taken way too long to get a usable Win7 VM set up, but I can confirm that the 2.5.2.0.1 snapshot works well on Win7 with my test programs and fixes the issues noted in Corinna's commits, and is somewhat faster than 2.5.1. The snapshot's issues with Win7 were also worse than others have repo

Re: last snapshot is not better than previous version

2016-06-03 Thread John Hood
On 5/31/2016 5:16 AM, Corinna Vinschen wrote: On May 30 19:00, Denis Excoffier wrote: On 2016-05-30 10:25, Corinna Vinschen wrote: The problem is, there's no change at all in the snapshot which would explain a slowdown of such basic functions: - Assorted select(2) improvements: commits a23

Re: mktemp() fails on Wine 1.9.3 + Cygwin 2.5.0-0.2

2016-02-13 Thread John Hood
cygcheck runs OK from CMD, though not under bash. So here is that. regards, --jh Cygwin Configuration Diagnostics Current System Time: Sat Feb 13 15:36:41 2016 Windows 2003 Server Ver 5.2 Build 3790 Service Pack 2 Running under WOW64 on AMD64 Path: C:\windows\system32 C:\window

mktemp() fails on Wine 1.9.3 + Cygwin 2.5.0-0.2

2016-02-13 Thread John Hood
Hi all, I installed wine-staging (i386) 1.9.3 and Cygwin (i386) on my Ubuntu 15.10 laptop in hopes of being able to maintain Cygwin compatibility of some software without having to actually use Windows. I've seen several difficulties, but the most serious one was that gcc would fail with var

Re: cygwin.dll: bug with select on Windows console

2016-01-12 Thread john hood
On 1/11/16 4:37 AM, Corinna Vinschen wrote: > On Jan 10 05:04, John Hood wrote: >> On 1/9/2016 9:41 AM, Corinna Vinschen wrote: >>> I fixed the code and took the opportunity to clean it up a >>> little using >>>> basically the (fixed) patch I proposed two

Re: cygwin.dll: bug with select on Windows console

2016-01-09 Thread John Hood
On 1/9/2016 9:41 AM, Corinna Vinschen wrote: I fixed the code and took the opportunity to clean it up a little using >basically the (fixed) patch I proposed two days ago. > >I've just uploaded new developer snapshots tohttps://cygwin.com/snapshots/ >and a new test release 2.4.0-0.17 which contain

Re: cygwin.dll: bug with select on Windows console

2016-01-08 Thread john hood
On 1/8/16 11:29 AM, Corinna Vinschen wrote: > On Jan 7 13:18, John Hood wrote: >> Sorry about forgetting the testcase (which was good, actually, that >> version had a bug). I've attached it here. This takes a single >> argument, the timeout value for select() in

Re: cygwin.dll: bug with select on Windows console

2016-01-07 Thread John Hood
Are there any better directions for building Cygwin? regards, --jh On 01/07/2016 12:30, Corinna Vinschen wrote: > Hi John, > > On Dec 27 20:49, john hood wrote: >> Hi all, >> >> I'm one of the Mosh maintainers. Recently a user reported a problem >> where Mosh

Re: cygwin.dll: bug with select on Windows console

2016-01-01 Thread John Hood
More observations: * This also happens on a Windows 8.1 VDI install with a different AV/security solution-- different enough from my machine that I don't think the Windows/app environment is the cause of this, it looks more strongly like a Cygwin issue to me. *

cygwin.dll: bug with select on Windows console

2015-12-27 Thread john hood
Hi all, I'm one of the Mosh maintainers. Recently a user reported a problem where Mosh exits suddenly soon after startup while he is typing at it, see . The problem turns out to be that occasionally, select() times out, returns 0 as it should, but