From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55562 invoked by alias); 10 Jun 2016 10:02:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 55553 invoked by uid 89); 10 Jun 2016 10:02:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-96.3 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=H*MI:sk:2016061, karlowski, Karlowski X-HELO: calimero.vinschen.de Received: from ipbcc0227e.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.34.126) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Jun 2016 10:02:27 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 7474CA80550; Fri, 10 Jun 2016 12:02:25 +0200 (CEST) Date: Fri, 10 Jun 2016 14:39:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: stty icrnl Message-ID: <20160610100225.GE15058@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <87fusm6mog.fsf@Rainer.invalid> <20160610083111.GC15058@calimero.vinschen.de> <20160610104232.488C0330.helmut.karlowski@ish.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3XA6nns4nE4KvaS/" Content-Disposition: inline In-Reply-To: <20160610104232.488C0330.helmut.karlowski@ish.de> User-Agent: Mutt/1.6.1 (2016-04-27) X-SW-Source: 2016-06/txt/msg00161.txt.bz2 --3XA6nns4nE4KvaS/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 606 On Jun 10 10:42, Helmut Karlowski wrote: > --------------------------------------------------- > > Ideally by somebody who knows how this dreaded Windows serial line API > > works... >=20 > Wouldn't someting like this work: >=20 > term=3D$'\r' > l=3D > while true; do read -N1 c > [ "$c" =3D=3D $'\4' ] && break > [ "$c" =3D=3D $term ] && { echo "<$l>"; l=3D; } || l=3D"$l$c" > done >=20 > ? I was talking about coding icrnl support inside Cygwin. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --3XA6nns4nE4KvaS/ Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXWpAxAAoJEPU2Bp2uRE+g9J4QAJQMMAhnXu7EPzq5PUNvXt2s SVz53/NqPM3D8O1hmzh1aJtsMdPqo8HtmfyAO+QM+M17DuTI4CZ5ZvKY6eb8ekY2 TG2EfmzB6FGoRbg/KcbqRWvzRai1hLOd9h4o7wDZGg+b+JryZpeNllJK1P3vj5iC AMtF3/Jk+8FLEZTJplTE94Z9EcGGa4m3a+2vN7ss/K4l1hq4loZmCFq8NKoZ9YAB fAanwqi2LoMGG+17dWtSEzjPyorKmjvQ+HtGwhanMRmW5ey+MabXRaToHJ6Xidc3 biXbFsYyL105kynW8SNdnT/8SN19KmQ6IWG5dlEXeaha48JVanOuAON98EwyTkxy brMuuSOrohDuGjUOsH4t9XR+DEzEz6iSCGhZhUXPbLiZLWt1tzw+4+gttFqJhgKi M1aqMloFCxUd2ZJ7mBrdN8gfic9JbV0B3fvne3/LCftchxh6WWyRlDUD2X9AbXhy tTpAdr8rV/cgWUPtKQXDHuowb1N5d9QAgLeqIN7Px+A8L7QeFZqsTQ7UQgdq+QhN AFbF5+okJ/m2vnLE/k8zO/mxonQrZcKl+aLiAHj/LEptql/NZAhxJEx4YRODrtK+ KvM56+88N+fIYcpinzXE2pDiENYNH1W3P2RONT0eouu6hQN1t9J0hIVtw7gK43w/ U9c5qgkI5l6+Ah2S9yfO =WgTB -----END PGP SIGNATURE----- --3XA6nns4nE4KvaS/--