From: Elena Zannoni Date: Mon, 9 Sep 2002 21:03:26 +0000 (+0000) Subject: 2002-09-09 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cb3ec5e738dd1d73d041066e68e2093fe2b7627;p=binutils-gdb.git 2002-09-09 Elena Zannoni From: Emmanuel Thome' * top.c (init_main): Set rl_terminal_name. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 24e04b8c9df..07c94123bc3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-09-09 Elena Zannoni + + From: Emmanuel Thome' + * top.c (init_main): Set rl_terminal_name. + 2002-09-08 Aidan Skinner * ada-lang.c (ada_array_bound, ada_type_match, diff --git a/gdb/top.c b/gdb/top.c index a2cee530c20..60c1bf9c3e0 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. */