Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-27-2007, 06:06 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 13

Rep: Reputation: 0
Question CScope with color syntax ON

Whenever you CScope and open any C/C++/Perl file it opens in plain B&W visual. If you open the same file directly from command prompt using vi, it will have appropriate color display of the code, syntax is set in the vimrc file.

Is there any way, where I can enable color syntax ON while opening a file from CScope?

My CScope RPM version is cscope-15.5-15.fc6.1 & VIm 7.0.109

Last edited by amitpardesi; 09-27-2007 at 06:08 AM.
Old 09-30-2007, 05:42 PM   #2
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Rep: Reputation: 15
I don't believe cscope is fancy enough to support terminal colors. Perhaps that's a wish list item for the future...?
Old 09-22-2011, 10:40 PM   #3
LQ Newbie
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Smile change default editor

default editor for cscope is vi, not vim, so
export CSCOPE_EDITOR=vim


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use vim has color syntax on ubuntu pk_kala Ubuntu 4 09-08-2007 05:17 PM
How to enable color syntax when I start vim? ArthurHuang SUSE / openSUSE 5 01-27-2006 12:10 AM
VIM Color Syntax Highliting bsg Linux - Newbie 5 10-07-2005 09:31 PM
shell color syntax/highlighting on FC4 kz26 Linux - General 18 08-16-2005 11:07 PM
syntax highlighting/color FC4/vi overlord73 Fedora 3 07-15-2005 04:48 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration