[net.emacs] Teletype DMD5620s and GNU 17.61

hrp@cray.UUCP (Hal Peterson) (04/24/86)

[]
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 <sys/jioctl.h>
> #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