Thursday, December 12, 2013

Re: AnsiEsc can not show background

I'm sorry. The previous output is wrong. Here is the correct output.

^[[41m^[[37mhello^[[0m ^[[42m^[[37mworld^[[0m

On Thu, Dec 12, 2013 at 3:13 PM, Charles Campbell
<Charles.E.Campbell@nasa.gov> wrote:
> Peng Yu wrote:
>>>
>>> Why not capture the ansi escape sequence involved and tell me what it is?
>>> If its not an ansi escape sequence, then that likely is beyond the
>>> purview
>>> of AnsiEsc.
>>
>> Here is the output of the python script.
>> [31mhello [0m [32mworld [0m
>>
> Interpreting this manually:
> <chg to red fgd>hello <reset to normal terminal colorization><chg to green
> fgd>world <reset to normal terminal colorization>
>
> When I placed that into a file, inserted the missing escape characters, and
> applied AnsiEsc to the file, I got a red "hello", a space, and a green
> "world" as I'd expect. The background is not specified in these ansi-escape
> sequences, and so AnsiEsc would be wrong if it did change the background.
>
>
> Regards,
> C Campbell
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> --- You received this message because you are subscribed to a topic in the
> Google Groups "vim_use" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_use/OaASJlRyOGo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Regards,
Peng

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: