Bug 21312

Summary: more incorrectly redraws screen on xterm resize
Product: Base System Reporter: Robert Watson <rwatson>
Component: binAssignee: Xin LI <delphij>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.dat none

Description Robert Watson freebsd_committer freebsd_triage 2000-09-16 15:40:00 UTC
When running more on a stdin stream, resizing the xterm results in an
incorrect redrawing of the screen -- the current byte count appears both
over-writing the first line, and on the last line as expected.  This
example comes from a cvs update -dP |& more

byte 1869U UPDATING
M contrib/amd/include/am_defs.h
U contrib/diff/util.c
U etc/MAKEDEV
U etc/Makefile
U etc/crontab
U etc/newsyslog.conf
...
U release/sysinstall/tcpip.c
U release/texts/HARDWARE.TXT
byte 1834

Fix: 

Not attached.
How-To-Repeat: 
In an xterm, run some streamed something (cat /usr/src/sys/kern/vfs_syscalls.c
|& more).  Resize the xterm part-way down the stream.  It seems to be
quite reproduceable in my environment, using kwm as the window manager.
Comment 1 Kris Kennaway 2003-07-13 07:27:41 UTC
This behaviour still exists, but the bug report should probably be
sent to the less developers, since less is maintained externally to
FreeBSD.

Kris
Comment 2 Rebecca Cran freebsd_committer freebsd_triage 2007-09-20 21:15:30 UTC
This behaviour still exists in FreeBSD 7.0-CURRENT with Xorg 7.3.

The system I'm using is:

uname -a:
FreeBSD muon.draftnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Sep 14 
23:03:19 BST 2007     
brucec@muon.draftnet:/usr/obj/usr/src/sys/INSPIRON  amd64

xorg-apps-7.3
xorg-cf-files-1.0.2_2
xorg-libraries-7.3_1
xorg-server-1.4,1
xterm-229

less 406

The problem occurs using both xterm and Gnome Terminal.
I didn't see anything that looked similar on 
http://www.greenwoodsoftware.com/less/bugs.html so I've sent an email to 
the maintainer.

--
Bruce
Comment 3 Remko Lodder freebsd_committer freebsd_triage 2007-10-08 17:46:40 UTC
State Changed
From-To: open->patched

This just got imported into -HEAD, reassign to Xin who did the 
import. 


Comment 4 Remko Lodder freebsd_committer freebsd_triage 2007-10-08 17:46:40 UTC
Responsible Changed
From-To: freebsd-bugs->delphij

This just got imported into -HEAD, reassign to Xin who did the 
import.
Comment 5 Xin LI freebsd_committer freebsd_triage 2007-10-11 19:56:26 UTC
State Changed
From-To: patched->closed

less v408 was MFC'ed to RELENG_6 which fixes the problem.