Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <5A1F6B8E14097144AF309F36A29327220F7205@iris.win.barra.com> From: Samir Gupta To: "'cygwin AT cygwin DOT com'" Subject: RE: looking for what is hopefully a simple answer for someone try ing to use EMACS in cygwin Date: Tue, 11 Feb 2003 12:32:18 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" That does not work for some reason, here is what happens when I open up a tcsh shell (without my .tcshrc): [sgupta AT sguptaxxxx /cygdrive/c]$ echo $DISPLAY :0 [sgupta AT sguptaxxxx /cygdrive/c]$ emacs emacs: Cannot connect to X server :0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. [sgupta AT sguptaxxxx /cygdrive/c]$ -----Original Message----- From: ejfried AT ca DOT sandia DOT gov [mailto:ejfried AT ca DOT sandia DOT gov] Sent: Tuesday, February 11, 2003 12:07 PM To: Samir Gupta Subject: Re: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin I think Samir Gupta wrote: > > 2) why do I have to enter an IP address in the Display variable if I am > using cygwin on my local machine? What would I do if I were not connected > to a network? You can omit the address and the screen number -- i.e., set DISPLAY to ":0" and this will be fine. The local machine is then understood. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 ejfried AT ca DOT sandia DOT gov Livermore, CA 94550 http://herzberg.ca.sandia.gov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/