This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/commit/doco] move handing of "set interactive-mode" to gdb_has_a_terminal


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]