summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsemul_vt100_chars.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-10-18 22:06:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-10-18 22:06:43 +0000
commitda16c4a585db0f4d4c68c63f8e1ec68bad619792 (patch)
tree1dd99714301bad2a62381dbe13004d2239dffef4 /sys/dev/wscons/wsemul_vt100_chars.c
parent0c0471767b4261526224c8ef1d331039f4c50a3a (diff)
UTF-8 support for wsdisplay emulation modes. Both vt100 and sun emulation
will now recognize xterm-compatible escape sequences ESC % G and ESC % @ to enter and leave UTF-8 mode, respectively. Not enabled on SMALL_KERNEL. Most of this written during c2k7, completed during b2k13. Note that the value of several international keysyms change, to switch from ISO Latin-[257] values to the real Unicode values. Be sure to update your includes and rebuild and install wsconsctl.
Diffstat (limited to 'sys/dev/wscons/wsemul_vt100_chars.c')
-rw-r--r--sys/dev/wscons/wsemul_vt100_chars.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsemul_vt100_chars.c b/sys/dev/wscons/wsemul_vt100_chars.c
index 373a34ab4fd..521a91d9dcd 100644
--- a/sys/dev/wscons/wsemul_vt100_chars.c
+++ b/sys/dev/wscons/wsemul_vt100_chars.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsemul_vt100_chars.c,v 1.7 2009/12/10 16:35:28 oga Exp $ */
+/* $OpenBSD: wsemul_vt100_chars.c,v 1.8 2013/10/18 22:06:41 miod Exp $ */
/* $NetBSD: wsemul_vt100_chars.c,v 1.4 1999/02/20 18:20:02 drochner Exp $ */
/*
@@ -29,6 +29,8 @@
#include <sys/param.h>
#include <sys/systm.h>
+
+#include <dev/wscons/wscons_features.h>
#include <dev/wscons/wsconsio.h>
#include <dev/wscons/wsdisplayvar.h>
#include <dev/wscons/wsksymvar.h>