Re: [Cgdb-users] Color problem
Brought to you by:
bobbybrasko,
crouchingturbo
From: James L. <le...@al...> - 2004-04-07 05:38:22
|
Mike Mueller [mmu...@cs...] wrote: > This is unusual. First, you should know the current version only > supports black background terminals. We're currently rewriting to > get a more robust interface, which will eventually be 1.0, but this > is still a few months off. Yes, I know that. I will wait patiently for it. I use plain old gdb now, vidbg if I really want to see something, or even DDD on occasions. > Anyway, for the problem you're having, what kind of code are you > debugging? You said the source shows up in white on black, right? > If it is C, C++, or Ada, it should be syntax highlighted in very > eye-pleasing colors. :) Perhaps this is a bug in CGDB? Yes, I can see the syntax highlighting when TERM is set to a color terminal (xterm, xtermc, rxvt, etc). The program is in C/C++. But the problem I described is there from startup of cgdb. When TERM is set to vt100, then the source code is shown in white on black. However, there is no current line indicator. > Are you doing this over a telnet or rsh/ssh session? That also > throws some things into the mix, I believe... My local machine is Sun Sparc running solaris. I rlogin into the linux machines. I also tried to open an xterm from the linux machines back to the local machine and then work on that window. It has the same problem. I tend to do a lot of these remotely, so I believe when cgdb does work, I am going to like it. I went home and installed cgdb on my Debian linux machine, and it came up ok. However, I have no problems with mutt (which also shows color). Thanks for the reply. James. |