OBSOLETE Cygutils - Utilities for Cygwin

UP
Obsolete CygUtils Home
Obsolete V1.1 Home

vim-5.6

Notes:

Since the cygutils version of ncurses was obsoleted by a newer version of ncurses in the official cygwin distribution, this vim may break if you don't have the cygutils ncurses installed on your machine. There are a number of ways to fix this:

This vim differs from the "official" one included in the cygwin net release:

Builds out of box. This package is completely independent of X11 (unlike the vim-5.5 that I published previously).

Download:

vim-5.6-1-cygwin1.README

The following will build vim without any dependence on
X11 and without any kind of GUI - an old-fashioned 
terminal-based editor. If you do want to build with 
X support, the hint at the bottom of this file may 
be helpful.

unpack vim-5.6-src.tar.gz
unpack vim-5.6-rt.tar.gz
cd vim-5.6

CFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib \
./configure \
--prefix=/usr/local \
--host=i686-pc-cygwin \
--enable-gui=no \
--disable-gtktest \
--disable-gpm \
--without-x \
--with-tlib=ncurses

make
export SUFFIX=.exe
make install

Then, edit the file /usr/local/share/vim/vim56/syntax/synload.vim
to fix the colors. It should look like this: when you're done, 
starting around line 20.

if &background == "dark"
"  hi Comment	term=bold ctermfg=Cyan guifg=#80a0ff
"  hi Constant	term=underline ctermfg=Magenta guifg=#ffa0a0
"  hi Special	term=bold ctermfg=LightRed guifg=Orange
"  hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff
"  hi Statement	term=bold ctermfg=Yellow guifg=#ffff60 gui=bold
"  hi PreProc	term=underline ctermfg=LightBlue guifg=#ff80ff
"  hi Type	term=underline ctermfg=LightGreen guifg=#60ff60 gui=bold
"  hi Ignore	ctermfg=black guifg=bg
  hi Comment   term=bold ctermfg=Blue  guifg=#80a0ff
  hi Constant  term=underline ctermfg=Cyan guifg=#ffa0a0
  hi Special   term=bold ctermfg=LightRed guifg=Orange
  hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff
  hi Statement term=bold ctermfg=Yellow guifg=#ffff60 gui=bold
  hi PreProc   term=underline ctermfg=Magenta guifg=#ff80ff
  hi Type      term=underline ctermfg=Green guifg=#60ff60 gui=bold
  hi Ignore    ctermfg=black guifg=bg
else


---------------------------------------------------------------
When building with X support, make will fail at a certain point 
because the link libraries are in the wrong order. Just link 
by hand with the following command, and then restart the make.

gcc -L/usr/local/lib -o vim  buffer.o charset.o digraph.o edit.o eval.o ex_cmds.o ex_docmd.o ex_getln.o fileio.o getchar.o  if_cscope.o main.o mark.o memfile.o memline.o menu.o message.o misc1.o misc2.o multbyte.o normal.o ops.o option.o os_unix.o pathdef.o quickfix.o regexp.o screen.o search.o syntax.o  tag.o term.o ui.o undo.o window.o      version.o  -L/usr/X11R6/lib     -lXt -lICE -lSM -lX11  -lncurses


Obsolete V1.1 Home

Obsolete CygUtils Home

Last modified: Mon Nov 26 23:41:17 EST 2001 EOF