Tom> gdb's TUI mode has a special single-key keymap. Tom> It would be nice if users could add new bindings to this map.
Chet> Is it a prefixed map off one of the standard keymaps? If so, users can Chet> bind key sequences starting with that prefix. In my particular case, there is just a binding to install this keymap. This is done so that subsequent key presses use this keymap. This is the gdb TUI "single key" mode, see (info "(gdb) TUI Single Key Mode") Chet> What do you think would be the best functional interface for that? Chet> Something like rl_set_keymap_name (char *name, Keymap map)? Another Chet> interface? I think that seems reasonable. I can take a look at it. (BTW I have looked into the other addition I emailed about; it is quite tricky and I will send a longer email soon detailing the problems.) Tom _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
