usenet@cps3xx.UUCP (Usenet file owner) (06/30/89)
I have found the following non-bug problem in MicroEmacs 3.09e under SCO XENIX 286 and SCO XENIX 386 which may cause others problems under other OSs as well. I found that when two separate copies of MicroEmacs were running on the machine whether from two virtual terminals or two real terminals etc, that output would come out in a bursty, jerky fashion. I could type and then characters would come back at me in chunks of 6-12 (or so) characters. After some source code reading, I found that I had #define TYPEAH 1 in estruct.h. I tried a compile with #define TYPEAH 0 and the problem disappeared. Checking the output of prof(1) on the version with TYPEAH 1, I found that 80% of the execution time was spent in read(). With TYPEAH 0, this time was reduced to 3%. I used to use MicroEmacs on an IBM RT Model 135 and didn't seem to see this behavior happen (it may have and I just didn't notice). But it definitely happens on my current work machine, 20MHz 386DX with SCO XENIX 386 v2.3.1 So my suggestion to any UNIX users is #define TYPEAH 0. Perhaps this suggestion could be noted in the next release in the compilation notes or as a comment in estruct.h. (What do you think Dan?) On a related note: when MicroEmacs 3.10 was first posted, people claimed it didn't work under XENIX, has anyone come up with patches yet? (before I try) John H. Lawitzke UUCP: Work: ...uunet!frith!dale1!jhl Dale Computer Corp., R&D Home ...uunet!frith!ipecac!jhl 2367 Science Parkway Internet: jhl@frith.egr.msu.edu Okemos, MI, 48864 [35.8.8.108]
jbayer@ispi.UUCP (Jonathan Bayer) (07/12/89)
usenet@cps3xx.UUCP (Usenet file owner) writes: [deleted] >On a related note: when MicroEmacs 3.10 was first posted, people claimed >it didn't work under XENIX, has anyone come up with patches yet? >(before I try) Yes. I posted my patches a while ago. Also, some other people also posted patches. Send me mail and I will forward you a copy of my patches. JB -- Jonathan Bayer Beware: The light at the end of the Intelligent Software Products, Inc. tunnel may be an oncoming dragon 500 Oakwood Ave. ...uunet!ispi!root Roselle Park, NJ 07204 (201) 245-5922 jbayer@ispi.UUCP