]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r267978
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 30 Jun 2014 09:59:23 +0000 (09:59 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 30 Jun 2014 09:59:23 +0000 (09:59 +0000)
commitf615f81a43e8a05ac6b180a1b2fb2b61293da8cf
tree490faff01aad74d3bbd5571161ecea69857c7cae
parent4cb78c985e3c8abf1b386c6b46a2e8fe30f0e904
MFC: r267978

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.

Reviewed by: emaste
Sponsored by: Bally Wulff Games & Entertainment GmbH

git-svn-id: svn://svn.freebsd.org/base/stable/10@268037 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man4/vt.4
sys/conf/options
sys/dev/vt/vt.h
sys/dev/vt/vt_buf.c
sys/dev/vt/vt_core.c
sys/kern/subr_terminal.c
sys/sys/terminal.h