From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27989 invoked by alias); 19 Jan 2011 23:56:57 -0000 Received: (qmail 27980 invoked by uid 22791); 19 Jan 2011 23:56:56 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Jan 2011 23:56:51 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PfhtN-00032g-QU; Wed, 19 Jan 2011 18:56:45 -0500 From: Eli Zaretskii To: Joel Brobecker CC: gdb-patches@sourceware.org In-reply-to: <20110119171223.GF11960@adacore.com> (message from Joel Brobecker on Wed, 19 Jan 2011 12:12:23 -0500) Subject: Re: [RFA/commit/doco] move handing of "set interactive-mode" to gdb_has_a_terminal Reply-to: Eli Zaretskii References: <1295394141-14863-1-git-send-email-brobecker@adacore.com> <20110119171223.GF11960@adacore.com> Message-Id: Date: Thu, 20 Jan 2011 00:46:00 -0000 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00422.txt.bz2 > Date: Wed, 19 Jan 2011 12:12:23 -0500 > From: Joel Brobecker > Cc: gdb-patches@sourceware.org > > > "Based on standard input settings" sounds vague and mysterious. What > > exactly does this mean? > > Basically, we test whether stdin is a terminal or not. How about: > > If @code{auto} (the default), @value{GDBN} guesses which mode to use, > based on whether @value{GDBN}'s standard input is a terminal. > > ? I would suggest If @code{auto} (the default), @value{GDBN} tries to determine whether its standard input is a terminal, and works in interactive-mode if it is, non-interactively otherwise. Okay with that change.