Subject: xsrc/19168: xterm autowrap bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <o.vd.linden@quicknet.nl>
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
>Closed-Date:
>Last-Modified:
>Originator:     Onno van der Linden
>Release:        NetBSD 1.6K
>Organization:
	
>Environment:
	
	
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
>Description:
	xterm-165 which is in the xsrc tree has a bug in its autowrap
        handling of long lines.
>How-To-Repeat:
        start a 80x24 xterm
	run the following shell script which should show a rectangle:
#!/bin/sh
clear
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
>Fix:
	upgrade to the latest xterm (170) which is already in the 4.2.1
        cvs tree and is also available via dickey.his.com.
>Release-Note:
>Audit-Trail:
>Unformatted: