summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2000-09-15 14:09:10 +0000
committerdrochner <drochner@NetBSD.org>2000-09-15 14:09:10 +0000
commit8d027cedf8bf9f668530e51670f3ec2f2ea91f97 (patch)
tree668ec0c538b9b2111046eab98cb784e4fc50de42 /sys
parentef12b8c8456b15aecd6ac605571bf690e137638c (diff)
add definitions for ISO-7 (greek) support
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/files.wscons4
-rw-r--r--sys/dev/wscons/wsconsio.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/wscons/files.wscons b/sys/dev/wscons/files.wscons
index 06eab6a13c5..39351712646 100644
--- a/sys/dev/wscons/files.wscons
+++ b/sys/dev/wscons/files.wscons
@@ -1,4 +1,4 @@
-# $NetBSD: files.wscons,v 1.19 1999/12/12 08:17:28 scottr Exp $
+# $NetBSD: files.wscons,v 1.20 2000/09/15 14:09:10 drochner Exp $
#
# "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
@@ -20,7 +20,7 @@ defopt opt_wsdisplay_compat.h WSDISPLAY_COMPAT_USL WSCOMPAT_USL_SYNCTIMEOUT
WSDISPLAY_COMPAT_RAWKBD
WSDISPLAY_COMPAT_PCVT WSDISPLAY_COMPAT_SYSCONS
WSDISPLAY_DEFAULTSCREENS
- WSCONS_SUPPORT_PCVTFONTS
+ WSCONS_SUPPORT_PCVTFONTS WSCONS_SUPPORT_ISO7FONTS
# this loses, but there's no way to define attributes which have attributes
device wsdisplay #tty?
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index ce4b2bb2c08..2f8e1bfdebb 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsio.h,v 1.32 2000/07/06 16:29:49 hannken Exp $ */
+/* $NetBSD: wsconsio.h,v 1.33 2000/09/15 14:09:10 drochner Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -302,6 +302,7 @@ struct wsdisplay_font {
#define WSDISPLAY_FONTENC_ISO 0
#define WSDISPLAY_FONTENC_IBM 1
#define WSDISPLAY_FONTENC_PCVT 2
+#define WSDISPLAY_FONTENC_ISO7 3 /* greek */
int fontwidth, fontheight, stride;
int bitorder, byteorder;
#define WSDISPLAY_FONTORDER_KNOWN 0 /* i.e, no need to convert */