Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!stolaf!cray!hrp From: hrp@cray.UUCP (Hal Peterson) Newsgroups: net.emacs Subject: Teletype DMD5620s and GNU 17.61 Message-ID: <313@cray.UUCP> Date: Thu, 24-Apr-86 15:30:16 EDT Article-I.D.: cray.313 Posted: Thu Apr 24 15:30:16 1986 Date-Received: Fri, 2-May-86 08:13:35 EDT Distribution: net Organization: Cray Research Inc., Mendota Heights, MN Lines: 31 [] It only takes a little modification to get GNU Emacs to properly handle 5620 windows. I'm not an experienced GNU hacker, so I don't know if I got it right, but it does seem to work. Here are the diffs: -- *** sysdep.c *** 20a21,23 > /* This belongs in config.h, but I put it here to avoid having > to recompile the whole world. */ > #define BLIT 27a31,34 > #ifdef BLIT > #include > #endif > 521a529,538 > #else > #ifdef BLIT > struct jwinsize jw; > if (ioctl (0, JWINSIZE, &jw) != -1) { > *widthp = jw.bytesx; > *heightp = jw.bytesy; > } else { > *widthp = 0; > *heightp = 0; > } 524a542 > #endif -- Hal Peterson / Cray Research / 1440 Northland Dr. / Mendota Hts, MN 55120 UUCP: ihnp4!cray!hrp phone: (612) 681-3085