delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/29/02:12:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A485B43.3020208@tlinx.org>
Date: Sun, 28 Jun 2009 23:12:19 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gvim crashes immediately
References: <24228254 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <24228254.post@talk.nabble.com>
X-Stationery: 0.4.9
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Yanroy wrote:
> Hi all... the subject line pretty much says it all.  I've installed Cygwin
> and Cygwin/X.  The X server appears to work correctly.  XTerm runs fine. 
> All the command-line apps work great.  When I launch gvim, it spins for a
> moment and then crashes with an access violation.
---
	Any reason not to run the Win32-Gvim native client?  It knows
about the win environment, you can use the same .vimrc and .vim dirs --
just hard link the .vimrc to _vimrc and use linkd (dunno about recent,
but was in the Win2000,XP,2003 Resource Kits -- they are usually able to
be downloaded for free) to link vimfiles & .vim (syntax is backward of ln, 
so linkd newname existingdir).
	The native version understands using "/" as a path separator
and if a file already has unix-line endings, it keeps them (new files
use CRLF by default, though there's probably some setting...).
	Unless you are attached to the X version -- 
and using the native version, of course, does nothing to uncover why the
X version is crashing....

	But if your desire is simply to use Graphical VIM, it should
be transparent, unless you have cygwin installed someplace other than
the root directory, then to edit files below your cygwin root you'll have
to prepend your chosen cygwin prefix.

	At one point, I had links setup to have the native and 
linux versions using the same "VIMRUNTIME" dir, but when versions got out
of sync, I had to split them.

	If you put your cygwin at root, it is convenient to
move your WIN-home dirs to /home (instead of documents & settings) -- also
"Prog" instead of "Program Files", but if you don't like messing with
the registry you can probably get the same effect using "linkd" mentioned
above.   Note, linkd can confuse 'find' if you create circular directory
chains...




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019