X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_RX,TW_TK,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CA2FDAD.8040100@ltu.se>
Date: Wed, 29 Sep 2010 10:49:49 +0200
From: Bengt-Arne Fjellner <Bengt-Arne.Fjellner@ltu.se>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: mintty window won't open
References: <4CA1C204.6090405@epfl.ch>	<4CA1C3EE.1030204@ece.cmu.edu>	<AANLkTinm7jU3yC7FM+bQyp6FzwYoYb+M8L524bzFXGu=@mail.gmail.com>	<4CA1EFC6.6030202@dronecode.org.uk> <AANLkTi=ukyqD=NRR=-eTX_vojsKbOVtenc0Ksv3fKfKr@mail.gmail.com>
In-Reply-To: <AANLkTi=ukyqD=NRR=-eTX_vojsKbOVtenc0Ksv3fKfKr@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

  On 2010-09-29 07:51 , Andy Koppe wrote:
> On 28 September 2010 14:38, Jon TURNEY wrote:
>> On 28/09/2010 13:18, Andy Koppe wrote:
>>> On 28 September 2010 11:31, Ryan Johnson wrote:
>>>>> I switched from rxvt to mintty yesterday, and it worked great all day.
>>>>> However, today when I try to open a new mintty window from within an
>>>>> existing one, nothing happens. The process starts, but no window
>>>>> appears. This happens when attempting to open both 0.8.3 and 0.9b2
>>>>> windows from a 0.9b2 window. The broken window also does the same thing
>>>>> to tkdiff but is able to run xterm without problems.
>>>>>
>>>>> Oddly, using the shortcut from the start menu (0.8.3) still works, and
>>>>> any windows I fire up from it (including 0.9b2) work fine after that and
>>>>> can in turn fire up their own new instances.
>>>> I found the problem: the terminal was running an ssh session to
>>>> localhost.
>>> Ah yes, that would do it.
>> I think you can detect this situation (no access to the interactive desktop
>> or whatever is it called), if you wished to issue a suitable error message,
>> by checking that OpenInputDesktop() returns non-NULL...
> Good idea, and that does seem to do the job.
>
> Opening a window in that situation seems to work fine anyway though. I
> guess it goes to some hidden desktop. Can anyone think of a sensible
> use case for that, i.e. should I make this a warning rather than an
> error?
>
> Andy
>
I have a feeling it could be useful someway. Why not a command switch: 
--allow_null_desktop or something?


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

