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

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=Bwn7b/K5rPHXNrht
jac735ztjclUBpMJaHV9wUItscZKKptuZ+eJw40By08b8Mdx/7VZ0dEvwh4Kp/zO
5flI1MLzjATQrCIyzXAZ3q9sWpPvNsPCNPg8tCSLzWMgyqrApCIRi3/6ylp9PZHV
0DEjzkgOrJOKhHZdhsBM7CIjlJQ=
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=oqBnmcMCIznmcj38Ei1Ixn
/Ztdc=; b=HfX4v0yANMCzVALe77bZPgDvqm61ypFUga90YCwVwojWCjhPP6SvpE
D1JWnBTXRgrzHDtSAKp80K+2P8V/3gIe0KIFPJYjqsd4ClAScAMrJkFpBwAvnYKy
z9/09Rm1Ipqdmn0rYH2TdH6fKbcGvRCQNe+L1L4UifU3eOOp5JBqU=
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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*u:en-US, H*UA:en-US, H*u:5.1, opens
X-HELO: mail-oi1-f180.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=C91YBLHNqBOWktB74kiBDNtoixOn0zQJQBpkptKwvXo=; b=LuRCQLaqtO92RJ6hgsHDO/EOLXfwCIzX8ZmMUj2PwfIu9/86Waiz2TkcIStmmYwnya tRWjmtp3B57qjj0T1kyzWnXPntROCrJJ9RyFufBTLas+u05SJEojaGHwudVGEwA8M8TR g0p11bGPnIgjktJq6S/2QMjro8U0JD/XG32yft/DQioWc8bRbd5rm4hdWodXyKxd0Q+K dePaw1zpZjbG5CmIsWHY5p3NsWQCa6JwcnJvN+Jf3IqFvi1lV87bO0YIv44XrZMtTX2y 8mPkG/B3SISY55hv/baK18NJzXnkEArny3tdBxfER4Jani9RGUVehTMC4vbvXEk13kd+ Uivw==
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>
From: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com>
Openpgp: preference=signencrypt
Message-ID: <63aa80b6-5e37-9929-054a-7d852e0eed91@gmail.com>
Date: Tue, 17 Dec 2019 17:17:01 -0600
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
In-Reply-To: <b19c4598-4d09-1fde-adcf-8506967d7298@pdc.ca>

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
-- 
R.Berber


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