LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-27-2007, 05:06 AM   #1
amitpardesi
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 05:08 AM.
 
Old 09-30-2007, 04:42 PM   #2
ak_random
Member
 
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, 09:40 PM   #3
ringfjt
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
 
  


Reply



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 04:17 PM
How to enable color syntax when I start vim? ArthurHuang SUSE / openSUSE 5 01-26-2006 11:10 PM
VIM Color Syntax Highliting bsg Linux - Newbie 5 10-07-2005 08:31 PM
shell color syntax/highlighting on FC4 kz26 Linux - General 18 08-16-2005 10:07 PM
syntax highlighting/color FC4/vi overlord73 Fedora 3 07-15-2005 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:32 AM.

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