Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!think!rlk From: rlk@think.UUCP Newsgroups: comp.emacs Subject: Re: [liberte@b.cs.uiuc.edu: Re: -nw inconvenient for non X users] Message-ID: <7946@think.UUCP> Date: Sun, 30-Aug-87 15:12:33 EDT Article-I.D.: think.7946 Posted: Sun Aug 30 15:12:33 1987 Date-Received: Sun, 30-Aug-87 23:48:07 EDT Sender: news@think.UUCP Reply-To: rlk@THINK.COM Distribution: world Organization: Thinking Machines Corporation, Cambridge, MA Lines: 32 In article <14495@watmath.waterloo.edu> mberkley@watsup.waterloo.edu writes: ]In article <8708251815.AA25757@dagda.think.com> rlk@THINK.COM writes: ] ]Not everybody who uses X uses it for xterm. Right. Which is why emacs should not key on TERM being xterm. In the PAMI lab here at ]UW, we have 3 X-type display devices and a bunch of vt220's. The X ]displays are used mostly for displaying digital images, for displaying ]graphical descriptions of pattern analyses and for previewing ]documents. Most people do their work on a vt220 and then display ]their images on one of the three X displays - there just aren't enough ]X displays to go around. That means, that it is normal to have the ]DISPLAY env variable set, even though xterm is not being used. No, the DISPLAY should not be set if you're not using X. Set it when you are using X, and unset it otherwise. If you have 3 displays, then having your DISPLAY set is meaningless, no? ]Emacs should cue on the TERM being xterm, rather than the DISPLAY ]variable being set. If I'm really using xterm, then it's guaranteed ]that my TERM variable will be xterm, then check the DISPLAY variable ]for which display to use. If you are using X it is NOT guaranteed that your TERM will be xterm. You might have a completely different terminal emulator running, or you might have no terminal emulator whatsoever running. Suppose you have your X server start up emacs to begin with? You might not have any TERM variable set whatsoever, because you don't have a terminal. Robert^Z