This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is-cygwin-tty check


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]