From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27182 invoked by alias); 25 Mar 2004 16:26:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27162 invoked from network); 25 Mar 2004 16:26:04 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 25 Mar 2004 16:26:04 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E88902B99; Thu, 25 Mar 2004 11:26:04 -0500 (EST) Message-ID: <4063081C.4010401@gnu.org> Date: Thu, 25 Mar 2004 16:26:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [6.1] TUI in doco? References: <4057859D.1020900@gnu.org> <405F5AF0.5040108@gnu.org> <9681-Tue23Mar2004214811+0200-eliz@elta.co.il> In-Reply-To: <9681-Tue23Mar2004214811+0200-eliz@elta.co.il> Content-Type: multipart/mixed; boundary="------------080504070001080502050605" X-SW-Source: 2004-03/txt/msg00619.txt.bz2 This is a multi-part message in MIME format. --------------080504070001080502050605 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1319 >>> Date: Mon, 22 Mar 2004 16:30:24 -0500 >>> From: Andrew Cagney >>> >>> The attached is hopefully getting there. > > > Thanks. My comments below. > > >>> I also noticed an inconsistency in its name. "Terminal User >>> Interface" is what HP use, it fixes that as well. > > > FWIW, the previous interpretation of TUI was better: it's a text-mode > UI; "terminal" doesn't necessarily imply "text-mode". Oh well... > > >>> +@pindex @code{gdbtui} > > > There's no need to use @code in @pindex entries, these entries are > automatically typeset in the same typeface as arguments of @code. I've removed this entry. That leaves just the entry pointing at the chapter proper. >>> +Activate the Terminal User Interface when starting. The Terminal User > > > The first occurence of "Terminal User Interface" would look better in > @dfn. Also, a @cindex entry for "Terminal User Interface" somewhere, > probably where you have an index entry for TUI, could be a good idea. Done (it's now text user interface). >>> +The TUI is enabled by invoking @value{GDBN} using either >>> +@pindex gdbtui >>> +@samp{gdbtui} or @samp{gdb -tui}. > > > This is the second time we have a @pindex entry about gdbtui; one of > them is redundant and should be removed, I think. Ok, see attached. Andrew --------------080504070001080502050605 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 3121 2004-03-22 Andrew Cagney * gdb.texinfo (TUI): Delete reference to --enable-tui. Mention "gdbtui". (Mode Options): Mention "gdbtui". (TUI): Rename chapter to "Terminal User Interface". Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.200 diff -u -r1.200 gdb.texinfo --- doc/gdb.texinfo 9 Mar 2004 16:16:35 -0000 1.200 +++ doc/gdb.texinfo 22 Mar 2004 21:27:30 -0000 @@ -142,7 +142,7 @@ * Configurations:: Configuration-specific information * Controlling GDB:: Controlling @value{GDBN} * Sequences:: Canned sequences of commands -* TUI:: @value{GDBN} Text User Interface +* TUI:: @value{GDBN} Terminal User Interface * Interpreters:: Command Interpreters * Emacs:: Using @value{GDBN} under @sc{gnu} Emacs * Annotations:: @value{GDBN}'s annotation interface. @@ -1112,12 +1112,14 @@ @c resolve the situation of these eventually @item -tui @cindex @code{--tui} -Activate the Terminal User Interface when starting. -The Terminal User Interface manages several text windows on the terminal, -showing source, assembly, registers and @value{GDBN} command outputs -(@pxref{TUI, ,@value{GDBN} Text User Interface}). -Do not use this option if you run @value{GDBN} from Emacs -(@pxref{Emacs, ,Using @value{GDBN} under @sc{gnu} Emacs}). +@pindex @code{gdbtui} +Activate the Terminal User Interface when starting. The Terminal User +Interface manages several text windows on the terminal, showing +source, assembly, registers and @value{GDBN} command outputs +(@pxref{TUI, ,@value{GDBN} Terminal User Interface}). Alternatively, +the Terminal User Interface can be enabled by invoking the program +@samp{gdbtui}. Do not use this option if you run @value{GDBN} from +Emacs (@pxref{Emacs, ,Using @value{GDBN} under @sc{gnu} Emacs}). @c @item -xdb @c @cindex @code{--xdb} @@ -13886,7 +13888,7 @@ @value{GDBN} which support @sc{gdb/mi} version 2 (or greater). @node TUI -@chapter @value{GDBN} Text User Interface +@chapter @value{GDBN} Terminal User Interface @cindex TUI @menu @@ -13897,12 +13899,14 @@ * TUI Configuration:: TUI configuration variables @end menu -The @value{GDBN} Text User Interface, TUI in short, -is a terminal interface which uses the @code{curses} library -to show the source file, the assembly output, the program registers -and @value{GDBN} commands in separate text windows. -The TUI is available only when @value{GDBN} is configured -with the @code{--enable-tui} configure option (@pxref{Configure Options}). +The @value{GDBN} Terminal User Interface, TUI in short, is a terminal +interface which uses the @code{curses} library to show the source +file, the assembly output, the program registers and @value{GDBN} +commands in separate text windows. + +The TUI is enabled by invoking @value{GDBN} using either +@pindex gdbtui +@samp{gdbtui} or @samp{gdb -tui}. @node TUI Overview @section TUI overview --------------080504070001080502050605--