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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Jan 2022 18:53:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261311

--- Comment #3 from Stefan B. <sblachmann@gmail.com> ---
Sorry for late reply.

I added the section below to the kernel configuration file and
it definitely has no effect at all.

I have tested this (and other things) on several different computers with many
different graphics cards, so I am sure that the hardware used does not matter.


# Regarding PR 261311
# ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261311 )
# According to `man 4 vt`, section 'BACKWARDS COMPATIBILITY',
# the above console color settings should work for vt also.
# Looking at terminal.h
# ( https://github.com/freebsd/freebsd-src/blob/main/sys/sys/terminal.h#L127 )
# it looks like that this "backwards compatibility" still is there.
# So these following two settings are just there to make sure that 
# there is something wrong with vt.
options         TERMINAL_NORM_ATTR=(FG_BLACK|BG_GREEN)
options         TERMINAL_KERN_ATTR=(FG_BLACK|BG_RED)

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