From owner-freebsd-bugs Thu Aug 9 10:20:11 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 96DDB37B406 for ; Thu, 9 Aug 2001 10:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f79HK1M64216; Thu, 9 Aug 2001 10:20:01 -0700 (PDT) (envelope-from gnats) Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id D03EF37B405 for ; Thu, 9 Aug 2001 10:14:47 -0700 (PDT) (envelope-from nmh@t3x.org) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.32 #1) id 15UtOQ-0000xz-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 09 Aug 2001 19:14:46 +0200 Received: from a33b0.pppool.de ([213.6.51.176]) by mx1.freenet.de with esmtp (Exim 3.32 #1) id 15UtOP-0003LL-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 09 Aug 2001 19:14:46 +0200 Message-Id: Date: Thu, 9 Aug 2001 19:17:13 +0200 (CEST) From: Nils M Holm Reply-To: nmh@t3x.org To: FreeBSD-gnats-submit@freebsd.org Subject: bin/29574: doscmd INT 10, FNs 0x09,0x0A cause wrong output Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 29574 >Category: bin >Synopsis: doscmd INT 10, FNs 0x09,0x0A cause wrong output >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 09 10:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Nils M Holm >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: >Description: When a DOS program running under DOSCMD executes INT 10 (BIOS video services), function 0x09 (emit char) or function 0x0A (emit char + attribute) while the cursor is at the lower right corner, the screen will be scrolled. The original AT BIOS will not scroll the screen in this case, since the function does not affect the cursor position. This bug may cause some programs to behave in an unexpected way. >How-To-Repeat: >Fix: --- /usr/src/usr.bin/doscmd/tty.c Thu Aug 9 19:01:42 2001 +++ /usr/src/usr.bin/doscmd/tty.org Thu Aug 9 19:01:25 2001 @@ -1676,7 +1676,7 @@ while (n--) { if (col >= width) { col = 0; - /*tty_index();*/ + tty_index(); } if (row > (height - 1)) row = 0; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message