is-cygwin-tty check
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Nov 12 13:23:00 GMT 2016
On Nov 12 16:07, Mihail Konev wrote:
> The first word was allowed to be [a-z0-9]* to allow for any future cygwin fork.
> Sticking to cygwin/msys.
>
> Now pipe name would be checked for being
>
> (cygwin|msys)-[a-z0-9]{16}-pty[0-9]+-(to|from)-master
>
> Should the "to-master-cyg" pipe be considered tty?
In theory those should be invisible to a native process but it
shoudn't hurt to handle them alike.
> Assuming that "master-ctl" and "echoloop" do not.
Right.
>
> Also, there are
Everything else is Cygwin-inside and handled by Cygwin's isatty.
> Should the "pty[0-9]+" be "pty[0-9]{1,4}" ?
Makes sense.
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-developers/attachments/20161112/9c520e78/attachment.sig>
More information about the Cygwin-developers
mailing list