Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!convex!pvogel From: pvogel@convex.com (Peter A. Vogel) Newsgroups: gnu.emacs Subject: Re: X-ized emacs as a non-X program Message-ID: <100138@convex.convex.com> Date: 21 Feb 90 15:11:39 GMT References: <3703@uceng.UC.EDU> Sender: news@convex.com Lines: 25 schriste@uceng.UC.EDU (Steven V. Christensen) writes: >Hi. Just compiler 18.55 with X support. Works Great. >Now, what if I don't particularly want emacs to come up in it's >own window when I am running X-windows (i.e. how do I make it function >like it did before X). >Note that I would like not to have to change the TERM type. > Steven No need to change the TERM type, X-ized emacs looks for a DISPLAY environment variable, and puts it's window on that display, if no DISPLAY variable is set, it will come up in your xterm as though you weren't in X-windows, just alias you emacs command to unset the DISPLAY variable (after saving to a temporary) and then invoke emacs, and then reset the DISPLAY variable. Simple. Peter -- --------------------------------------------------------------------- Peter A. Vogel | Always carry a towel. Convex Computer Corp. | --HHGTTG Internet/uucp: pvogel@convex.com |