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: fix in features/Makefile


On Sun, Aug 24, 2008 at 10:03:11PM -0600, Tom Tromey wrote:
> >>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> 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


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