From 830513d1c437ba76d863e4ec8a483c3e33812f19 Mon Sep 17 00:00:00 2001 From: fredb Date: Sun, 10 Feb 2002 22:49:53 +0000 Subject: Boy, do I suck. Allen Briggs forwarded these patches from Steven Carlson , to do vt line draw characters, to me over *two* *years* ago! --- misc/dt/Makefile | 3 ++- misc/dt/distinfo | 4 +++- misc/dt/patches/patch-ac | 12 ++++++++++++ misc/dt/patches/patch-ad | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 misc/dt/patches/patch-ac create mode 100644 misc/dt/patches/patch-ad diff --git a/misc/dt/Makefile b/misc/dt/Makefile index 16a7cd599c0..ab3c61e0aff 100644 --- a/misc/dt/Makefile +++ b/misc/dt/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2001/07/13 14:41:20 fredb Exp $ +# $NetBSD: Makefile,v 1.13 2002/02/10 22:49:53 fredb Exp $ # DISTNAME= dt-1.1.7 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_LOCAL} diff --git a/misc/dt/distinfo b/misc/dt/distinfo index 1e43b3d5759..bf14b6e3664 100644 --- a/misc/dt/distinfo +++ b/misc/dt/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 13:52:10 agc Exp $ +$NetBSD: distinfo,v 1.3 2002/02/10 22:49:54 fredb Exp $ SHA1 (dt-1.1.7.tar.gz) = 024c3137185dd93ced163e82227f53cfb79b993e Size (dt-1.1.7.tar.gz) = 119975 bytes SHA1 (patch-aa) = 9877c123f2f7f13ece91b40a70fb490524e53f18 SHA1 (patch-ab) = 9d9971e5eaf8c7e8d7206d4174dfa4ccc8baae46 +SHA1 (patch-ac) = 7db0a983bceb13b2d723f69b10f0155b40f510e5 +SHA1 (patch-ad) = 9e59b43fe53c9873e7e71c9ffe00c21e4a178c6b diff --git a/misc/dt/patches/patch-ac b/misc/dt/patches/patch-ac new file mode 100644 index 00000000000..2ec7f0031d4 --- /dev/null +++ b/misc/dt/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1 2002/02/10 22:49:55 fredb Exp $ + +--- vt.h.orig Sun Jun 9 07:32:33 1996 ++++ vt.h Thu Feb 7 09:12:59 2002 +@@ -20,6 +20,7 @@ + #define T_REVERSE 0x04 + #define T_SELECTED 0x08 + #define T_INSERT 0x10 ++#define T_G0 0x20 + + /* Cursor types */ + #define C_BLOCK 0x01 diff --git a/misc/dt/patches/patch-ad b/misc/dt/patches/patch-ad new file mode 100644 index 00000000000..1291486cf5a --- /dev/null +++ b/misc/dt/patches/patch-ad @@ -0,0 +1,37 @@ +$NetBSD: patch-ad,v 1.1 2002/02/10 22:49:55 fredb Exp $ + +--- vt.c.orig Fri May 24 10:13:52 1996 ++++ vt.c Thu Feb 7 09:12:59 2002 +@@ -748,6 +748,9 @@ + register int line, i; + + if (v->state == ESnormal && ch >= ' ' && ch < 256) { ++ if ( (v->attr & T_G0) && ch >= 'a' && ch <= 'z') ++ ch -= 95; ++ + if (v->hanging_cursor) { + v->x = 0; + movecursordown(v); +@@ -800,8 +803,10 @@ + v->hanging_cursor = 0; + return; + case 14: ++ v->attr |= T_G0; + return; /* Alternate font (^N) */ + case 15: ++ v->attr &= ~T_G0; + return; /* Normal font (^O) */ + case 24: /* (^X) */ + case 26: +@@ -1071,9 +1076,11 @@ + case ESsetG0: + if (ch == '0') { + /* Set graphics character set */ ++ v->attr |= T_G0; + } else + if (ch == 'B') { + /* Set normal character set */ ++ v->attr &= ~T_G0; + } else + if (ch == 'U') { + /* Set null character set */ -- cgit v1.2.3