This is the mail archive of the
mailing list for the Cygwin project.
RE: Starting gvim from Windows
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 22 Jun 2006 18:01:31 +0100
- Subject: RE: Starting gvim from Windows
On 22 June 2006 17:36, Vicki Brown wrote:
> Neil Watson <cygwin <at> watson-wilson.ca> writes:
>>> And your DISPLAY environment variable is set to...?
>> Ah ha! I set my DISPLAY Windows variable to 127.0.0.1:0.0. Now it works.
>> Thank you.
> Well, that didn't work for me. :-(
> I can run the Windows GVIM but not the cygwin gvim (?)
> Cygwin shell. No X.
That'll be the problem then. Cygwin gvim is an X program.
> Trying to run gvim from the cygwin command line.
> DISPLAY: 127.0.0.1:0.0
Since the DISPLAY variable is meaningful only to X, setting this will have
no effect if you have no X.
> gvim: /usr/bin/gvim
> gvim: cannot open display (still)
That's because, although gvim now knows which display you want it to use,
you haven't actually created that display by starting up an X server.
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html