svn commit: r316642 - head/sys/dev/syscons
Andrey Chernov
ache at freebsd.org
Sun Apr 9 08:55:16 UTC 2017
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.
More information about the svn-src-all
mailing list