Subject: bin/25849: rapid resize can crash vi
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <abs@netbsd.org>
List: netbsd-bugs
Date: 06/06/2004 23:27:22
>Number: 25849
>Category: bin
>Synopsis: rapid resize can crash vi
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 06 22:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: David Brownlee
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD forsaken 2.0_BETA NetBSD 2.0_BETA (_FORSAKEN_) #0: Mon May 24 17:20:28 BST 2004 abs@forsaken:/var/obj/i386/files/netbsd/2.0/sys/arch/i386/compile/_FORSAKEN_ i386
Architecture: i386
Machine: i386
>Description:
When resizing an xterm some window managers (xfce4 being an example) will
send a resize update for every line or column changed. If vi is bring run
in such a situation there is a high likelyhood it will abruptly exit with
"ex/vi: error initializing terminal", losing any changes made.
>How-To-Repeat:
Install xfce4, run vi in xterm, open file /etc/defaults/rc.conf, resize
window. Just increasing the number of rows can trigger this.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: