stty icrnl

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jun 10 14:39:00 GMT 2016


On Jun 10 10:42, Helmut Karlowski wrote:
> ---------------------------------------------------
> > Ideally by somebody who knows how this dreaded Windows serial line API
> > works...
> 
> Wouldn't someting like this work:
> 
> term=$'\r'
> l=
> while true; do read -N1 c
> [ "$c" == $'\4' ] && break
> [ "$c" == $term ] && { echo "<$l>"; l=; } || l="$l$c"
> done
> 
> ?

I was talking about coding icrnl support inside Cygwin.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160610/9fecc902/attachment.sig>


More information about the Cygwin mailing list