This is the mail archive of the gdb-patches@sources.redhat.com 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] |
I have committed the following. I think this should also be added to the 5.3 branch. Yes? After all we are going to merge readline in mainline really soon now, and it won't matter there, but the branch could use the fix.
Yes, definitly for 5.3 branch. Andrew
2002-09-09 Elena Zannoni <ezannoni@redhat.com>
From: Emmanuel Thome' <thome@lix.polytechnique.fr>
* top.c (init_main): Set rl_terminal_name.
Index: top.c
===================================================================
RCS file: /cvs/uberbaum/gdb/top.c,v
retrieving revision 1.66
diff -u -p -r1.66 top.c
--- top.c 18 Aug 2002 12:39:03 -0000 1.66
+++ top.c 9 Sep 2002 20:38:12 -0000
@@ -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. */
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |