Date: Wed, 2 Apr 2014 10:41:15 GMT From: Claude Buisson <clbuisson@orange.fr> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/188196: vt(4) text cursor invisible in reverse video Message-ID: <201404021041.s32AfFX2009659@cgiserv.freebsd.org> Resent-Message-ID: <201404021050.s32Ao0h7086011@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404021041.s32AfFX2009659>