From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4149 invoked by alias); 25 Aug 2008 12:12:58 -0000 Received: (qmail 4140 invoked by uid 22791); 25 Aug 2008 12:12:57 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Aug 2008 12:12:07 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id BD03E981F0; Mon, 25 Aug 2008 12:12:03 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 25A8B98015; Mon, 25 Aug 2008 12:12:02 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KXavR-0007Ex-MR; Mon, 25 Aug 2008 08:12:01 -0400 Date: Mon, 25 Aug 2008 12:12:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: RFA: fix in features/Makefile Message-ID: <20080825121201.GA17122@caradoc.them.org> Mail-Followup-To: Tom Tromey , gdb-patches@sourceware.org References: <20080824223751.GB7324@caradoc.them.org> <20080825023538.GA20039@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00610.txt.bz2 On Sun, Aug 24, 2008 at 10:03:11PM -0600, Tom Tromey wrote: > >>>>> "Daniel" == Daniel Jacobowitz writes: > > Daniel> stdout isn't a tty... dubious we should be doing this if it is. I'm > Daniel> not sure why you get tui here, though, I don't think I do. Do you > Daniel> have the gdbtui binary installed as gdb? > > I passed the full path to the just-built gdb to make. > > I looked at config.status and I didn't pass any argument to configure > that would affect this. I believe my build takes the enable_tui=auto > branch and then finds all the prereqs. So, I think this could affect > anybody, depending on what devel packages they have installed. Huh, you're right. I get tui_init called too. Ah, it's _rl_term_mm. If your terminal has a meta character enable sequence it will be output by tputs (smm/rmm). Some versions of xterm do. Guess we shouldn't be initializing readline when stdout / stderr are not a terminal... -- Daniel Jacobowitz CodeSourcery