Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: More robust color terminal Date: Fri, 24 Jun 2005 13:23:06 -0400 Message-ID: From: "Reid Thompson" To: , "Laran Evans" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j5OHNHvv024326 > Alternatively, you could compile (and, hopefully, contribute) gvim. > :-) Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu > ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > "The Sun will pass between the Earth and the Moon tonight for a total > Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT vim6.3 compiles ootb for X. $ ls -lrt /usr/local/bin/*vim* lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Dec 16 2004 /usr/local/bin/gvim -> vim.exe lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Dec 16 2004 /usr/local/bin/evim -> vim.exe lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Dec 16 2004 /usr/local/bin/gvimdiff -> vim.exe lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Mar 3 08:27 /usr/local/bin/vimdiff -> vim.exe -rwxr-xr-x 1 Reid.Thompson Domain Users 1273856 Jun 13 12:01 /usr/local/bin/vim.exe -rwxr-xr-x 1 Reid.Thompson Domain Users 1600 Jun 13 12:02 /usr/local/bin/vimtutor not the cleanest way to handle it i'm sure, but..... in .bashrc ( i have both cygwin compiled *vim and native *vim on my machine, if X is running, use cygwin gvim, else use native gvim, or use 'vim' instead of 'vi' from command line to get non-gui) HAVEX=`ps -ef | grep XWin` if [ "$HAVEX" != "" ] then HAVEX=1 export HAVEX fi alias vi='dovi' function dovi { if [ ! $HAVEX ] then if [ "$1" != "" ] then value=`cygpath -w $*` /C/Vim/vim62/gvim $value else /C/Vim/vim62/gvim $* fi else if [ "$1" != "" ] then value=`cygpath -w $*` /usr/local/bin/gvim $value else /usr/local/bin/gvim $* fi fi } reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/