Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!dasteel!root From: root@dasteel.UUCP (Jonathan Dasteel) Newsgroups: comp.unix.xenix Subject: Re: emacs 18.55 Message-ID: <101@dasteel.UUCP> Date: 12 Apr 90 18:40:57 GMT References: <31@grumbly.UUCP> Followup-To: comp.unix.xenix Organization: Dasteel Software, Santa Monica CA Lines: 47 In-reply-to: root@grumbly.UUCP's message of 11 Apr 90 21:16:44 GMT In article <31@grumbly.UUCP> root@grumbly.UUCP (Superuser) writes: Has anyone made emacs 18.55 with the SCO Unix dev syst? [cc or rcc] I'm using the m-intel386.h and s-usg5-3.h files. Seem to be getting problems with TIOCGETC, winsize , ws_row, etc (at one time or another). Does this sound familiar to anyone? [I've tried undef'ng TIO... ala XENIX and some other things - to no avail] I had the same problem with 386/ix. If you don't need X11, this is what I did: In sysdep.c ~line 688 -- #ifdef TIOCGETC struct tchars { /* JBD */ unsigned char t_intrc; /* add this structure */ unsigned char t_quitc; unsigned char t_startc; unsigned char t_stopc; unsigned char t_eofc; unsigned char t_brkc; }; . . the rest of ifdef the same . In sysdep.c ~line 986, change the ifdef thusly: OLD: #ifdef TIOCGWINSZ NEW: #if defined(TIOCGWINSZ) && (defined(HBTCP) || defined(XWIN)) Apparently there is something brain damaged about the attempt to retain Xenix backward compatability, but I could be wrong. At any rate, this worked for me. BTW, my termcap (info?) had standout-glitch (or some such thing) erroneously defined, which caused bogus behavior on the mode line. You may need to fix this too, though not Emacs' fault. -- JBD ------------------------------------------------------------------------------- Jonathan Dasteel Dasteel Software 213-394-1229 1148 Fourth Street, Suite 100 uunet!dasteel!jbd Santa Monica, CA 90403 Typesetting and graphics software -------------------------------------------------------------------------------