This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Emacs in Cygwin

S Gupta <> wrote:

>I am at home now, and if I have my display environment
>variable set to:  ${HOST}:0.0 or :0
>and if I have the program "Cygwin/XFree86 rl" open in
>the background, emacs opens up in the XFree program
>and not the current window. (If I do not have the
>XFree program open, then I get an error saying I can't
>connect to X server)

 This is expected behavior.  This has been discussed many times before. It should be in the archives.
>For some reason the above only works in tcsh; the
>other shells all seem to open up emacs in the same
  You probably have an emacs function defined in a shell startup file (e.g. ~/.bashrc).  Examples have been posted here several times.

>Does anyone know what causes the cygwin emacs to open
>up in XFree instead of the current window?
 That's how it's compiled.
>It has stopped doing this on my computer at work (I
>think it was a result of my reinstalling cygwin emacs
>or maybe something else that got changed in the
>process of running the cygwin setup), and I'm
>wondering what has to be changed so it does it again.

 Include "tty" in your CYGWIN environment variable.
 Type "emacs -nw" instead of "emacs"


The NEW Netscape 7.0 browser is now available. Upgrade now! 

Get your own FREE, personal Netscape Mail account today at

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]