Xref: utzoo comp.emacs:4883 comp.bugs.sys5:710 Path: utzoo!utgpu!attcan!uunet!cbmvax!ditto From: ditto@cbmvax.UUCP (Michael "Ford" Ditto) Newsgroups: comp.emacs,comp.bugs.sys5 Subject: Re: Bug in Gnu Emacs 18.52 on 3b2 Summary: Fix it in the m-*.h, not in the code everybody uses. Keywords: Bug Gnu Emacs 3b2 700 Message-ID: <5513@cbmvax.UUCP> Date: 15 Dec 88 21:40:05 GMT References: <7885@mtune.ATT.COM> Reply-To: ditto@cbmvax.UUCP (Michael "Ford" Ditto) Followup-To: comp.emacs Organization: Commodore Technology, West Chester, PA Lines: 19 In article <7885@mtune.ATT.COM> dwp@mtune.ATT.COM (David Preisler) writes: >While trying to install GnuEmacs 18.52 on a 3b2 700 running Unix V 3.2.1 >with "s-usg5-3.h" and "m-att3b.h" defined in config.h encountered a series >of syntax errors in src/sysdep.c: i.e. ws_row and ws_col undefined. > >Solution: In file src/sysdep.c in the #ifdef HAVE_TERMIO definition you >*must* #undef TIOCGWINSZ. If it's only the m-att3b machines that have the bogus TIOCGWINSZ, the #undef should be in "m-att3b.h". The proposed fix prevents TIOCGWINSZ from working on ANY SysV machine (and I beleive there are some SysV's that have TIOCGWINSZ). -- -=] Ford [=- "The number of Unix installations (In Real Life: Mike Ditto) has grown to 10, with more expected." ford@kenobi.cts.com - The Unix Programmer's Manual, ...!sdcsvax!crash!elgar!ford 2nd Edition, June, 1972. ditto@cbmvax.commodore.com