xref: /openbsd-src/sys/dev/wscons/wscons_features.h (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1 /* $OpenBSD: wscons_features.h,v 1.3 2013/10/18 22:06:40 miod Exp $ */
2 /* public domain */
3 
4 /*
5  * This file contains the logic used to enable several optional features
6  * of the wscons framework:
7  *
8  * HAVE_WSMOUSED_SUPPORT
9  *	defined to enable support for wsmoused(8)
10  * HAVE_BURNER_SUPPORT
11  *	defined to enable screen blanking functionnality, controlled by
12  *	wsconsctl(8)
13  * HAVE_SCROLLBACK_SUPPORT
14  *	defined to enable xterm-like shift-PgUp scrollback if the underlying
15  *	wsdisplay supports this
16  * HAVE_JUMP_SCROLL
17  *	defined to enable jump scroll in the textmode emulation code
18  * HAVE_UTF8_SUPPORT
19  *	defined to enable UTF-8 mode and escape sequences in the textmode
20  *	emulation code
21  * HAVE_RESTARTABLE_EMULOPS
22  *	defined to disable most of the restartable emulops code (to be used
23  *	only if all wsdisplay drivers are compliant, i.e. no udl(4) in the
24  *	kernel configuration)
25  */
26 
27 #ifdef _KERNEL
28 
29 #ifndef	SMALL_KERNEL
30 #define	HAVE_WSMOUSED_SUPPORT
31 #define	HAVE_BURNER_SUPPORT
32 #define	HAVE_SCROLLBACK_SUPPORT
33 #define	HAVE_JUMP_SCROLL
34 #define	HAVE_UTF8_SUPPORT
35 #define	HAVE_RESTARTABLE_EMULOPS
36 #endif
37 
38 #endif
39