X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=a9Sz0H5E49D9fozz99G9d17RVGUTeUw+Ue69kiu7DJ1CYRcu4ORKm fD/CmIY937FHOCYW/SZlm0OHbug+9msC7kh1lUenwEbS2eWTSrZRFmL3cBFlNgIO i7jHtweXZPdqw7kFuG+Izc/9bhFp8uWtb59qXGeBIl96s0uo34qQaY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=SIVBTHMSTeOSEtBi0vnJGjT1hxA=; b=AoRxq5D0k2Lve6e2/3fbDZ7GdJqB JK9HTVuQdyzCwPoUpKvLFtv222bMSLT7YAq+x8XBFSLUz2ttrVfxIOA24irA3dXj A5ksorkYhPKuG3Pb4ZTsm8Zz0QhiX3+On+CwRq7mnsO/cCE7hs5OT/IUr1XPctto V5J+/gJCrAlCD3c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Fri, 10 Jun 2016 12:02:25 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: stty icrnl Message-ID: <20160610100225.GE15058@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <87fusm6mog DOT fsf AT Rainer DOT invalid> <20160610083111 DOT GC15058 AT calimero DOT vinschen DOT de> <20160610104232 DOT 488C0330 DOT helmut DOT karlowski AT ish DOT 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) --3XA6nns4nE4KvaS/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" -----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/--