🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.emacs
Article #2152

GNU Emacs with X Windows

#2152
From: David desJardins
Date: Sun, 19 Oct 1986 05:13
25 lines
1820 bytes
Can someone explain how GNU Emacs handles X Windows?  In particular, suppose
I run 'xinit xtools' where xtools is a program that forks off certain X
applications, including emacs.  I have set DISPLAY to be 'unix:0'.

What I really don't understand is that it *does* work if I first set TERM
to 'xterm'.  Why should it matter what terminal type I am running??  I am
almost certain that emacs (quite properly) writes directly to the X window,
rather than using a terminal emulator like xterm.

The only thing that I can think of is that it is checking my terminal type
to see if I am really running X!  Is it really possible that it would do
this?  This is a truly awful way to go about things, in that (among other
things) it assumes that only one particular terminal emulator will be used
from inside X.

I suppose I will dig into the source if I have to, and see for myself what
it is doing; I am just hoping that someone who knows how it works can let
me know what is going on and save me a lot of effort.  And this seems like
something that could be of interest to other people -- I'm not sure how
many people out there are really using X...

   -- David desJardins
	...!ucbvax!brahms!desj
	desj@brahms.BERKELEY.EDU
	brahms!desj@ucbvax.BERKELEY.EDU
Technical Details
Message-ID: <34@cartan.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!lll-crg!lll-lcc!dual!ucbvax!cartan!brahms!desj

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!lll-crg!lll-lcc!dual!ucbvax!cartan!brahms!desj
From: desj@brahms (David desJardins)
Newsgroups: net.emacs
Subject: GNU Emacs with X Windows
Message-ID: <34@cartan.Berkeley.EDU>
Date: Sun, 19-Oct-86 01:13:11 EDT
Article-I.D.: cartan.34
Posted: Sun Oct 19 01:13:11 1986
Date-Received: Tue, 21-Oct-86 06:22:33 EDT
Sender: daemon@cartan.Berkeley.EDU
Reply-To: desj@brahms (David desJardins)
Organization: Math Dept. UC Berkeley
Lines: 25