Re: Unix Syntax Color schemes
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com setenv LSCOLORS "ExGxFxdxCxDxDxabagacad" On Mar 23, 2005, at 5:30 PM, Aaron Jackson wrote: On Mar 23, 2005, at 3:53 PM, Derick Centeno wrote: setenv TERM xterm-color alias ls "ls -G" set listchars=tab:\|\ set wildchar=<Tab> set background=light set tabstop=4 set ruler set showmode syntax on set autoindent set nomesg set showmatch set mps+=<:> set matchtime=1 au FileType fortran set textwidth=72 au FileType c set cindent " ShowIndent Mode On/Off map <F2> :call ShowIndent_on_off()<CR> let indent_mode = 0 func! ShowIndent_on_off() if g:indent_mode == 0 set list let g:indent_mode = 1 else set nolist let g:indent_mode = 0 endif return endfunc " ShowNumbers Mode On/Off map <F3> :call ShowNumbers_on_off()<CR> let number_mode = 0 func! ShowNumbers_on_off() if g:number_mode == 0 set number let g:number_mode = 1 else set nonumber let g:number_mode = 0 endif return endfunc set pastetoggle=<F4> Aaron This email sent to jackson@msrce.howard.edu _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... You might also want to set the following in your .tcshrc file to make ls look more like gnu ls: 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. For color ls and color vim you need to change your terminal type. The default vt100 does not show colors. I use tcsh still, so in my ~/.tcshrc I put the following: That will give you color output for the ls command. For vim I have the following in my ~/.vimrc file: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ jackson%40msrce.howard.edu This email sent to site_archiver@lists.apple.com
participants (1)
-
Aaron Jackson