Index: tui-hooks.c =================================================================== RCS file: /cvs/src/src/gdb/tui/tui-hooks.c,v retrieving revision 1.7.2.1 diff -u -p -r1.7.2.1 tui-hooks.c --- tui-hooks.c 10 Sep 2002 20:00:55 -0000 1.7.2.1 +++ tui-hooks.c 21 Nov 2002 21:13:02 -0000 @@ -420,6 +420,10 @@ tui_event_loop (void) static void tui_init_hook (char *argv0) { + /* Don't enable the TUI if a specific interpreter is installed. */ + if (interpreter_p) + return; + /* Install exit handler to leave the screen in a good shape. */ atexit (tui_exit);