summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2014-06-27 19:57:57 +0000
committermarius <marius@FreeBSD.org>2014-06-27 19:57:57 +0000
commit15fe259895ce22ded690e2608d9f322a37a0a525 (patch)
tree5659c928ca0c4b04ac6a04a7214171d103c50f90 /sys/conf/options
parent8015212d04e705b06b7914e7f1a706cede984a3b (diff)
downloadFreeBSD-src-15fe259895ce22ded690e2608d9f322a37a0a525.zip
FreeBSD-src-15fe259895ce22ded690e2608d9f322a37a0a525.tar.gz
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 MFC after: 3 days 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 32fb4d4..7503b8b 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -763,10 +763,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