diff options
author | Michael Jennings <mej@kainx.org> | 2003-03-03 04:53:35 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2003-03-03 04:53:35 +0000 |
commit | df078dd65211108ad4dcb3cc57eb81e8082dbdc0 (patch) | |
tree | eacec62a16e85471028a61836e25aea03377f164 /doc | |
parent | 4b8a58d8a2cea2bdf8e908cf7742a8b449d059b7 (diff) | |
download | eterm-df078dd65211108ad4dcb3cc57eb81e8082dbdc0.tar.gz |
Sun Mar 2 23:40:39 2003 Michael Jennings (mej)
Fixed a bug with foreground/background color change pointed out by
Thomas <arnognul@tiscali.se>.
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.
SVN revision: 6739
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Eterm_reference.html | 52 |
1 files changed, 50 insertions, 2 deletions
diff --git a/doc/Eterm_reference.html b/doc/Eterm_reference.html index ee3c06d..072836e 100644 --- a/doc/Eterm_reference.html +++ b/doc/Eterm_reference.html @@ -460,8 +460,48 @@ Portions of this document were taken from the XTerm documentation.</P> <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 @@ are: <TT><B>1</B></TT>, <TT><B>on</B></TT>, <TT><B>yes</B></TT>, or (of course) <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> @@ -1246,6 +1286,14 @@ are: <TT><B>1</B></TT>, <TT><B>on</B></TT>, <TT><B>yes</B></TT>, or (of course) <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> <H3><A NAME="trans">Transparency</A></H3> |