kern/188196: vt(4) text cursor invisible in reverse video
Claude Buisson
clbuisson at orange.fr
Wed Apr 2 10:50:01 UTC 2014
>Number: 188196
>Category: kern
>Synopsis: vt(4) text cursor invisible in reverse video
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 02 10:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Claude Buisson
>Release: 11.0-CURRENT
>Organization:
none
>Environment:
FreeBSD 11.0-CURRENT #0 r260577M: Sat Jan 18 17:31:37 CET 2014
toor at fidel:/home/obj/home/src/sys/ADELE11X i386
>Description:
In console/text mode, the vt(4) cursor disappears when the application
switches to reverse video, e.g. when exiting and saving a file edited with nano.
>How-To-Repeat:
see Description
>Fix:
I use the following patch
Patch attached with submission follows:
--- sys/dev/vt/vt_core.c.orig 2013-12-26 15:25:37.000000000 +0100
+++ sys/dev/vt/vt_core.c 2014-03-22 13:44:54.000000000 +0100
@@ -667,8 +667,11 @@
}
if (cursor) {
+ term_color_t tmp;
+
+ tmp = *fg;
*fg = *bg;
- *bg = TC_WHITE;
+ *bg = tmp;
}
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list