On Sunday, 02 March 2003, at 10:33:37 (+0000),
[EMAIL PROTECTED] wrote:

> Bug1:
> 
> setting the background or foreground color with
> 
> printf "\e]39;#ffffaa\a"
> 
> or
> 
> printf "\e]49;#aa00aa\a"
> 
> leaves ugly artifacts of the old color.

Fixed.

> Bug2:
> 
> additionally, there is no way of setting bold and underlined colors
> from escape sequencies.
> In comparison: XTerm does not make any difference on the bold,
> underlined, cursor-text or normal text color, and thus updates all
> of them at the same time with the ESC ] 10; COLOR BEL (which is the
> same as the Eterm ESC ]39;COLOR BEL)
> 
> I'd really like either unifing the foreground color text setting or
> add extra control sequencies (the only terminal I know does this is
> the xwsh for the sgi indigomagic desktop, the manpage gives me
> headache though. anyway here's a link:
> http://www.fmrib.ox.ac.uk/cgi-bin/man-cgi?xwsh+1)

You seem to be a bit confused.  xterm DOES distinguish between those
colors, and the ESC]10 sequence has no syntax of which I'm aware that
will set the bold or underline color.  xterm uses ESC]10 through
ESC]17 to set foreground, background, cursor, and some other colors.
I have implemented this support in Eterm and added a couple new ones
to deal with bold/underline color.  Here's the ChangeLog entry:

    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.

> Bug3:
> 
> If starting Eterm with
> 
> Eterm --double-buffer
> 
> and then disable transparency and background image, the text still
> has the "transparency-shadows" which gets hard to read if using
> black text on a white background

Sorry, can't reproduce that.

> Finally a feature request for Eterm: could the
> --cmod[red|green|blue] switch be implemented as a control sequence?

Please read the technical reference.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "What can I do to make you mine?  Falling so hard, so fast this time.
  What did I say?  What did you do?  How did I fall in love with you?"
                 -- Backstreet Boys, "How Did I Fall in Love with You"


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to