Xref: utzoo comp.emacs:5193 comp.windows.x:7628 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!bbn.com!fkittred From: fkittred@bbn.com (Fletcher Kittredge) Newsgroups: comp.emacs,comp.windows.x Subject: Re: GNU Emacs shell mode and DISPLAY env variable Keywords: enviromental variables Message-ID: <35433@bbn.COM> Date: 1 Feb 89 12:58:15 GMT References: <35945@think.UUCP> Sender: news@bbn.COM Reply-To: fkittred@BBN.COM (Fletcher Kittredge) Distribution: na Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 16 Check in your config.h file for a line which looks like: #define MAINTAIN_ENVIRONMENT If you don't have such a line, add it and remake emacs. This will allow you to use the elisp function setenv. Example (setenv "DISPLAY" "unix:0") It will also allow you to use the getenv function. regards, fletcher Fletcher E. Kittredge fkittred@bbn.com