Re: [Cgdb-users] key bindings
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bob...@co...> - 2007-08-23 10:16:29
|
> On Sun, Aug 12, 2007 at 10:56:34PM -0400, Bob Rossi wrote: > > On Sat, Aug 11, 2007 at 11:36:25PM +0100, William Pursell wrote: > > Sorry for the delay in checking this. Although remapping > > cgdbmodekey works in this version, there is something wrong. > > The following key sequence causes cgdb to hang, and I'm having > > to SIGKILL it: > > > > set args foo<esc>bc > > > > Many of the readline commands work as expected (I've > > checked: xhjklAaIifFtTbwBW), but 'c' and 'd' are locking > > it up; it looks like rl_callback_read_char() is never > > returning. > > Aaaa, I see. That's to bad. I'll try to reproduce this behavior, but it > seems that readline is probably not honoring the callback interface. > I've had this happen before and hat to patch readline, which is why > cgdb depends on a fairly recent version of readline. > > If this is true, I'll have to talk with the readline maintainer about > fixing this problem. He's on vacation for another 2 weeks, afaik. If we > get a fix, you'll have to build the modified readline with cgdb to > verify that it works. If this is the issue, it'll probably be a few > months before readline is releaesd, and cgdb works with an official > version. In the long run though, it's probably worth it. Just so you know, I did verify that this was a readline bug. I'm still waiting for a response from the readline maintainer. In the event that you have more time than him, you could always modify readline and send in a patch. Bob Rossi |