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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Jan 2022 20:55:19 UTC

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
The aliases were introduced here:

commit 7344ee184bebe6d1df0c60f09d4952653c47c1d8
Author: Marius Strobl <marius@FreeBSD.org>
Date:   Fri Jun 27 19:57:57 2014 +0000

    In order to get vt(4) a bit closer to the feature set provided by sc(4),
    implement options TERMINAL_{KERN,NORM}_ATTR. These are aliased to
    SC_{KERNEL_CONS,NORM}_ATTR and like these latter, allow to change the
    default colors of normal and kernel text respectively.
    Note on the naming: Although affecting the output of vt(4), technically
    kern/subr_terminal.c is primarily concerned with changing default colors
    so it would be inconsistent to term these options VT_{KERN,NORM}_ATTR.
    Actually, if the architecture and abstraction of terminal+teken+vt would
    be perfect, dev/vt/* wouldn't be touched by this commit at all.

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