Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unix Syntax Color schemes



Thanks Jason and Justin for your ideas.
Jason, you mentioned iterm, have you or anyone else tried to get eterm to work within Darwin????


On Mar 23, 2005, at 4:49 PM, Jason McIntosh wrote:

A few notes on this. First, I'd suggest looking at iTerm instead of terminal:
http://iterm.sourceforge.net/
it seems to be a vastly better terminal app with color and other support. For vim, to enable color support, it's more syntax support being turned on. In my ~/.vimrc I've got some of these options set:
syntax on
color pablo
set hlsearch
set ignorecase
set number


Second, in ~/.bashrc, which should be a link generally to ~/.bash_profile, I've done this:
alias ls='ls -al --color'
the --color options is what enables ls to do color listings. The only trick is I'm using a differently compiled version of ls (look at FinkCommander and fink to install GNU shell utilities).
Regards,
Jason


--
Jason McIntosh
http://poetshome.com/
573-424-7612
On Mar 23, 2005, at 2:53 PM, Derick Centeno wrote:

Hi Folks:
My question is in regards to Unix color syntax code. This is what I mean, in many versions of Linux and other versions of Unix, each user will find within a directory different colored items consistently indicating folders, files and so on. Also within a program such as vim it is possible to reset the use of the standard color scheme to something akin to one's personal taste and manner of working. One can for example write a dot file manipulating vim to produce line numbers and unique colors for functions in C or C++.


I'm sure everyone here, in this list is aware of what I'm referring to. Now to my question:
I notice that in OS X (v.10.3.8) this capability is not active. What is the sequence of commands I must use or invoke so that I can see such color syntax as I have described displayed with Terminal and within vim?


I'd appreciate any clues or ideas or even directions to other sites or mailing lists discussing this type of thing within Darwin.

Thanks for your assistance.

Sincerely, Derick Centeno

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/ email@hidden


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Unix Syntax Color schemes (From: Derick Centeno <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.