public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA/commit/doco] move handing of "set interactive-mode" to gdb_has_a_terminal
Date: Wed, 19 Jan 2011 17:27:00 -0000	[thread overview]
Message-ID: <20110119171223.GF11960@adacore.com> (raw)
In-Reply-To: <E1PfZVX-0005SF-MH@fencepost.gnu.org>

> > I feel that the name of the setting isn't great, and I've been trying
> > to find better names, but not much luck (the best I have, I feel, is
> > "set/show terminal-mode [on|off|auto]).
> 
> I see nothing wrong with "set interactive-mode", maybe because I'm
> accustomed to this term in Emacs.

So maybe the name isn't so bad, after all.  Changing it is a bit of
a pain in terms of transitioning from one name to the next, so that's
another argument in favor of keeping the current one.

> >  If @code{auto} (the default), @value{GDBN} guesses which mode to use,
> > -based on whether the debugger was started in a terminal or not.
> > +based on standard input settings.
> 
> "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.

?

Thanks,
-- 
Joel

  reply	other threads:[~2011-01-19 17:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 23:42 Joel Brobecker
2011-01-19 15:01 ` Eli Zaretskii
2011-01-19 17:27   ` Joel Brobecker [this message]
2011-01-20  0:46     ` Eli Zaretskii
2011-01-21 19:48 ` Joel Brobecker
2011-01-26 15:21   ` Pierre Muller
2011-01-31  3:15     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110119171223.GF11960@adacore.com \
    --to=brobecker@adacore.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).