Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 18:21:29 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        andrew@ugh.net.au, hackers@FreeBSD.ORG
Subject:   Re: Hiding the cursor on the console
Message-ID:  <20001121182128.D9661@ringworld.oblivion.bg>
In-Reply-To: <20001121100533.B23358@dan.emsphone.com>; from dnelson@emsphone.com on Tue, Nov 21, 2000 at 10:05:33AM -0600
References:  <Pine.BSF.4.21.0011212356500.34727-100000@starbug.ugh.net.au> <20001121100533.B23358@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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