Date: Sat, 3 Feb 1996 18:46:22 +0000 From: "Skip Hansen" <shansen@earthlink.net> To: freebsd-bugs@FreeBSD.ORG Cc: sos@FreeBSD.ORG, Larry Altneu <larry@snni.com> Subject: syscons <esc>[nX bug Message-ID: <199602040324.TAA22799@finland.it.earthlink.net>
next in thread | raw e-mail | index | archive | help
I have run into a minor syscons bug while trying to port the Crisp editor to FreeBSD. Crisp makes heavy use of the 'delete n characters' terminal escape sequence which does not seem to function correctly in FreeBSD 2.1R. I traced the problem to syscons.c's handling of the escape sequence "<esc>[nX". The following patch corrects the problem. Crisp now updates the screen nicely. diff syscons.c.org syscons.c = --- snip --- 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); --- snip --- Skip Hansen shansen@earthlink.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602040324.TAA22799>