X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: Starting gvim from Windows Date: Thu, 22 Jun 2006 18:01:31 +0100 Message-ID: <008601c6961d$831d6ec0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 22 June 2006 17:36, Vicki Brown wrote: > Neil Watson 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/