delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/17/18:37:21

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=n6e9n+pZv25HdPxz
qbT+skI860/YiJjvPDRSz2QryPnAIk9roYnPqItok6YT+ABbtHEzKUWoNEEo+vzo
3+xh18g5BDy4o6oFjntrQdKhkSUKzxOaLNnq/wzsk+Q8M7kN8WA80VJR2cEQBZHS
mTiatOUMBhF8d/P0Yicuu4rLZzo=
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=Q6yjVJem613rNdFysnRkqJ
42HMk=; b=urNLlwYY9WctJPicPkgsCCoetbvo0uQvG29w1WUBHV25rI38o/9b1c
argQHeLt7QRT8rPdGIChZ5P6g3VFOSDMMBIFrxBw71NZjkB9n4iCcWMSvxNldKd4
yEiyX28TGL2GC9wcX+jwxY79biah3zQkpVCUBGxoi+MlXNj/rhKrs=
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.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:ZoneMTA, H*r:001, click, UD:png
X-HELO: q2relay18.mxroute.com
X-Zone-Loop: 07eba196b296e3b544daf261e25bab9bdf257aa68882
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>
X-Tagtoolbar-Keys: D20191217173622157
Message-ID: <00820caa-c15d-6197-24da-fae1780fc560@pdc.ca>
Date: Tue, 17 Dec 2019 17:36:22 -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: <63aa80b6-5e37-9929-054a-7d852e0eed91@gmail.com>
X-AuthUser: brent AT pdc DOT ca
X-IsSubscribed: yes

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

- Raw text -


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