delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/17/19:55:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=U7+o5s9IFAXkUTnS
tI5xBUw5t6Z40hwtbqvVRI5Fmw3tzXWNcJVO4rJEaXhMX1+O5epspaBcYfnlDZXM
TRiZjfKnF/zgQqzMrUvyoAalj6sUFzsNiNoTwlka9d2KU7NvzNVMkRza1yKokbqg
ZpSh5KA9t2aAtcSo9drDMULI7Tw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=8Ak0SADGarlX2j/7h6voBa
16X30=; b=M/Vck+LtHTDy4BfGRps/LlpgL7ku7pP7GDQHGw++bNXVtPsytQoGdm
ccMmcX9Y5QpR5pnwgutRSmcvTSjsRfEyGq1UnmFpTVZChLiqNJsfSXUpzpyghKtA
fdrd/uXQIOBjb1u1zpPCWJCRFbCeMUgh6Q6GDUJAyBPptALtMSYwg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=installer, click
X-HELO: relay0229.mxlogin.com
From: Brent Epp <brent AT pdc DOT ca>
Subject: Re: mintty window flashes open and immediately closes
To: cygwin AT cygwin DOT com
References: <b19c4598-4d09-1fde-adcf-8506967d7298 AT pdc DOT ca> <63aa80b6-5e37-9929-054a-7d852e0eed91 AT gmail DOT com> <00820caa-c15d-6197-24da-fae1780fc560 AT pdc DOT ca>
X-Tagtoolbar-Keys: D20191217185504819
Message-ID: <980c2aad-fb2a-b2cc-ac6c-c9072e1d4b1a@pdc.ca>
Date: Tue, 17 Dec 2019 18:55:04 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0
MIME-Version: 1.0
In-Reply-To: <00820caa-c15d-6197-24da-fae1780fc560@pdc.ca>
X-AuthUser: brent AT pdc DOT ca
X-IsSubscribed: yes

This is interesting: I have a backup copy of my cygwin installation from 
2 days ago.  I restored it to another folder, made a shortcut... and it 
works.

I'll have to run some diffs to double-check, but I'm pretty certain the 
only thing that's changed in the past two days is that I ran the latest 
installer today to update.

  - Brent

On 2019-12-17 17:36, Brent Epp wrote:
> Thanks, I should mention, I did try disabling my .bashrc file and 
> actually my entire user directory... still didn't work.
>
> Also, mintty tells me neither of those options are valid? These are 
> the options it tells me are available: https://i.imgur.com/vyMG9t6.png
>
> Also, just a correction to my original email, the shortcut was 
> actually:`...mintty.exe -i /Cygwin-Terminal.ico -`
>
> The shortcut I previously stated was something I had done as a 
> troubleshooting step and then pasted it into the email by mistake.
>
>  - Brent
>
> On 2019-12-17 17:17, René Berber wrote:
>> On 12/17/2019 2:58 PM, Brent Epp wrote:
>>
>>> I've been using cygwin for years with no problems.  I just updated
>>> cygwin again and I suddenly can't get into the terminal. When I click
>>> the cygwin icon, the window just flashes and immediately closes.
>>>
>>> What's interesting is that I have a number of cygwin/mintty shortcuts
>>> for SSH servers as `c:\path\to\cygwin\bin\mintty.exe /bin/ssh
>>> user AT server DOT com`, which work just fine. I can also get in if I run
>>> `cygwin.bat` in `cmd`, `console2` or any other Windows command 
>>> terminal.
>>>
>>> I've tried running the latest cygwin setup, reinstalling `mintty`, and
>>> the shortcut still fails. The shortcut is just the default target:
>>> `C:\path\to\cygwin\bin\mintty.exe /bin/bash --login -i`
>>>
>>> I don't know what else to try.  What happened here and how do I fix 
>>> this?
>> Probably a problem with your bash init scripts.
>>
>> Try (for the shortcut): C:\cygwin64\bin\mintty.exe --noprofile --norc -
>>
>> If that works, then start spelunking those init files (.bashrc,
>> .profile, /etc/{profile,bash.bashrc}).
>>
>> BTW you don't need to call bash in the shortcut, mintty by default opens
>> bash with those parameters; but the "-" at the end is required.
>>
>> HTH
>
>
> -- 
> 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
>
>


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019