Enlightenment CVS committal
Author : mej
Project : eterm
Module : Eterm
Dir : eterm/Eterm/doc
Modified Files:
Eterm_reference.html
Log Message:
Sun Mar 2 23:40:39 2003 Michael Jennings (mej)
Fixed a bug with foreground/background color change pointed out by
Thomas <[EMAIL PROTECTED]>.
Also added support for all the other OSC color change sequences (at
least those for the colors that Eterm uses). The sequences are of
the form "\e];n;color[;color[...]]\a", where n is between 10 and 19.
You can specify up to (20 - n) semicolon-separated colors representing
the following attributes in order: foreground, background, cursor,
mouse pointer, mouse pointer background (*), Tek foreground (*), Tek
background (*), highlight color (*), bold color, and underline color.
Attributes marked with a (*) are ignored by Eterm and may be left
empty, but their trailing semicolons must be present for xterm
compatibility.
For example, to set a white foreground, black background, yellow text
cursor, green mouse cursor, #ffaa00 for bold, and cyan for underline,
you could use either of the following:
echo -e "\e]10;white;black;yellow;green;;;;;#ffaa00;cyan\007"
or
echo -e "\e]10;white\007"
echo -e "\e]11;black\007"
echo -e "\e]12;yellow\007"
echo -e "\e]13;green\007"
echo -e "\e]18;#ffaa00\007"
echo -e "\e]19;cyan\007"
Note that the setting of bold and underline colors using 18 and 19 are
Eterm extensions.
===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/doc/Eterm_reference.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Eterm_reference.html 10 Aug 2001 20:52:51 -0000 1.4
+++ Eterm_reference.html 3 Mar 2003 04:53:30 -0000 1.5
@@ -460,8 +460,48 @@
<A HREF="#eterm_esc">below</A>.)
<LI><I>n</I> == 6: Eterm-specific escape sequences (See
<A HREF="#eterm_esc">below</A>.)
+ <LI><I>n</I> == 10: Set foreground color to <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 11.
+ <LI><I>n</I> == 11: Set background color to <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 12.
+ <LI><I>n</I> == 12: Set cursor color to <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 13.
+ <LI><I>n</I> == 13: Set mouse pointer color to <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 14.
+ <LI><I>n</I> == 14: Ignore <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 15.
+ <LI><I>n</I> == 15: Ignore <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 16.
+ <LI><I>n</I> == 16: Ignore <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 17.
+ <LI><I>n</I> == 17: Ignore <I>string</I>.
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 18.
+ <LI><I>n</I> == 18: Set bold color to <I>string</I>.
+ Eterm extension (see <A HREF="#image">below</A>).
+ If additional semicolon-delimited
+ <I>string</I> values are specified,
+ continue with <I>n</I> == 19.
+ <LI><I>n</I> == 19: Set underline color to <I>string</I>.
+ Eterm extension (see <A HREF="#image">below</A>).
<LI><I>n</I> == 20: Image commands (see <A HREF="#image">below</A>)
- <LI><I>n</I> == 30: Dump contents of scrollback to file <I>string</I>
+ <LI><I>n</I> == 30: Dump contents of scrollback to file
+ <I>string</I>. (Disabled by default.)
<LI><I>n</I> == 39: Set the default foreground color to <I>string</I>
<LI><I>n</I> == 49: Set the default background color to <I>string</I>
<LI><I>n</I> == 50: Set font to <I>string</I>. rxvt/Eterm extensions:
@@ -1232,7 +1272,7 @@
<TR>
<TD><TT>ESC <B>] 6 ; 50 ;</B> <I>desktop</I> BEL</TT></TD>
<TD>Move Eterm to desktop <I>desktop</I> and make it the current desktop.
- This requires a GNOME-compliant Window Manager, such as
+ This requires a compliant Window Manager, such as
<A HREF="http://www.enlightenment.org/" TARGET="_top">Enlightenment</A>.
</TD>
</TR>
@@ -1245,6 +1285,14 @@
<TR>
<TD><TT>ESC <B>] 6 ; 80 ;</B> <I>level</I> BEL</TT></TD>
<TD>Set the debugging level to <I>level</I>.</TD>
+</TR>
+<TR>
+ <TD><TT>ESC <B>] 18 ;</B> <I>string</I> BEL</TT></TD>
+ <TD>Set bold color to <I>string</I>.</TD>
+</TR>
+<TR>
+ <TD><TT>ESC <B>] 19 ;</B> <I>string</I> BEL</TT></TD>
+ <TD>Set underline color to <I>string</I>.</TD>
</TR>
</TABLE>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs