X-Spam-Check-By: sourceware.org
Message-ID: <43BDE61E.1000103@cygwin.com>
Date: Thu, 05 Jan 2006 22:38:06 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: services not starting with 20060104 snapshot
References: <BAY108-F66824337AB6F827402541B52E0@phx.gbl> <Pine.GSO.4.63.0601051511000.24200@slinky.cs.nyu.edu> <20060105203241.GA26305@trixie.casa.cgf.cx> <Pine.GSO.4.63.0601051605430.5388@slinky.cs.nyu.edu> <43BDB8B0.8070600@cygwin.com> <20060106005917.GA1937@trixie.casa.cgf.cx> <43BDC7E5.1070809@cygwin.com> <20060106015259.GC1937@trixie.casa.cgf.cx> <43BDCFCC.2090305@cygwin.com> <20060106023407.GE1937@trixie.casa.cgf.cx> <20060106025531.GG1937@trixie.casa.cgf.cx> <43BDE36A.9000903@cygwin.com>
In-Reply-To: <43BDE36A.9000903@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Larry Hall (Cygwin) wrote:
> Christopher Faylor wrote:
> 
>> On Thu, Jan 05, 2006 at 09:34:07PM -0500, Christopher Faylor wrote:
>>
>>> That was supposed to fix the problem of console windows appearing 
>>> when the
>>> service is allowed to interact with the desktop.
>>
>>
>>
>> Does this do anything, Larry?
>>
>> cgf
>>
>> Index: fhandler_console.cc
>> ===================================================================
>> RCS file: /cvs/uberbaum/winsup/cygwin/fhandler_console.cc,v
>> retrieving revision 1.155
>> diff -u -p -r1.155 fhandler_console.cc
>> --- fhandler_console.cc    5 Jan 2006 16:26:22 -0000    1.155
>> +++ fhandler_console.cc    6 Jan 2006 02:54:56 -0000
>> @@ -146,7 +146,7 @@ tty_list::get_tty (int n)
>>  void __stdcall
>>  set_console_state_for_spawn (bool noncygwin_process)
>>  {
>> -  if (noncygwin_process && fhandler_console::need_invisible ())
>> +  if ((1 || noncygwin_process) && fhandler_console::need_invisible ())
>>      return;
>>  
> 
> 
> OK, stupid question but why do we want this part?  For me, reverting this
> change allows me to start sshd and get output from 'ssh localhost date'.
> I guess I should be trying to reproduce the console window problem to
> answer the above...

Yeah, stupid question.  Never mind.  I see... But wait, now it all seems
to work.  I guess this means that your patch Chris is a (confusing) success.
I'll bang on it a bit more to see if I can convince myself I didn't see
the ssh output failure the first time around...

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

