summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-14 03:44:15 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-14 03:44:15 +0000
commit7c0ac42518354e8af2ac7c3a15143615b8c0515a (patch)
tree408c2c1c4feb83a2f271ecdfae19ba5dcbad0a58 /x11-terms/eterm/files
parentsparc unmask (diff)
downloadgentoo-2-7c0ac42518354e8af2ac7c3a15143615b8c0515a.tar.gz
gentoo-2-7c0ac42518354e8af2ac7c3a15143615b8c0515a.tar.bz2
gentoo-2-7c0ac42518354e8af2ac7c3a15143615b8c0515a.zip
ansi16 patch #26547
Diffstat (limited to 'x11-terms/eterm/files')
-rw-r--r--x11-terms/eterm/files/0.9.2-ansi16.patch54
-rw-r--r--x11-terms/eterm/files/digest-eterm-0.9.2-r52
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-terms/eterm/files/0.9.2-ansi16.patch b/x11-terms/eterm/files/0.9.2-ansi16.patch
new file mode 100644
index 000000000000..63ea9dd62097
--- /dev/null
+++ b/x11-terms/eterm/files/0.9.2-ansi16.patch
@@ -0,0 +1,54 @@
+diff -r -u -d Eterm-0.9.2-orig/src/screen.c Eterm-0.9.2-current/src/screen.c
+--- Eterm-0.9.2-orig/src/screen.c 2002-10-07 21:18:08.000000000 -0500
++++ Eterm-0.9.2-current/src/screen.c 2003-07-31 10:00:59.000000000 -0500
+@@ -488,11 +488,6 @@
+ #ifndef NO_BRIGHTCOLOR
+ if ((rstyle & Intensity) && color >= minColor && color <= maxColor)
+ color += (minBright - minColor);
+- else if (color >= minBright && color <= maxBright) {
+- if (rstyle & Intensity)
+- return;
+- color -= (minBright - minColor);
+- }
+ #endif
+ }
+ }
+diff -r -u -d Eterm-0.9.2-orig/src/term.c Eterm-0.9.2-current/src/term.c
+--- Eterm-0.9.2-orig/src/term.c 2002-10-22 22:03:26.000000000 -0500
++++ Eterm-0.9.2-current/src/term.c 2003-07-31 10:01:09.000000000 -0500
+@@ -1646,6 +1646,35 @@
+ case 49: /* default bg */
+ scr_color(restoreBG, RS_Blink);
+ break;
++
++ case 90:
++ case 91: /* set fg color - bright */
++ case 92:
++ case 93:
++ case 94:
++ case 95:
++ case 96:
++ case 97:
++ scr_color(minBright + (arg[i] - 90), RS_Bold);
++ break;
++ case 99: /* default fg */
++ scr_color(restoreFG, RS_Bold);
++ break;
++
++ case 100:
++ case 101: /* set bg color - bright*/
++ case 102:
++ case 103:
++ case 104:
++ case 105:
++ case 106:
++ case 107:
++ scr_color(minBright + (arg[i] - 100), RS_Blink);
++ break;
++ case 109: /* default bg */
++ scr_color(restoreBG, RS_Blink);
++ break;
++
+ }
+ }
+
diff --git a/x11-terms/eterm/files/digest-eterm-0.9.2-r5 b/x11-terms/eterm/files/digest-eterm-0.9.2-r5
new file mode 100644
index 000000000000..04c1c525781f
--- /dev/null
+++ b/x11-terms/eterm/files/digest-eterm-0.9.2-r5
@@ -0,0 +1,2 @@
+MD5 e8c82cf52b25fdd51d16ff76b993ba68 Eterm-0.9.2.tar.gz 662636
+MD5 fb465e84f24de348e31bb9fd4d430071 Eterm-bg-0.9.2.tar.gz 379832