From owner-FreeBSD-users-jp@jp.freebsd.org  Fri Aug 28 09:52:12 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.0W/8.7.3) id JAA26624;
	Fri, 28 Aug 1998 09:52:12 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from diana.infonets.hiroshima-u.ac.jp (diana.infonets.hiroshima-u.ac.jp [133.41.33.53])
	by jaz.jp.freebsd.org (8.9.1+3.0W/8.7.3) with ESMTP id JAA26618;
	Fri, 28 Aug 1998 09:52:10 +0900 (JST)
	(envelope-from taoka@infonets.hiroshima-u.ac.jp)
Received: from cal.infonets.hiroshima-u.ac.jp (cal.infonets.hiroshima-u.ac.jp [133.41.33.61]) by diana.infonets.hiroshima-u.ac.jp (8.8.8/3.6W) with ESMTP
	id JAA22060; Fri, 28 Aug 1998 09:52:09 +0900 (JST)
Received: from localhost (localhost.infonets.hiroshima-u.ac.jp [127.0.0.1]) by cal.infonets.hiroshima-u.ac.jp (8.8.8/3.6W) with ESMTP
	id JAA25914; Fri, 28 Aug 1998 09:52:09 +0900 (JST)
To: FreeBSD-users-jp@jp.freebsd.org
Cc: ports-jp@jp.freebsd.org
From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
In-Reply-To: Your message of "Thu, 27 Aug 1998 18:12:33 +0900"
	<19980827181233H.taoka@infonets.hiroshima-u.ac.jp>
References: <19980827181233H.taoka@infonets.hiroshima-u.ac.jp>
X-Mailer: Mew version 1.92.4 on XEmacs 20.4 (Emerald)
X-URL: http://www.infonets.hiroshima-u.ac.jp/~taoka/
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Fri_Aug_28_09:52:03_1998_809)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19980828095208N.taoka@infonets.hiroshima-u.ac.jp>
Date: Fri, 28 Aug 1998 09:52:08 +0900
X-Dispatcher: imput version 971024
Lines: 57
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980820
X-Sequence: FreeBSD-users-jp 32231
Subject: [FreeBSD-users-jp 32231] Re: [ports-jp 4172] Re: jvim visual mode on FreeBSD-2.2.6
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

----Next_Part(Fri_Aug_28_09:52:03_1998_809)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit


$BED2,$G$9!#(B

From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Subject: [ports-jp 4172] Re: [FreeBSD-users-jp 31114] Re: jvim visual mode on FreeBSD-2.2.6
Date: Thu, 27 Aug 1998 18:12:33 +0900
Message-ID: <19980827181233H.taoka@infonets.hiroshima-u.ac.jp>

> 
> $B$*4j$$$7$^$9!#(B
> 
> japanese/jvim/patch-ac$B$H$7$FCV$$$F$/$@$5$$!#(B
> 

$B$3$N%Q%C%A$h$j!":#EY$N%Q%C%A$NJ}$,NI$$$G$7$g$&!#$3$l$O!"(Bjvim3$B$+$i<h$C$F(B
$B$-$^$7$?!#(Bjapanese/jvim/patch-ac$B$H$7$FCV$$$F!J>e=q$-$7$F!K$/$@$5$$!#(B



----Next_Part(Fri_Aug_28_09:52:03_1998_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: patch-ac

--- src/term.c.orig	Fri Jun 30 12:32:40 1995
+++ src/term.c	Thu Aug 27 22:08:57 1998
@@ -916,15 +916,22 @@
 /*
  * enable cursor, unless in Visual mode or no inversion possible
  */
+static int cursor_is_off = FALSE;
+
 	void
 cursor_on()
 {
-	if (!Visual.lnum || T_TI == NULL || *T_TI == NUL)
+	if (cursor_is_off && (!Visual.lnum || T_TI == NULL || *T_TI == NUL))
+	{
 		outstr(T_CV);
+		cursor_is_off = FALSE;
+	}
 }
 
 	void
 cursor_off()
 {
-	outstr(T_CI);			/* disable cursor */
+	if (!cursor_is_off)
+		outstr(T_CI);			/* disable cursor */
+	cursor_is_off = TRUE;
 }

----Next_Part(Fri_Aug_28_09:52:03_1998_809)----
