Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!lll-winken!sun-barr!rutgers!rochester!smithln From: smithln@watermelon.cs.rochester.edu (Neil Smithline) Newsgroups: gnu.emacs Subject: Re: X-ized emacs as a non-X program Message-ID: <1990Mar1.223752.8133@cs.rochester.edu> Date: 1 Mar 90 22:37:52 GMT References: <3703@uceng.UC.EDU> <100138@convex.convex.com> <454@argus.mrcu> Sender: smithln@cs.rochester.edu (Neil Smithline) Reply-To: smithln@watermelon.cs.rochester.edu (Neil Smithline) Organization: University of Rochester Lines: 22 In-reply-to: paj@mrcu (Paul Johnson) In article <454@argus.mrcu>, paj@mrcu (Paul Johnson) writes: >How to stop X Emacs comming up in its own window.... > >Use the command "emacs -t /dev/tty". > >The previous suggested solution, the aliasing of the Emacs command to >unset and then set the DISPLAY environment variable, is dangerous >because even Emacs may terminate abnormally. How about just "emacs -nw". If you insist on messing with the DISPLAY envariable then how about alias emacs-nw '(UNSETENV DISPLAY; emacs \!*)' and there is no problem if emacs terminates unexpectedly. Neil -- Neil Smithline ARPA: smithln@cs.rochester.edu UUCP: ..!rutgers!rochester!smithln Mail: CS Dept., University of Rochester, Rochester NY 14627