delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/13/06:03:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
Date: Fri, 13 Mar 2020 11:02:53 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Setting termios VMIN > 0 and VTIME > 0 on non blocking file
Message-ID: <20200313100253.GC512788@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <9e4c6428-59de-df07-9e33-44ba95d5497f AT gmail DOT com>
<20200312114041 DOT GJ4042 AT calimero DOT vinschen DOT de>
<36b42585-c7a9-274c-bd51-aae1960ff4cd AT gmail DOT com>
<20200312141355 DOT GN4042 AT calimero DOT vinschen DOT de>
<a875be7b-989b-5a20-1eab-c8ed405f72b7 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <a875be7b-989b-5a20-1eab-c8ed405f72b7@gmail.com>
X-Provags-ID: V03:K1:lr26mLm3zaMmv0iKnMdfd+KIawn2NxOGkFKHy4i/9DppFxggR+O
jSUSqB6I2Zcn+3Yljp+hezHSYPWmETpfFpTO+Pru88mCJZXdmhYa5s5cfy0QdTNR7ruPjGH
oqvdfVmjfEwu41i47F430I0+iLiD3kgSUQUfAOsf+XT4cz2Y/09T7FMKb6sbNwIB4dcDx3O
fPxAL0TOIS9ImDKyQHK8g==
X-UI-Out-Filterresults: notjunk:1;V03:K0:AUj210IsUzM=:XQ7g0FLJxru8uP0DxMOPkG
R7nSWKh8CRAf/CeKxHD1FZOJ7WEffIFINKqisyKPTzvKo/EEtXA3X942U6+ZzIhCLYp5uyeb+
UEagjUP98Y8tvuKWZtJl0Mt6M2ww8zmfF+vDNZYXNUTlmfC2GVBPJtCnRAVwAGots2ctFC/nk
QzSaJN1ZHoJuRChtmM4ROCHOwKomWH1q1JZiywH39Lk/+zTGCKMcNRt/zsuUWBPkEVzUWDMnJ
L8KnWrX4CmmMw7AZqLmKbLYfokmJ7FZpQhp1ycM+Brf4jZv8r8gD6Btv7wfI/S0IE9ESDqKfn
RA8rU5Z97tIJACuyJivikdL8Y8pCIMJF43fO3g+RfwGyoVUwBcNVjy+jfFAPLwJ7WJsiV3V15
V1jGBnOXmCwry3uS7QDeeo7oG5lARwcpXeLa4BOhkoghIfvUolmKbrfA9QHqIDrgqoaUJ3oSz
L6ObXC0I8exZr4+hDoob4050tM6b63gbODP6KDGCBzcYtThRpPWxBcT9MEF4qeDtMAy+pEOgw
wd8ZEIz0pnJ2Z3hXCHtpyfnEWvpcM5DjRISCu/xaI3mXd/TwVb9AoxGEbVlgpqd1siNZm3wbQ
/WHwFKWrA/Nn1uGKV9faZwYZkBDdR/hT6o/YbeMPVYltr+X39KTYhbhfvwXZRjwE33Bixq6Kk
aox7K3cg90MTO0yCQZqDQCvtycIsgsc4f9odImr4eZPC64AOIlYF6HviCoH+9AarL7VEf5C13
2LYCWxl1ueWPAJZs9im9W5FVAxADM/0dE1lfhAHmEBDxHKvJuLTJIjyLbO9bLD/TLVP4uYdus
PMelVkn2Vh42b/ORxPDHp5bjcp2f9ryOLFXTFbdJxQu8kKiyoc1KL4t69NPgAiCHxoz7X4S
X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_NONE autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

--===============5856300190320336597==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="gj572EiMnwbLXET9"
Content-Disposition: inline


--gj572EiMnwbLXET9
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 12 17:42, =C3=85ke Rehnman via Cygwin wrote:
>=20
> On 2020-03-12 15:13, Corinna Vinschen wrote:
> > On Mar 12 14:32, =C3=85ke Rehnman via Cygwin wrote:
> > > On 2020-03-12 12:40, Corinna Vinschen wrote:
> > > > For a start, can you please strace the problem with a simple
> > > > testcase,like this:
> > > >=20
> > > >     $ strace -o serio.trace <yourtestcase>
> > > >=20
> > > > and send the source of your testcase as well as the serio.trace file
> > > > here?  It may show at which point the error code is generated.
> > > Should I post those files to the mailing list? I tried emailing them =
to you
> > > directly but it bounced...
> > Mailing list, please.
>=20

> #include <stdio.h>
> #include <error.h>
> #include <errno.h>
> #include <sys/select.h>
> #include <fcntl.h>
> #include <unistd.h>
> #include <termios.h>
> #include <sys/ioctl.h>
> [...]

Thanks!  So that's what we're up against here :)


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--gj572EiMnwbLXET9
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl5rWk0ACgkQ9TYGna5E
T6B3vhAAizGOLVXkBLt1DCrm+sBV4PNkHKIA5w0b0xSa9+8ppU0T4+Vn38vTvSXT
KCPaC7KJE/OjvlDzKnJFbZ1y7FlvDmQWvThMpJkpbRSLd+JrDY0/A2xNnelwMYhZ
42uN4nkhQA4Hpo2amkmjr4d6ylf9VhqFlnjpW1MxoiqWwl6UcjJ6OO1EyAALZ7ZT
eNfZOGMg8OIdBS2Wg7YNsW5r/a7eOQWfceU0BNIjQ8aVGWQBN4fOU/dK1xUVeBhX
ZIF3Nav0aRUj8W1hyb1Pbj+1X4Sl8hZDmeSNAQ9lBafg5ish9K9jcZ1uEc64A0PE
i/JotKZn+eDM7f5mC00VQMADC1EFvVHXBNXXhf2HmHMyDxkXWOn92kMiCAX4GoXQ
+2F+owK5AjdYrXAsHeWvMwQ6Sq7e5kkdozbfrm7Wxd0+1K6OJdlTQ2n5cwD04Wln
1FcneUj5jFA1slKqqlFtQhzPG+I+z5lDXza5WCMwdm6zXveXQx73kCf81+JpdkSo
OgrOcVoJEKW3YReTI/vRNszhWpgLaye6YVTHHYHBW7CcwFNuoi2RWiHxHkOc5zEs
0Yh2ZJdyXYMJkMa828i8L61UZj/t/rkwKyu7UriA0ldJ3/BFy3ZtURjAu87HHS66
/ONyNJPScAY3PEAoB1KIX8cGDRe523iXCBS1Vl7PFFxiIyLvTHg=
=pLHc
-----END PGP SIGNATURE-----

--gj572EiMnwbLXET9--

--===============5856300190320336597==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============5856300190320336597==--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019