delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-announce/1996/02/12/09:35:52

Date: Mon, 12 Feb 1996 15:27:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp-announce AT delorie DOT com
Subject: Bug in v2.0 Info.EXE with a fix

There is a bug in INFO.EXE distributed with the official release of DJGPP
v2.0 which causes the screen to be set to 25x40 dimensions when you exit
Info.  This only happens if you use the INFO_LINES environment variable to
get more than 25 lines inside Info, so a work-around is not to use
INFO_LINES. (What's that?  You don't know what INFO_LINES is?  Then read
the file README.DJ which came with TXI360B.ZIP.) The bug is actually in
the library module conio.c, so to fix it apply the patch below and rebuild
Info: 

*** src/libc/pc_hw/co80/conio.c~0	Wed Jan 24 03:30:18 1996
--- src/libc/pc_hw/co80/conio.c	Mon Feb 12 14:45:06 1996
*************** gppconio_init(void)
*** 961,967 ****
      {
        conio_count = __bss_count;
        oldattrib = -1;
!       last_mode = 0;
      }
  
    (void)isEGA();    /* sets the global ADAPTER_TYPE */
--- 961,967 ----
      {
        conio_count = __bss_count;
        oldattrib = -1;
!       last_mode = 0xffff;
      }
  
    (void)isEGA();    /* sets the global ADAPTER_TYPE */

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019