summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_vtf.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-30 01:43:09 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-30 01:43:09 +0000
commit17dc69f58e515ad8a31ac2f0325d9425229421a8 (patch)
tree09f4c7571c07751a14ee62cbfcd3ebe7acbf8e2a /sys/arch/i386/isa/pcvt/pcvt_vtf.c
parenteb7a0bdc25b5741b2485f4f4de393df5a73c9b59 (diff)
add koi8 support
from Roman Palagin <romanp@mutant.mybody.ryazan.ru>
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_vtf.c')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_vtf.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_vtf.c b/sys/arch/i386/isa/pcvt/pcvt_vtf.c
index 8cb9751836f..bf2b37d2c49 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_vtf.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_vtf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_vtf.c,v 1.4 1996/05/07 13:07:06 mickey Exp $ */
+/* $OpenBSD: pcvt_vtf.c,v 1.5 1997/05/30 01:43:07 mickey Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -950,6 +950,12 @@ vt_designate(struct video_state *svsp)
#endif
break;
+ case 'X': /* KOI8 hack */
+#ifdef HAVECSE_KOI8
+ ctp = cse_koi8;
+#endif
+ break;
+
case 'Y': /* Italian */
#ifdef HAVECSE_ITALIAN
ctp = cse_italian;
@@ -1085,6 +1091,12 @@ vt_designate(struct video_state *svsp)
#endif
break;
+ case 'X': /* KOI8 hack */
+#ifdef HAVECSD_KOI8
+ ctp = csd_koi8;
+#endif
+ break;
+
case 'Y': /* Italian */
#ifdef HAVECSD_ITALIAN
ctp = csd_italian;