summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2014-06-30 09:59:23 +0000
committermarius <marius@FreeBSD.org>2014-06-30 09:59:23 +0000
commit618ac05759258204b881c19e2ddbe3955e5a1140 (patch)
tree490faff01aad74d3bbd5571161ecea69857c7cae /sys/conf/options
parentfa72c237e4d9a4d5abcedfa528f932e33fbfecdf (diff)
downloadFreeBSD-src-618ac05759258204b881c19e2ddbe3955e5a1140.zip
FreeBSD-src-618ac05759258204b881c19e2ddbe3955e5a1140.tar.gz
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
Diffstat (limited to 'sys/conf/options')
-rw-r--r--sys/conf/options3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/options b/sys/conf/options
index f0c8b46..8b2b1e9 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -765,10 +765,11 @@ SC_TWOBUTTON_MOUSE opt_syscons.h
DEV_SC opt_syscons.h
DEV_VT opt_syscons.h
-
# teken terminal emulator options
TEKEN_CONS25 opt_teken.h
TEKEN_UTF8 opt_teken.h
+TERMINAL_KERN_ATTR opt_teken.h
+TERMINAL_NORM_ATTR opt_teken.h
# options for printf
PRINTF_BUFR_SIZE opt_printf.h
OpenPOWER on IntegriCloud