Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com To: egor duda Subject: Re: rxvt pops up console with 2001-Aug-07 shapshot References: <20010822132051 DOT L17561 AT cygbert DOT vinschen DOT de> <13659276735 DOT 20010822154753 AT logos-m DOT ru> <13266469788 DOT 20010822174746 AT logos-m DOT ru> <4268681989 DOT 20010822182438 AT logos-m DOT ru> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 23 Aug 2001 04:29:21 +0900 In-Reply-To: egor duda's message of Wed, 22 Aug 2001 18:24:38 +0400 Message-ID: Lines: 21 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Wed, 22 Aug 2001 18:24:38 +0400 >>> egor duda said: > but i think if we change > FreeConsole() to ShowWindow (hConsole, SW_HIDE); it will look > identical on the screen. no? No. FreeConsole() doesn't destroy the console window but detach the process from the window. It destroys the window only when there is no process attached with it. When we execute sshd on bash, my patch detach sshd from the console window attached with bash. The window will remains until bash terminates. I'm afraid that it would hide the window before bash terminates if we use ShowWindow(hConsole, SW_HIDE) instead of FreeConsole(). ____ | AIST Kazuhiro Fujieda | HOKURIKU Center for Information Science o_/ 1990 Japan Advanced Institute of Science and Technology