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] |
Hi Mihail, On Nov 12 07:34, Mihail Konev wrote: > On Sat, Nov 12, 2016 at 07:21:07AM +0500, Mihail Konev wrote: > > > > Is the check correct? > > > > In particular, should it put any restrictions > > on what is before and after the -pty%d- (slashes, non-[-a-z0-9] ?) > > > > A spare question ... > > fhandler_tty.cc says it all: > \Device\NamedPipe\[a-z0-9]+-[a-z0-9]+-pty[0-9]+-[-a-z0-9]+ That looks a bit too open for my taste. I attached a proposal for an isatty(3) replacement I proposed to a customer a couple years ago. Hope that helps. Feel free to discuss it further on this list. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
isatty-for-native-apps.c
Description: Text document
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] |