1 /* $OpenBSD: wscons_features.h,v 1.5 2023/01/12 20:39:37 nicm 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 functionality, 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 * HAVE_DOUBLE_WIDTH_HEIGHT 26 * defined to enable escape sequences for double width and height 27 * characters 28 */ 29 30 #ifdef _KERNEL 31 32 #ifndef SMALL_KERNEL 33 #define HAVE_WSMOUSED_SUPPORT 34 #define HAVE_BURNER_SUPPORT 35 #define HAVE_SCROLLBACK_SUPPORT 36 #define HAVE_JUMP_SCROLL 37 #define HAVE_UTF8_SUPPORT 38 #define HAVE_RESTARTABLE_EMULOPS 39 #define HAVE_DOUBLE_WIDTH_HEIGHT 40 #endif 41 42 #endif 43