[comp.emacs] Warning! Warning! MicroEMACS 3.9

davidsen@steinmetz.steinmetz.UUCP (William E. Davidsen Jr) (08/01/87)

I have noted what appears to be a bug in the new version 3.9 of EMACS
when run under System V. If I read the code right it is *polling* the
keyboard(!) for character input. After running the editor with "time", I
noted that if I started it, did nothing, and exited after 30 sec, there
would be about 23-25 sec system time.

Because this system is gotten at a low level, it seems to confuse the
dispatcher and slows the rest of the system far more than a process
using CPU in the user program would. I also saw some uucp links fail due
to timeout, which may be related. After some limit of CPU is reached,
the process seems to be "niced" and then runs at a priority just greater
than the idle loop.

I would suggest (a) see if this happens on your SysV system. I tried it
on two completely unlike systems, but your system may not have a problem
with it. (b) run the v3.8i "termio.c" with the rest of 3.9. This brought
the CPU back where I would expect it to be. I'm not sure what may break
in this configuration. There is a comment (in main.c) saying "added
Baron O. A. Grey's SYSTEM V typeahead() code...I hope this works... if
you check this out, drop me a line." I shall.

Hope this prevents some trouble, as the rest of the release is pretty
neat.

-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {chinet | philabs | sesimo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me