From 7cb3ec5e738dd1d73d041066e68e2093fe2b7627 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Mon, 9 Sep 2002 21:03:26 +0000 Subject: 2002-09-09 Elena Zannoni From: Emmanuel Thome' * top.c (init_main): Set rl_terminal_name. --- gdb/top.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index a2cee53..60c1bf9 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1957,6 +1957,7 @@ init_main (void) get_gdb_completer_word_break_characters (); rl_completer_quote_characters = get_gdb_completer_quote_characters (); rl_readline_name = "gdb"; + rl_terminal_name = getenv ("TERM"); /* The name for this defun comes from Bash, where it originated. 15 is Control-o, the same binding this function has in Bash. */ -- cgit v1.1