The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Is there any way to make up arrow show last command in CSh? sayeo Shell Programming and Scripting 5 03-22-2008 11:33 AM
how to make text colorful in vi editor in fedora core 6 useless79 Linux 1 07-18-2007 07:19 AM
Unix ls to show full paths mr_bold UNIX for Dummies Questions & Answers 3 02-05-2007 07:58 PM
what command can show calendar in unix system? kennethchow UNIX for Dummies Questions & Answers 2 12-20-2005 05:17 AM
How would I make a find command NOT show the path of a file? LordJezo Shell Programming and Scripting 1 10-01-2004 07:01 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-07-2005
whatisthis's Avatar
whatisthis whatisthis is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 175
Unhappy how to make VI editor show colors in Unix

Hi,
I saw some people's vi editor show different colors on the text according the nature of text when using it.
It would be nice if I can see diffrerent colors with my vi editor.
Do anybody know how to set it up?
I use PowerTermPro program to access unix machine.
I tried to use vim editor but still not showing different color.

Thanks in advance.

Last edited by whatisthis; 02-07-2005 at 03:47 PM..
  #2 (permalink)  
Old 02-07-2005
Drewser Drewser is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 4
When using vim, you may need to add "syntax on" (or "syn on") in your $HOME/.vimrc file
to enable syntax coloring.
  #3 (permalink)  
Old 02-07-2005
whatisthis's Avatar
whatisthis whatisthis is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 175
It worked!

I just went to other people's home directory and copied the .vimrc file into my home directory and it worked!!
Thank you so much!
  #4 (permalink)  
Old 02-07-2005
Drewser Drewser is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 4
no problem at all, another thing I like is a color 'ls' command.

you can just alias your current ls command with 'ls --color=auto' in your .bashrc (for bash) or .cshrc for (csh) depending on what shell your using.
  #5 (permalink)  
Old 02-07-2005
gozer13's Avatar
gozer13 gozer13 is offline
Registered User
  
 

Join Date: Dec 2004
Location: Salt Lake City, Utah
Posts: 46
What would it be for a Solaris v8 ksh?
  #6 (permalink)  
Old 05-20-2006
rajlucky_raj rajlucky_raj is offline
Registered User
  
 

Join Date: May 2006
Location: INDIA
Posts: 5
you want to display text in deferent color?

you mean to display the text in different color.
  #7 (permalink)  
Old 05-20-2006
reborg's Avatar
reborg reborg is online now Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,240
Quote:
Originally Posted by gozer13
What would it be for a Solaris v8 ksh?
It would be not present.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0