Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2017 11:55:00 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        Bruce Evans <bde@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r316642 - head/sys/dev/syscons
Message-ID:  <5d76f933-7d70-411f-9233-0f1e6b72023e@freebsd.org>
In-Reply-To: <20170409150512.B1318@besplex.bde.org>
References:  <201704081000.v38A0dBU078784@repo.freebsd.org> <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.org> <20170409150512.B1318@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09.04.2017 9:46, Bruce Evans wrote:
>> Please don't forget that this 5 cells range (0xd0-0xd4, last one becomes
>> SC_CURSOR_CHAR) can be redefined with "vidcontrol -M", it is needed for
>> the case they overlap valid characters region for some code tables.
> 
> I didn't forget it, but these cells are only used in text mode and there
> are only 4 of them AFAIK (-M goes up to 252, which leaves space for only
> 4 cells 252-255).  Text mode is is one case that has no renderer support
> for the mouse cursor.

Here is 5th one (depends of SC_MOUSE_CHAR which can be set in the kernel
config):

#if SC_MOUSE_CHAR <= SC_CURSOR_CHAR && SC_CURSOR_CHAR < (SC_MOUSE_CHAR + 4)
#undef SC_CURSOR_CHAR
#define SC_CURSOR_CHAR  (SC_MOUSE_CHAR + 4)
#endif

> NOTES gives the example of setting it to 0x3.  Then if the configured
> SC_CURSOR_CHAR is inside the 4-char range for the mouse cursor, then

AFAIK SC_CURSOR_CHAR kernel config or vidcontrol is not supported.

> There is no way to reconfigure the cursor char AFAIK.  In fact, it
> doesn't even seem to be configured -- SC_CURSOR_CHAR is never used,

I remember times it was used but not remember how, log history needs to
be browsed.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5d76f933-7d70-411f-9233-0f1e6b72023e>