Cscope problem - Invisible search results

I got a strange problem. When viewing the C code of the project, the output "Find this text string:" leads to a positive match, but the text is invisible [only the search results are invisible, not the menu]. The cursor moves up and down the list of results. Some of the lines are sometimes visible, as you can see in the screenshot below. I tried to change the background color [from black to white], deleting any instance of cscope.out in the project folder, restored the database.

FC4 system. The cscope version used is 15.7a.

Is this a known bug? Any solutions?

Screenshots: Screen shots are taken using Putty. The same behavior is observed 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

PS: Also posted on ubuntu forums - http://ubuntuforums.org/showthread.php?t=1402448

+3
source share
3 answers

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

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

:-)

+5
source

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

I came here looking for a solution. If I find it, I will send it.

+1
source

Centos, cscope .vimrc. , .vimrc ~/.vim/plugin/cscope_maps.vim

i .vimrc, :

"if has ('cscope')" install cscopetag cscopeverbose

"if has ('quickfix')" set cscopequickfix = s-, c-, d-, i-, t-, e- "endif

"cnoreabbrev csa cs add" cnoreabbrev csf cs find "cnoreabbrev csk cs kill" cnoreabbrev csr cs reset "cnoreabbrev css cs show" cnoreabbrev csh cs help

"ENDIF

0
source

Source: https://habr.com/ru/post/1731993/


All Articles