On Sat, Nov 12, 2016 at 12:06:02PM +0500, Mihail Konev wrote:
>
> Doing it through shared memory should be depenedent on cygwin headers
> (if reliable at all for not-a-cygwin-process-child).
>
Oh. We *are* cygwin-fork()-ed if running from a mintty ;)
But still this should be more cygwin-dependen
On Sat, Nov 12, 2016 at 06:34:54AM +0500, Mihail Konev wrote:
> On Fri, Nov 11, 2016 at 11:19:45AM -0500, Earnie wrote:
> > On 11/10/2016 5:43 PM, Mihail Konev wrote:
> > > Applications now could call iscygtty(STDIN_FILENO)
> > > in order to detect whether they are running from
> > > Cygwin/MSys te
On Fri, Nov 11, 2016 at 11:19:45AM -0500, Earnie wrote:
> On 11/10/2016 5:43 PM, Mihail Konev wrote:
> > Applications now could call iscygtty(STDIN_FILENO)
> > in order to detect whether they are running from
> > Cygwin/MSys terminal.
> >
>
> Should this be shared with Cygwin so that a similar fu
On 11/10/2016 5:43 PM, Mihail Konev wrote:
> Applications now could call iscygtty(STDIN_FILENO)
> in order to detect whether they are running from
> Cygwin/MSys terminal.
>
Should this be shared with Cygwin so that a similar function exists in
its C API?
--
Earnie
-
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/3