From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 19:50:03 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 B883BE09 for ; Wed, 10 Sep 2014 19:50:03 +0000 (UTC) Received: from smtp-nf-201.his.com (smtp-nf-201.his.com [216.194.248.24]) by mx1.freebsd.org (Postfix) with ESMTP id 7D14031B for ; Wed, 10 Sep 2014 19:50:03 +0000 (UTC) Received: from cuda201.his.com (cuda201.his.com [216.194.248.226]) by smtp-nf-201.his.com (Postfix) with ESMTPS id D99FF625D8 for ; Wed, 10 Sep 2014 15:49:55 -0400 (EDT) X-ASG-Debug-ID: 1410378595-061c410fece81390001-jLrpzn Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.251.28]) by cuda201.his.com with ESMTP id 46m1TiygA1cVEAcu; Wed, 10 Sep 2014 15:49:55 -0400 (EDT) X-Barracuda-Envelope-From: dickey@his.com X-Barracuda-Apparent-Source-IP: 216.194.251.28 Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by smtp-nf-202.his.com (Postfix) with ESMTP id 4D0EA60248; Wed, 10 Sep 2014 15:49:55 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-sterling.his.com (Postfix) with ESMTP id 39BF43F90014; Wed, 10 Sep 2014 15:49:54 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail-sterling.his.com Received: from mail-sterling.his.com ([127.0.0.1]) by localhost (mail-sterling.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nGKx2i3qLYPv; Wed, 10 Sep 2014 15:49:49 -0400 (EDT) Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by mail-sterling.his.com (Postfix) with ESMTP id D4F4C3F80006; Wed, 10 Sep 2014 15:49:49 -0400 (EDT) Date: Wed, 10 Sep 2014 15:49:49 -0400 (EDT) From: Thomas Dickey To: Parv Message-ID: <1490805295.22897370.1410378589785.JavaMail.root@his.com> In-Reply-To: <20140910131448.GA1574@holstein.holy.cow> Subject: Re: vim and cursor-over-"chars" question MIME-Version: 1.0 X-ASG-Orig-Subj: Re: vim and cursor-over-"chars" question Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [96.231.164.93] X-Mailer: Zimbra 7.2.6_GA_2926 (ZimbraWebClient - FF3.0 (Mac)/7.2.6_GA_2926) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.251.28] X-Barracuda-Start-Time: 1410378595 X-Barracuda-URL: http://spam.his.com:80/cgi-mod/mark.cgi Received-SPF: pass (his.com: domain of dickey@his.com designates 216.194.248.141 as permitted sender) X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.9350 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 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: Wed, 10 Sep 2014 19:50:03 -0000 ----- Original Message ----- | From: "Parv" | To: "Johannes-Maria Kaltenbach" | Cc: freebsd-questions@freebsd.org | Sent: Wednesday, September 10, 2014 9:14:48 AM | Subject: Re: vim and cursor-over-"chars" question | | in message <20140910132008.GA1958@localhost>, | wrote Johannes-Maria Kaltenbach thusly... | > | ... | > or you can set this xterm configuration in your .vimrc: | > | > for cursor in command mode: | > | > let &t_EI = "\]12;orange\x7" | > | > and in insert mode: | > | > let &t_SI = "\]12;orange\x7" | > | > where you can choose a different colour. | | Thanks much, Johannes-Maria. | | Only thing is that cursor color (with which xterm was started) is | not restored after editing or opening a file in vim. I can live with | that. 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. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net