From: cgf AT bbc DOT com (Christopher Faylor) Subject: Re: rxvt and latest Ian's changes. 2 Feb 1998 11:38:48 -0800 Message-ID: References: <01BD2FFE DOT 50C15C90 AT gater DOT krystalbank DOT msk DOT ru> Reply-To: gnu-win32-developers AT cygnus DOT com To: cygwin32-developers AT cygnus DOT com In article <199802021727 DOT MAA11798 AT subrogation DOT cygnus DOT com>, Ian Lance Taylor wrote: >Unfortunately, this does not handle the case of the master opening the >pty, then a child opening the pty, and then closing the pty, and then >another child opening the pty. This works on Unix, but I do not know >how to make it work on Windows. I don't happen to know of any >programs that rely on this behaviour, but there may be some. I just took a look at the code again, and maybe I'm missing something, but is there any reason why the handles could not be handed back to the master when all of the slaves close the pty? The master would then have an extra couple of handles that may or may not ever be used again but if a child requests the pty it would be able to retrieve the handles. -- http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be."