delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/26/13:14:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <416096c60903251750p481e924ep6d579fc8353c96d5@mail.gmail.com>
References: <416096c60903250053x298d233ds9a92cf22f3981139 AT mail DOT gmail DOT com> <17f020130903251402k2a76317cy6b04603064e89160 AT mail DOT gmail DOT com> <416096c60903251750p481e924ep6d579fc8353c96d5 AT mail DOT gmail DOT com>
Date: Thu, 26 Mar 2009 14:13:43 -0400
Message-ID: <17393e3e0903261113n6dffac99p3b4910ca93f192f0@mail.gmail.com>
Subject: Re: MinTTY 0.4-alpha1
From: Matt Wozniski <godlygeek AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, Mar 25, 2009 at 8:50 PM, Andy Koppe wrote:
> Frank Fesevur:
>> An minor option I would like is to always close MinTTY, even when bash
>> exits with status code. Now I need to press for instance the enter key
>> to close MinTTY after I pressed Ctrl+D and I have pressed Ctrl+C at
>> least once.
>
> Any successfully executed command will clear the exit status, but yep,
> I see what you mean. This feature was intended for invoking programs
> such as ssh or telnet, or perhaps a script, where you'd want to see
> the output if there's an error. Admittedly though, it's little use
> with the standard case of a shell session.
>
> So how about disabling this by default, and having a command line
> option for activating it might be necessary? Suggestions for the name
> of such an option welcome. ("--keep-open-on-error" is the best I could
> come up with so far, but that's a bit on the unsnappy side.)

FWIW, xterm uses "-hold"

~Matt

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

- Raw text -


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