tags:

views:

177

answers:

2

Hi,

I am facing a weird problem. While browsing the C code of a project, the "Find this text string:" output results in a positive match, but the text is invisible [only the search results are invisible and not the menu]. The cursor moves up and down the list of results. Some of the lines are visible sometimes as you can see in the screen-shot below. I did try to change the background color [from black to white], removed any instance of cscope.out in the project folder, rebuilt the database.

The system is FC4. The cscope version in use is 15.7a.

Is this a known bug? Any solutions?

Screen-shots: The screen-shots are taken using Putty. Same behavior is seen on gnome-terminal, konsole.

http://img2.pict.com/05/11/00/2823072/0/cscope01.jpg

http://img2.pict.com/53/0e/38/2823075/0/cscope02.jpg

P.S: Also posted in ubuntu forums - http://ubuntuforums.org/showthread.php?t=1402448

+1  A: 

I'm seeing the same problem; incredibly annoying. Sometimes you can make the results visible by resizing the window (which causes a redraw, I assume).

I came here while searching for a solution. If I find one I'll post it.

Mattis
Thanks for the update. Looking forward for more inputs from you.
Shrinidhi
+1  A: 

Well, found the solution. The problem is with the format of the file. If the files have Ctrl+M at the end of the line, cscope will have issues with them.

Do a dos2unix conversion on all the test files in the directory. This should solve the problem.

:-)

Shrinidhi