X-Recipient: archive-cygwin@delorie.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@mail.gmail.com> 	 <17f020130903251402k2a76317cy6b04603064e89160@mail.gmail.com> 	 <416096c60903251750p481e924ep6d579fc8353c96d5@mail.gmail.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@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

