DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 52B3Bshi3065377
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 52B3Bshi3065377
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=HqvX4YUa
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3CE33858D21
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1741662714;
	bh=l7Qwr3TAdXYdKnpXnncW1DraYchUeFDmKbZvwBrqCd8=;
	h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=HqvX4YUaqyOsO8Rtl+/R4SOB4PesjQs2ViIJw/wMQzPlvGHjJyfAYQLxoN/AHBpRN
	 AdJPqLa/M3q3S5gtMa9jw+CoCay4Ny9lvpe4y6wYkuNBl+nvnxYfdK/JPeqABRnw4l
	 nJ11bIh3B+786nGgwIsVr64uGCePv2TFxJcpH9kY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 97C5C3858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 97C5C3858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741662689; cv=none;
 b=J4Hvj0YwZR9BWWBMr7ZQHiNzUWBhZivS1sHfyvol5JV9gvIbRXQoDW+qOvHmfekdeCkqO0jxajB6w7f8qq2lfrn3RdK12E1lsAUIhLrOaLv9+V2xfbupalkGsWhiJ2DB+hTElwZF6zb4FovoYZvIuh8/0qouQrstFkgeclPyPHM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1741662689; c=relaxed/simple;
 bh=68v1QE0HHkzAF+1p/aeseyadUFH1le82NIiOMhlU2ck=;
 h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
 b=wgc8ZIZ0HO/k/s93KsWHRu0CrcNz4pKU690vJkXwfu9hzj989qimKWAdRddQEOizVfCPK8+kqnqUhnBdqMV94ddp+bXKemCTSvkyCE0piJRspySSkGWFBUmemyqh0PyiiO54biDX8mpT3Wl3A/viarD+mGHevQnAhZz4rR9PPkA=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97C5C3858D20
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741662687; x=1742267487;
 h=mime-version:msip_labels:content-language:accept-language
 :message-id:date:thread-index:thread-topic:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=68v1QE0HHkzAF+1p/aeseyadUFH1le82NIiOMhlU2ck=;
 b=bDL/RY6G/to8arT/JXryYklZ5PuU6XbOA9rlNgRW9xithH31ole98kNo4DorACtemK
 C/UzhoT0hUmMeymHb2aaZLn+K3tK7l7iZpPtSxvWm7Q6a6shwxAD7viUXoO0aGvLoEVv
 ZMfPLOFIGpjBQEmXTB2gCglkYjfwF6sqW3NMBbPWo08yRPdN1WTsl9teYB17JdwZyfq6
 ad36ATiOH8BY0HOMVIIfaQ5vTqd6eA5DvLCC/NzyjSdemDxwnTJMju/0YxvMwXQ2dH9G
 mnB7l4/QR4FeSeZsZjI/x35edB/bqoqV08gTgFEMkjF1k9s8w9BW22OM+YNZDFK5xpRf
 JKKw==
X-Gm-Message-State: AOJu0YzwouT9Po9TM9RWFmVwSEZQso0JelUQzQfGvZWsYeKr7qlDFvjI
 3tbPDtZDVTqDUAvHKAkw83F8kGJxSlW8k7/07p+bIxKEuaLavG0rkDKPYg==
X-Gm-Gg: ASbGncux6uAOFry0V1xR2g4FhF64Rj4L2Su6c7rM1l9UYDBkhHdqUKeeiZtA+y79qYe
 v4GBtAr89BkTynvyqd1pvWm5WQKEJeuTqlgu3nl+XmCYcwBlAyOxnWXvYDpL7pmRT0O8OsRQoqq
 VMBPzixEX2oOBIxDRjjKQDOX/DkY8JsGG6XXn+pUo8GhHKnoQ/7AntsG4VgkGbJ49I7RBrKTHwf
 uqCd3TLPTps93HS6juoFfyhucT5+GO9e03CDkz4V0wY3RAKIv6pnLUHTdiSbqEeJE3gjIvHxDvn
 1jJ56dmP5VcV48fuEOE1mxPla24YRdyzbSMr0Btipl+fMSpcQNThmNTQSeCeN89IGyLUYJoCQVN
 T7gGB4UTmTV6Fr7KeCqufLb/Ob5Wu
X-Google-Smtp-Source: AGHT+IFrWB44fer/Nbf9YLQR4/Q3pa00jqgQdkW3FAnMfmqKZLjcOhHhMFkeKPgI65+IlkkJZbNicA==
X-Received: by 2002:a05:690c:700d:b0:6f9:82fa:6d96 with SMTP id
 00721157ae682-6febf2d4218mr256723897b3.11.1741662687607; 
 Mon, 10 Mar 2025 20:11:27 -0700 (PDT)
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Changing Window Size Crahes App
Thread-Topic: Changing Window Size Crahes App
Thread-Index: AQHbkjLbzzMe8FoDAUyOfBrNU6+iHg==
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Tue, 11 Mar 2025 03:11:24 +0000
Message-ID: <SJ0P223MB0613F0C8988AA198D8CC5107A9D12@SJ0P223MB0613.NAMP223.PROD.OUTLOOK.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator: 
X-MS-Exchange-Organization-RecordReviewCfmType: 0
msip_labels: 
MIME-Version: 1.0
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Thomas Lake via Cygwin <cygwin@cygwin.com>
Reply-To: Thomas Lake <tomlake07@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Here's what the developer of the Bas BASIC interpreter (Michael Haardt) said about a problem when changing window size of a program compiled under Cygwin:

"The interrupted system call is more tricky. Well, so is it my problem?
Kind of. What I think is happening here is that ncurses has its own signal handler for SIGWINCH (window changed). Linux restarts system calls, and it looks like cygwin does not. Which it should, if it wants to mimic Linux. But in good memory of all systems long gone, likely some others do not restart system calls, and even if all did, there is still sickwin on your system. :)"

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
