summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wscons_features.h
blob: 58ffaeb2ca77d5332f77f0598857a032b0949c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* $OpenBSD: wscons_features.h,v 1.3 2013/10/18 22:06:40 miod Exp $ */
/* public domain */

/*
 * This file contains the logic used to enable several optional features
 * of the wscons framework:
 *
 * HAVE_WSMOUSED_SUPPORT
 *	defined to enable support for wsmoused(8)
 * HAVE_BURNER_SUPPORT
 *	defined to enable screen blanking functionnality, controlled by
 *	wsconsctl(8)
 * HAVE_SCROLLBACK_SUPPORT
 *	defined to enable xterm-like shift-PgUp scrollback if the underlying
 *	wsdisplay supports this
 * HAVE_JUMP_SCROLL
 *	defined to enable jump scroll in the textmode emulation code
 * HAVE_UTF8_SUPPORT
 *	defined to enable UTF-8 mode and escape sequences in the textmode
 *	emulation code
 * HAVE_RESTARTABLE_EMULOPS
 *	defined to disable most of the restartable emulops code (to be used
 *	only if all wsdisplay drivers are compliant, i.e. no udl(4) in the
 *	kernel configuration)
 */

#ifdef _KERNEL

#ifndef	SMALL_KERNEL
#define	HAVE_WSMOUSED_SUPPORT
#define	HAVE_BURNER_SUPPORT
#define	HAVE_SCROLLBACK_SUPPORT
#define	HAVE_JUMP_SCROLL
#define	HAVE_UTF8_SUPPORT
#define	HAVE_RESTARTABLE_EMULOPS
#endif

#endif