Re: [Cgdb-users] key bindings
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bo...@br...> - 2004-08-18 21:24:37
|
On Wed, Aug 18, 2004 at 09:04:00PM +0000, James Lee wrote: > > Please try this, > > :set escdelay=3D10000 > > int the source window. Then, go into the GDB window and try the arrow > > keys. If it works correct now then I can explain the problem, if it > > doesn't work, then it is a different, probably worse problem. Please let > > me know. >=20 > Yes! It looks like setting this does make it work. > I guess that means that the program needs to wait > a bit longer to interpret the escape codes. >=20 > Thanks, learnt something new about cgdb today. Great! I'm glad to hear that's the problem. The other problem would have been much worse :) You should adjust the value to something reasonable. So that when you hit <ESC> to go the source window, you don't have to wait for ever. You could try it at say '60' and then move to '100' if that doesn't work. The value is in tenths of seconds I believe. You can start CGDB and type :help to get all of the options. Then search for escdelay to see a little documentation about it. On the other hand, you could just get used to hitting <esc><esc> in order to move to the source window. Anyways, once you get the value that you want, you should add it to your ~/.cgdb/cgdbrc file. Once you do that, you will not have to ever worry about it again. Thanks, Bob Rossi |