Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 1996 08:36:57 +0000
From:      "Skip Hansen" <shansen@earthlink.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/994: bug in syscons's ESC[nX processing
Message-ID:  <199602041640.IAA17905@finland.it.earthlink.net>
Resent-Message-ID: <199602041650.IAA14679@freefall.freebsd.org>

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

>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 <ESC> [ n X processing.
1570c1572
< 		  ((scp->xsize*scp->ypos) * sizeof(u_short)), n);
---
> 		  scp->xsize*scp->ypos, n);
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602041640.IAA17905>