Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 19:17:13 +0200 (CEST)
From:      Nils M Holm <nmh@t3x.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/29574: doscmd INT 10, FNs 0x09,0x0A cause wrong output
Message-ID:  <Pine.BSF.4.21.0108091915070.1900-100000@Oxygen2.UUCP>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108091915070.1900-100000>