Subject: xsrc/19168: xterm autowrap bug
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/25/2002 21:25:46
>Number:         19168
>Category:       xsrc
>Synopsis:       autowrap bug in xterm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 12:47:01 PST 2002
>Originator:     Onno van der Linden
>Release:        NetBSD 1.6K
System: NetBSD sheep 1.6K NetBSD 1.6K (SHEEP) #1: Thu Nov 14 20:57:09 MET 2002 onno@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
Architecture: i386
Machine: i386
	xterm-165 which is in the xsrc tree has a bug in its autowrap
        handling of long lines.
        start a 80x24 xterm
	run the following shell script which should show a rectangle:
printf "\e(0\e[m\e[2;1H"
printf "lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"
printf "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqkx"
printf "\e[m\e(B\e[m\e(0\e[3;80H"
printf "xmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"
printf "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj"
printf "\e[m\e(B"
exit 0
	upgrade to the latest xterm (170) which is already in the 4.2.1
        cvs tree and is also available via