On Tue, Jul 25, 2000 at 03:32:50PM +0200, Christian Zuckschwerdt wrote:
> Hi,
> 
> attached is a patch to set the colors with ESC sequences. What you mean is

oops. I /can/ already use escape sequences to set the color.

    # echo "^[[31mthis appears in red^[[0m"

(where ^[ is typed naturally as <c-v><esc>)
Whats the special deal with your patch ?

I really mean query. Something like the escape sequences which can be
used to get the window size. (e.g. after a SIGWINCH).

> something like mouse reporting / special graphics mode query, right?
> Are there other terminal emulators doing that? Shouldn't be hard to
> implement.

I don't know if other terminals can do this. I mean: suppose an
application /could/ query if rxvt has a dark or a light bg it could
set some color defaults appropriately. I think that would be useful.

> 
> On Tue, 25 Jul 2000, Johannes Zellner wrote:
> 
> > is it possible to query (e.g. from a program) the colors of rxvt ?
> > (bg and fg would be sufficient)

-- 
   Johannes

Reply via email to