Monday, May 10, 2010

Re: escape sequence in output

The conseal patch looks interesting. Is it a patch basically for tex
editing? Would it conflicts with vim-latexsuite?

Thanks for the good pointers.

--
MZ

On May 3, 6:36 pm, Charles E Campbell Jr <drc...@campbellfamily.biz>
wrote:
> MathieuZhang wrote:
> > Hi,
>
> > I am working in a project in which someone else wrote a makefile with
> > a lot of fancy coloring.  When I type :!make, the output is scrolled
> > through with a lot of escape sequence like "^]0;30;"  for color,
> > making it completely unreadable.  Can I have vim either (1) interpret
> > those escape sequence and make for colorful output, or (2) ignore and
> > don't print them?
>
> I think you'll find AnsiEsc helpful -- the AnsiEsc plugin colorizes text
> according to ansi escape sequences; you can get the plugin from:
>
>    http://vim.sourceforge.net/scripts/script.php?script_id=302  (stable)
>    http://ftpmysite.verizon.net/astronaut/vim/index.html#ANSIESC
> (cutting edge)
>
> It also works even better with Vince Negri's conceal patch, which you
> can get from
>
>    http://vince.negri.googlepages.com/
>
> I've always wished that Vince's patch had been incorporated into vim,
> but not thus far.
>
> Anyway, with VN's patch, the Ansi escape sequences themselves are
> concealed, so only the colorized effects appear (except for the line
> where the cursor is).  Without that patch, the Ansi escape sequences are
> colorized with Ignore highlighting -- so they take up space but are less
> intrusive.
>
> Regards,
> Chip 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, visithttp://www.vim.org/maillist.php

--
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

No comments: