Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!satyr!satyr!kayvan From: kayvan@satyr.UUCP (Kayvan Sylvan) Newsgroups: comp.unix.sysv386 Subject: Re: Emacs 18.57, ISC 2.2.1, continued... Message-ID: Date: 12 Apr 91 22:50:39 GMT References: <1991Apr5.015243.9461@aai.com> <1991Apr8.224025.2313@aai.com> <1991Apr9.214007.9291@rick.cs.ubc.ca> <1991Apr11.191131.27136@aai.com> Sender: kayvan@satyr.UUCP (Kayvan Sylvan) Organization: Sylvan Associates Lines: 25 In-Reply-To: leo@aai.com's message of 11 Apr 91 19:11:31 GMT In article <1991Apr11.191131.27136@aai.com> leo@aai.com writes: Has anyone solved these problems? Are they specific to ISC, or do you see the same thing on SCO, ESIX, and Microport? I saw and fixed these problems in ESIX a while back. The problem is that the Emacs select() function is not enough of a select() emulation to work right for X windows (also, at least in ESIX's case, the system supplied select() has some problems with pipes and ptys). Adding the following to config.h solved this problem: #define select emacs_select And *don't* define HAVE_SELECT. You also need to make sure that BROKEN_TIOCGETC and BROKEN_FIONREAD are defined (at least in ESIX's case). Experiment with these and let me know. ---Kayvan -- | Kayvan Sylvan Consulting/Training 879 Lewiston Drive | | Sylvan Associates Unix and Mac Programming San Jose, CA 95136 | | "Think Globally, GNU tools, GUIs, Databases (408) 978-1407 | | Act Locally." Unify User's Group Librarian apple!satyr!kayvan |