2002-09-09 Elena Zannoni <ezannoni@redhat.com>

From: Emmanuel Thome'  <thome@lix.polytechnique.fr>
	* top.c (init_main): Set rl_terminal_name.
This commit is contained in:
Elena Zannoni 2002-09-09 21:03:26 +00:00
parent cf57480a00
commit 7cb3ec5e73
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-09-09 Elena Zannoni <ezannoni@redhat.com>
From: Emmanuel Thome' <thome@lix.polytechnique.fr>
* top.c (init_main): Set rl_terminal_name.
2002-09-08 Aidan Skinner <aidan@velvet.net>
* ada-lang.c (ada_array_bound, ada_type_match,

View File

@ -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. */