Enlightenment CVS committal
Author : mej
Project : eterm
Module : Eterm
Dir : eterm/Eterm/src
Modified Files:
screen.c term.c
Log Message:
Tue Jul 29 22:47:18 2003 Michael Jennings (mej)
Patch from David Lloyd <[EMAIL PROTECTED]> to support ANSI sequences for
bright colors. I haven't tested this, so I hope it works. *grin*
Also, commented out the F1-F10 bindings in the Escreen theme; they're
too intrusive.
Added support for Ctrl-t to open a new Escreen "tab" (as with
Mozilla).
===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/src/screen.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- screen.c 22 Apr 2003 15:14:20 -0000 1.71
+++ screen.c 30 Jul 2003 02:50:13 -0000 1.72
@@ -3,7 +3,7 @@
*
*/
-static const char cvs_ident[] = "$Id: screen.c,v 1.71 2003/04/22 15:14:20 mej Exp $";
+static const char cvs_ident[] = "$Id: screen.c,v 1.72 2003/07/30 02:50:13 mej Exp $";
#include "config.h"
#include "feature.h"
@@ -486,12 +486,8 @@
}
} else {
#ifndef NO_BRIGHTCOLOR
- if ((rstyle & Intensity) && color >= minColor && color <= maxColor)
+ if ((rstyle & Intensity) && color >= minColor && color <= maxColor) {
color += (minBright - minColor);
- else if (color >= minBright && color <= maxBright) {
- if (rstyle & Intensity)
- return;
- color -= (minBright - minColor);
}
#endif
}
===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/src/term.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -3 -r1.94 -r1.95
--- term.c 3 Mar 2003 04:53:34 -0000 1.94
+++ term.c 30 Jul 2003 02:50:13 -0000 1.95
@@ -21,7 +21,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-static const char cvs_ident[] = "$Id: term.c,v 1.94 2003/03/03 04:53:34 mej Exp $";
+static const char cvs_ident[] = "$Id: term.c,v 1.95 2003/07/30 02:50:13 mej Exp $";
#include "config.h"
#include "feature.h"
@@ -1621,8 +1621,9 @@
scr_rendition(0, RS_RVid);
break;
+ /* set fg color */
case 30:
- case 31: /* set fg color */
+ case 31:
case 32:
case 33:
case 34:
@@ -1631,12 +1632,14 @@
case 37:
scr_color(minColor + (arg[i] - 30), RS_Bold);
break;
- case 39: /* default fg */
+ /* default fg */
+ case 39:
scr_color(restoreFG, RS_Bold);
break;
+ /* set bg color */
case 40:
- case 41: /* set bg color */
+ case 41:
case 42:
case 43:
case 44:
@@ -1645,9 +1648,43 @@
case 47:
scr_color(minColor + (arg[i] - 40), RS_Blink);
break;
- case 49: /* default bg */
+ /* default bg */
+ case 49:
scr_color(restoreBG, RS_Blink);
break;
+
+ /* set fg color - bright */
+ case 90:
+ case 91:
+ case 92:
+ case 93:
+ case 94:
+ case 95:
+ case 96:
+ case 97:
+ scr_color(minBright + (arg[i] - 90), RS_Bold);
+ break;
+ /* default fg */
+ case 99:
+ scr_color(restoreFG, RS_Bold);
+ break;
+
+ /* set bg color - bright */
+ case 100:
+ case 101:
+ case 102:
+ case 103:
+ case 104:
+ case 105:
+ case 106:
+ case 107:
+ scr_color(minBright + (arg[i] - 100), RS_Blink);
+ break;
+ /* default bg */
+ case 109:
+ scr_color(restoreBG, RS_Blink);
+ break;
+
}
}
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs