Re: [Cgdb-users] key bindings
Brought to you by:
bobbybrasko,
crouchingturbo
From: Peter K. <pe...@ko...> - 2004-08-18 12:21:04
|
On Wed, Aug 18, 2004 at 01:35:22AM -0400, Mike Mueller wrote: > > 2. I can't seem to get vi mode in readline in cgdb. Is it > > allowed? It works in plain gdb. >=20 > I just realized this will not work because CGDB catches <ESC> and does its > own thing, so you'll never be able to send <ESC> to gdb/readline. Our > current use of ESC/i makes it impossible... >=20 > Thinking about this more generally, if we do what we plan on doing, which > is that ESC/i does the 'normal' vi command/insert mode switching (but > doesn't change the focused window), readline's vi-mode won't work either.= =20 > In either case, we're snagging the <ESC> key before you can send it to > gdb. Isn't that going to be true no matter what your escape key is? Perhaps you need a meta escape key, like Ctrl-V. If you want to actually send an escape to the debugged process, you do a <ctrl-v><esc>, or something like that. - Peter --=20 Peter D. Kovacs <pe...@ko...> |