From owner-freebsd-bugs Sun Feb 4 08:50:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA14685 for bugs-outgoing; Sun, 4 Feb 1996 08:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA14679 Sun, 4 Feb 1996 08:50:02 -0800 (PST) Resent-Date: Sun, 4 Feb 1996 08:50:02 -0800 (PST) Resent-Message-Id: <199602041650.IAA14679@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, shansen@earthlink.net Received: from finland.it.earthlink.net ([206.85.92.29]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA14350 for ; Sun, 4 Feb 1996 08:40:21 -0800 (PST) Received: from shansen.earthlink.net (shansen.earthlink.net [204.119.160.146]) by finland.it.earthlink.net (8.6.11/8.6.4) with SMTP id IAA17905 for ; Sun, 4 Feb 1996 08:40:19 -0800 Message-Id: <199602041640.IAA17905@finland.it.earthlink.net> Date: Sun, 4 Feb 1996 08:36:57 +0000 From: "Skip Hansen" Reply-To: shansen@earthlink.net To: FreeBSD-gnats-submit@freebsd.org Comments: Authenticated sender is Subject: kern/994: bug in syscons's ESC[nX processing Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 994 >Category: kern >Synopsis: syscons bug in ESC[nX handling (w/fix) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 4 08:50:01 PST 1996 >Last-Modified: >Originator: Skip Hansen >Organization: self >Release: FreeBSD 2.1-STABLE i386 >Environment: any using syscons console. >Description: Terminal escape sequence ESC[nX deletes characters from incorrect screen position. Some applications (notably the Crisp editor) which make heavy use of this escape seqence have unreadable screens as a result. >How-To-Repeat: simple test: printf("********\r"); printf("***%c[2X\n",0x1b); Show display "*** ***" when run. Actually displays "********". >Fix: patch to syscons.c: 28a29,30 > * > * 2/3/96 shansen@earthlink.net: Corrected [ n X processing. 1570c1572 < ((scp->xsize*scp->ypos) * sizeof(u_short)), n); --- > scp->xsize*scp->ypos, n); >Audit-Trail: >Unformatted: