From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24964 invoked by alias); 13 Jun 2005 06:09:22 -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 24955 invoked by uid 22791); 13 Jun 2005 06:09:17 -0000 Received: from legolas.inter.net.il (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 13 Jun 2005 06:09:17 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-83-251.inter.net.il [80.230.83.251]) by legolas.inter.net.il (MOS 3.5.8-GR) with ESMTP id EPC15142 (AUTH halo1); Mon, 13 Jun 2005 09:09:09 +0300 (IDT) Date: Mon, 13 Jun 2005 06:09:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sources.redhat.com In-reply-to: <20050613030732.GE9288@nevyn.them.org> (message from Daniel Jacobowitz on Sun, 12 Jun 2005 23:07:32 -0400) Subject: Re: mi tty commands Reply-to: Eli Zaretskii References: <20050522210040.GB9231@white> <20050528230855.GE22435@nevyn.them.org> <20050529205435.GA11243@white> <20050601001440.GB15414@white> <20050601130653.GA17103@white> <20050601174149.GA17309@white> <20050602221644.GA21263@white> <20050613030732.GE9288@nevyn.them.org> X-SW-Source: 2005-06/txt/msg00148.txt.bz2 > Date: Sun, 12 Jun 2005 23:07:32 -0400 > From: Daniel Jacobowitz > > > @@ -2088,7 +2088,24 @@ > > > > When you use the @code{tty} command or redirect input in the @code{run} > > command, only the input @emph{for your program} is affected. The input > > -for @value{GDBN} still comes from your terminal. > > +for @value{GDBN} still comes from your terminal. @code{tty} is an alias > > +for @code{set inferior-tty}. > > + > > +@cindex inferior tty > > +@cindex set inferior controlling terminal > > +You can use the @code{show inferior-tty} command to tell @value{GDBN} to > > +display the name of the terminal that will be used for future runs of your > > +program. > > If we're going to make "tty" an alias for "set inferior-tty", should we > update the documentation to refer to "set inferior-tty" everywhere, > instead of continuing to suggest that users use "tty"? Yes. I thought of rewriting that section after these patches are committed.