Hi,
[ I sent the following message yesterday, but it did not seem to get
through. Sorry for the duplicates if any. ]
People might want to make cgdb-specific customizations in their
~/.inputrc files.
For example, a possible snippet of ~/.inputrc:
$if cgdb
"\C-p": history-search-backward
"\C-n": history-search-backward
$endif
A small patch to do that:
$ diff -ub ./various/rline/src/rline.c.old ./various/rline/src/rline.c
--- ./various/rline/src/rline.c.old 2008-09-26 01:57:43.000000000 -0400
+++ ./various/rline/src/rline.c 2008-09-26 03:23:13.000000000 -0400
@@ -96,6 +96,7 @@
rline->rline_rl_last_func = NULL;
rline->rline_rl_completion_query_items = rl_completion_query_items;
+ rl_readline_name = "cgdb";
rl_instream = rline->input;
rl_outstream = rline->output;
Best regards,
Kuang He
|