From nmh@t3x.org  Thu Aug  9 10:14:48 2001
Return-Path: <nmh@t3x.org>
Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131])
	by hub.freebsd.org (Postfix) with ESMTP id D03EF37B405
	for <FreeBSD-gnats-submit@freebsd.org>; 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: <Pine.BSF.4.21.0108091915070.1900-100000@Oxygen2.UUCP>
Date: Thu, 9 Aug 2001 19:17:13 +0200 (CEST)
From: Nils M Holm <nmh@t3x.org>
Reply-To: nmh@t3x.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: doscmd INT 10, FNs 0x09,0x0A cause wrong output

>Number:         29574
>Category:       bin
>Synopsis:       doscmd INT 10, FNs 0x09,0x0A cause wrong output
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    tg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 09 10:20:01 PDT 2001
>Closed-Date:    Tue Aug 14 04:57:42 PDT 2001
>Last-Modified:  Tue Nov 27 18:35:56 PST 2001
>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:
Responsible-Changed-From-To: freebsd-bugs->tg 
Responsible-Changed-By: dd 
Responsible-Changed-When: Thu Aug 9 10:27:21 PDT 2001 
Responsible-Changed-Why:  
Over to person doing most of the commits here. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29574 
State-Changed-From-To: open->closed 
State-Changed-By: tg 
State-Changed-When: Tue Aug 14 04:57:42 PDT 2001 
State-Changed-Why:  
Superseded by PR 29601. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29574 
>Unformatted:
 
