NAME: gvim VERSION: 6.2 RELEASE: 3 SUMMARY: VIsual editor iMproved DISTRIBUTION: Cygwin GNOME 2.x VENDOR: LICENSE: Charityware PACKAGER: Hansom Young GROUP: Editors OS: Cygwin ARCH: i586 SOURCE RPM: DESCRIPTION: VIM (VIsual editor iMproved) is an updated and improved version of the vi editor. Vi was the first real screen-based editor for UNIX, and is still very popular. VIM improves on vi by adding new features: multiple windows, multi-level undo, block highlighting and more. The vim-common package contains files which every VIM binary will need in order to run. . Gvim is a version of the VIM editor which will run within the X Window System. If you install this package, you can run VIM as an X application with a full GUI interface and mouse support. About this Cygwin port ----------------------- Built on cygwin-1.3.20-1, Win2000 Professional + SP3, with gcc-3.2-3, binutils-20030307, libtool-devel-20030216-1 and XFree86-4.2.0, ncurses-5.2-8, pkgconfig-0.15.0-1, libiconv-1.8-2, glib-1.2.10, gtk-1.2.10. Not yet tested on other configuration. In order to use this release, you need XFree86(=4.2.x), libncurse6, glib-1.2.10, gtk+-1.2.10. Package glib and gtk+ for Cygwin could be found from the Cygwin GNOME project: http://cygnome.sourceforge.net/install/release. If you're have XFree86 4.3.x installed, then you can try the gtk2 version of gvim-6.2. You can download it from the Cygwin GNOME 2.x project http://cygnome2.sourceforge.net/install/release. Note that gtk+-2.x needs glib2, atk, and pango. Also you need to install the vim package from the net release, as it contains the runtime files needed by gvim. Both package should have the same verson number(as for this, vim-6.2 is needed). I18n support was managed to achieve in this port: X_LOCALE, XIM and fontset support are enabled (fontset is enabled in GTK+-2). $ CFLAGS=-O2 ./configure --prefix=/opt/gnome2 --datadir=/usr/share \ --with-x --enable-xim --enable-multibyte --enable-gui=gtk --enable-fontset Build vim-6.2 for Cygwin with GUI support ----------------------------------------- vim is shipped with support for many X GUI toolkit, including gtk/gtk2/gnome/ gnome2/motif/athena/neXtaw/beos/photon. The vim provided by Cygwin net release was built without GUI support, thus you have to build it by your own. At the time when writing this doc, you can build vim with gtk/gtk2/gnome and lesstif (might work, but I didn't test it) on Cygwin. - unpack the source - configure To share the run-time data files with vim from Cygwin net release, you need to pass --datadir=/usr/share to configure script. And if you want to enable the multibyte editing support, a small modification to the configure script is needed, see the patch attached at bottom. $ ./configure --prefix=/opt/gnome --datadir=/usr/share --enable-gui=gtk - make - make install ---- cut here: to enable multibyte support -------------------------------- --- configure.orig 2003-06-01 21:42:40.000000000 +0800 +++ configure 2003-08-21 14:43:38.000000000 +0800 @@ -7261,7 +7261,8 @@ if test "$enable_multibyte" = "yes"; the ldflags_save=$LDFLAGS if test -n "$x_includes" ; then CFLAGS="$CFLAGS -I$x_includes" - LDFLAGS="$X_LIBS $LDFLAGS -lX11" + LDFLAGS="$LDFLAGS" + LIBS="$X_LIBS -lX11" echo $ac_n "checking whether X_LOCALE needed""... $ac_c" 1>&6 echo "configure:7267: checking whether X_LOCALE needed" >&5 cat > conftest.$ac_ext <