Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 1998 15:44:10 -0400 (EDT)
From:      cmascott@world.std.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7071: jove 4.16: Clicking button 1 causes xterm display corruption
Message-ID:  <199806251944.PAA01967@europa.my.pc>

next in thread | raw e-mail | index | archive | help

>Number:         7071
>Category:       ports
>Synopsis:       jove 4.16: Clicking button 1 causes xterm display corruption
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 25 12:50:01 PDT 1998
>Last-Modified:
>Originator:     Carl Mascott
>Organization:
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

	Jove 4.16 running in an xterm window

>Description:

	When you click mouse button 1 in an xterm window running
	jove, the displayed character at the old cursor location
	is replaced with 'X'.  Only the display is affected, not
	the buffer being edited.  Redrawing the screen with ctrl-L
	fixes the display.

>How-To-Repeat:

	Click mouse button 1 in window while editing a file.

>Fix:
	
	Apply this patch to undefine XTERMBUG in mouse.c.
	Xterm apparently no longer has the bug.


*** mouse.c.org	Thu Mar  7 12:34:43 1996
--- mouse.c	Thu Jun 25 14:17:16 1998
***************
*** 266,272 ****
  	/* Format of command to xterm to start or stop mouse hilite tracking:
  	 * ^[ [ func ; startx ; starty ; firstrow ; lastrow T
  	 */
! #define XTERMBUG
  #ifdef XTERMBUG
  	static const char	hl_fmt[] = "\033[%d;%d;%d;%d;%dTX";
  #else
--- 266,272 ----
  	/* Format of command to xterm to start or stop mouse hilite tracking:
  	 * ^[ [ func ; startx ; starty ; firstrow ; lastrow T
  	 */
! /* #undef XTERMBUG */
  #ifdef XTERMBUG
  	static const char	hl_fmt[] = "\033[%d;%d;%d;%d;%dTX";
  #else
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806251944.PAA01967>