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


> Date: Wed, 19 Jan 2011 12:12:23 -0500
> From: Joel Brobecker <brobecker@adacore.com>
> 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.


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