From owner-freebsd-hackers Tue Nov 21 8:21:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (pool34-tch-1.Sofia.0rbitel.net [212.95.170.34]) by hub.freebsd.org (Postfix) with SMTP id 87C0137B479 for ; Tue, 21 Nov 2000 08:21:53 -0800 (PST) Received: (qmail 32246 invoked by uid 1000); 21 Nov 2000 16:21:29 -0000 Date: Tue, 21 Nov 2000 18:21:29 +0200 From: Peter Pentchev To: Dan Nelson Cc: andrew@ugh.net.au, hackers@FreeBSD.ORG Subject: Re: Hiding the cursor on the console Message-ID: <20001121182128.D9661@ringworld.oblivion.bg> Mail-Followup-To: Dan Nelson , andrew@ugh.net.au, hackers@FreeBSD.ORG References: <20001121100533.B23358@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001121100533.B23358@dan.emsphone.com>; from dnelson@emsphone.com on Tue, Nov 21, 2000 at 10:05:33AM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 21, 2000 at 10:05:33AM -0600, Dan Nelson wrote: > In the last episode (Nov 21), andrew@ugh.net.au said: > > Hi, > > > > Is it possible to hide the (text) cursor when using syscons? There is > > no vi attribute defined for the cons25 termcap record...is this an > > oversite or is it not possible? > > You can cheat by setting the cursor shape to an invalid one, which will > turn it off, then setting it back to normal when you want to turn it on > again: > > off: ESC [=16;15C ESC [=3C > on: ESC [=15;16C ESC [=3C That's what I've tried doing, but I'm stumbling into a funny syscons behavior - the cursor shape is maintained across consoles, it is impossible to change it for a certain console only. Thus, when I define a 'hide cursor' termcap attribute, all my consoles lose the cursor whenever I fire up mutt :\ A cursor-shape-per-console syscons patch has been on my todo list for quite some time now; just never seem to find the time for it :( G'luck, Peter -- If I were you, who would be reading this sentence? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message