Date: Mon, 24 Apr 2000 08:39:02 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Str|mberg cc: djgpp AT delorie DOT com Subject: Re: dead beef In-Reply-To: <8dv2a9$dlv$2@news.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 23 Apr 2000, Martin Str|mberg wrote: > Eli Zaretskii wrote: > : ANSI.SYS is evil (but I don't think the above command requires > : ANSI.SYS). You could compile a simple program that calls library > : function _set_screen_lines, and use that instead. Works like charm > : for me, both in plain DOS and on Windows. > > It is? Why? Are you asking why is ANSI.SYS evil? Because it hooks Int 29h and many programs which write to the screen and hook BIOS don't expect that and choke. It also tremendously slows down DOS/BIOS screen writes (which affects any console program tha uses printf): Int 29h is used heavily and must be very fast. In addition, it took up too much conventional RAM. At the time, there were lots of clones for ANSI.SYS (you can still find them on SimTel), which alone speaks volumes about this issue.