>
> On Tue, May 22, 2001 at 11:10:03PM +0400, Andrej Borsenkow wrote:
> >Christopher Faylor wrote:
> >>On Tue, May 22, 2001 at 07:53:28PM +0400, Andrej Borsenkow wrote:
> >>
> >>>This release fixed a problem we had with zsh tests that were using pty.
> >>>Thank you.
> >>>
> >>
> >>Huh. Interesting. Was this the problem with O_NOCTTY? I am surprised
> >>that this would actually work correctly.
> >>
> >
> >
> >No. O_NOCTTY was internally fixed by not using it on Cygwin :-)
>
> Oh. Ok. I still plan on investigating this behavior at some point. It
> would be interesting to see if there was any difference in behavior if
> you reinstated the O_NOCTTY test because there is now code in cygwin
> that makes an attempt to do the right thing although I'm not sure that
> it is 100% correct.
>
No, it is the same. Processes are still started without ctty:
(tty0)% ps
PID PPID PGID WINPID TTY UID STIME COMMAND
1524 1 1524 1524 1 11006 17:25:13 /usr/bin/zsh
1828 1524 1828 1464 1 11006 18:05:34 /usr/bin/make
1488 1 1488 1488 0 11006 18:05:36 /usr/bin/zsh
1928 1828 1828 1320 1 11006 18:05:38 /usr/bin/sh
1196 1928 1828 1792 1 11006 18:05:38 /usr/bin/make
1412 1196 1828 1860 1 11006 18:06:47 /usr/bin/sh
1832 1412 1828 1780 1 11006 18:06:47
/tools/build/zsh/Src/zsh
S 2000 1832 2000 2000 ? 11006 18:06:59
/tools/build/zsh/Src/zsh
S 1484 2000 2000 1980 ? 11006 18:06:59
/tools/build/zsh/Src/zsh
1760 1488 1760 1868 0 11006 18:07:13 /usr/bin/ps
-andrej
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple