Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2022 18:53:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261311] vt newcons does not respect colors set in kernel configuration file
Message-ID:  <bug-261311-227-69IexBKpeg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261311-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261311-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261311

--- 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 m=
any
different graphics cards, so I am sure that the hardware used does not matt=
er.


# Regarding PR 261311
# ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261311 )
# 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#L12=
7 )
# it looks like that this "backwards compatibility" still is there.
# So these following two settings are just there to make sure that=20
# there is something wrong with vt.
options         TERMINAL_NORM_ATTR=3D(FG_BLACK|BG_GREEN)
options         TERMINAL_KERN_ATTR=3D(FG_BLACK|BG_RED)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261311-227-69IexBKpeg>