[Bug 261311] vt newcons does not respect colors set in kernel configuration file

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Jan 2022 16:08:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261311

            Bug ID: 261311
           Summary: vt newcons does not respect colors set in kernel
                    configuration file
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: sblachmann@gmail.com

Colors set in kernel configuration file are ignored by vt, while being
respected by sc.

Having only white on black is hard on the eyes.
Thus I wish colors would work.

The following kernel configuration works fine for sc, but has no effect on vt:

ident           EXAMPLE
include         GENERIC
nooptions       VESA
device          splash

device          sc
nooptions       SC_PIXEL_MODE
options         SC_HISTORY_SIZE=5000
options         SC_NORM_ATTR=(FG_BLACK|BG_GREEN)
options         SC_NORM_REV_ATTR=(FG_BLACK|BG_CYAN)
options         SC_KERNEL_CONS_ATTR=(FG_BLACK|BG_RED)
options         SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_BROWN)

According to the vt man page, these settings should be accepted by vt also.

-- 
You are receiving this mail because:
You are the assignee for the bug.