From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 17:47:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5166641B for ; Thu, 11 Sep 2014 17:47:42 +0000 (UTC) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id 1688ECD2 for ; Thu, 11 Sep 2014 17:47:41 +0000 (UTC) Received: from [204.210.114.114] ([204.210.114.114:56294] helo=localhost.hawaii.res.rr.com) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 0A/0B-08080-630E1145; Thu, 11 Sep 2014 17:47:35 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id 950235D69; Thu, 11 Sep 2014 07:50:16 -1000 (HST) Date: Thu, 11 Sep 2014 07:50:16 -1000 From: parv@pair.com To: Thomas Dickey Subject: Re: vim and cursor-over-"chars" question Message-ID: <20140911175016.GA1577@holstein.holy.cow> Mail-Followup-To: Thomas Dickey , Johannes-Maria Kaltenbach , freebsd-questions@freebsd.org References: <20140910131448.GA1574@holstein.holy.cow> <1490805295.22897370.1410378589785.JavaMail.root@his.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1490805295.22897370.1410378589785.JavaMail.root@his.com> X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=d5x7yHTE c=1 sm=1 tr=0 a=lLOF/jpPrR0dcgWXP1EvZg==:117 a=lLOF/jpPrR0dcgWXP1EvZg==:17 a=ayC55rCoAAAA:8 a=d6ebF5wNKiAA:10 a=ffvOtQSCAxIA:10 a=R5FhY6rjjCMA:10 a=kj9zAlcOel0A:10 a=Ymsr-CWnAAAA:8 a=s8ef7jeFeYUA:10 a=_4t1cQFnAAAA:8 a=40-QJ1P-HR87bA3oGbcA:9 a=CjuIK1q_8ugA:10 a=BdjkKoYnL98A:10 a=v2EulsF24l4A:10 X-Cloudmark-Score: 0 Cc: Johannes-Maria Kaltenbach , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 17:47:42 -0000 in message <1490805295.22897370.1410378589785.JavaMail.root@his.com>, wrote Thomas Dickey thusly... > > ----- Original Message ----- > | From: "Parv" ... > | Only thing is that cursor color (with which xterm was started) is > | not restored after editing or opening a file in vim. > > A 112 (in contrast to 12) is supposed to reset the cursor color to > its initial value. Using that would help eliminate the explicit > color here. Thanks Thomas. That indeed does happen after I had changed the escape code ... autocmd VimLeave * silent !echo -ne "\033]112;\x7" Everything is right with (this small portion of) the world now. --