delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/18/02:30:56

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=er/wJOk5XU3ZWnCP
vJVwcrxC00ze+zKihLkokhgrp7VboYszCBsGN2oouY8w4YG7S0ItFzmQKo8z72r6
rQZB2IQqXnj0nxvXuRua0oX5hd0esHblv8knOgHoTE906pteDh4tta31E/ZUTE5h
5bE9lhEB7mNK6YVt5VFUnHyOz5w=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=RbOJvjWtBhBIMi0nLUBLR/
tGqi4=; b=m0d8LGvRmQdy7fxsUm0wSv5vWUS6N7NDrGqaWLCYPwIHvbysr1vudC
BzruaMjTj11Tr9T4nwLYaGILzTFxlG4DaUrMKF/3qaFIn7qTikFNxfbrKF1qpPcg
V6vTF1vtow+9SevdCHWAa3aqzrvQx2YZJcz4mcMHAo3vqIgjkCZik=
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=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=18.12.2019, 18122019, click
X-HELO: mout.kundenserver.de
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> <980c2aad-fb2a-b2cc-ac6c-c9072e1d4b1a AT pdc DOT ca>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <564a6053-798d-f0df-c967-816a60d4ed98@towo.net>
Date: Wed, 18 Dec 2019 08:28:58 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <980c2aad-fb2a-b2cc-ac6c-c9072e1d4b1a@pdc.ca>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Am 18.12.2019 um 01:55 schrieb Brent Epp:
> 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.
Which packages did you update? What are the versions, in the working 
previous version, of cygwin, mintty, and perhaps bash?

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


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