[comp.windows.x] Gnuemacs & X

grunwald@uiucdcsm.cs.uiuc.edu (10/10/87)

Anyone else having problems with the X11 gnuemacs interface?

I've added code to enable the function keys. My main problem right now
is that screen updates don't always happen -- I don't know enough X to
figure out the problem. Sometimes screen updates don't occur, but when
I hit ctl-L (repaint-window or something like that in Gnu),  it gets
properly displayed.

I suspect some threshold for gathering & batching updates to the display
server. Any clues?

dirk grunwald
univ. of illinois
grunwald@m.cs.uiuc.edu

rlk@think.COM (Robert Krawitz) (10/12/87)

In article <26900007@uiucdcsm> grunwald@uiucdcsm.cs.uiuc.edu writes:
]
...updates don't always happen on suns
]
]I suspect some threshold for gathering & batching updates to the display
]server. Any clues?

Nope.  It's a kernel bug, in that SIGIO's don't get sent properly on
sockets.  The display code itself uses SIGIO in various nefarious
ways, and these apparently don't get fired properly.

Fixed in all 4.3 type systems I know of.

BTW, does anyone else using X need asynchronous I/O?  GNU Emacs does
to make C-g work (this is an asynchronous interrupt) and the display
code uses it for efficiency (it waits a few seconds for input before
redisplaying, so it has to listen for that much time while sleeping;
this is what I believe causes the redisplay problem).  Ralph Swick and
I started to discuss this issue last year but we never got very far...

cca >>>>>>>>>>  |
harvard >>>>>>  |
bloom-beacon >  |think!rlk	Robert Krawitz <rlk@think.com>
rutgers >>>>>>  |
ihnp4 >>>>>>>>  .

weiser.pa@XEROX.COM (10/14/87)

"Everyone could benefit by a different OS kernel architecture
	with a Un*x emulation layer over the native kernel interface.
	Is anyone willing to sponsor it?"

Sounds a bit like Mach.

-mark