diff options
author | fredb <fredb> | 2002-02-10 22:49:53 +0000 |
---|---|---|
committer | fredb <fredb> | 2002-02-10 22:49:53 +0000 |
commit | e2b6a46dff2275a573117f6a10dcee34cd7e5714 (patch) | |
tree | cbf03c4fbb766781c9349cd8d93cfef78c6f22bc /misc | |
parent | 639e5481206b47b578d971092b401f1f01842f51 (diff) | |
download | pkgsrc-e2b6a46dff2275a573117f6a10dcee34cd7e5714.tar.gz |
Boy, do I suck. Allen Briggs forwarded these patches from
Steven Carlson <stevec@accessone.com>, to do vt line draw
characters, to me over *two* *years* ago!
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dt/Makefile | 3 | ||||
-rw-r--r-- | misc/dt/distinfo | 4 | ||||
-rw-r--r-- | misc/dt/patches/patch-ac | 12 | ||||
-rw-r--r-- | misc/dt/patches/patch-ad | 37 |
4 files changed, 54 insertions, 2 deletions
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 */ |