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. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/