Stahlman Family wrote:
Dan S wrote:
* Is there a better way that doesn't use vim's syntax highlighting
engine (e.g. directly through setting colour of text ranges)?
Not sure exactly what you mean here.
My understanding is that the OP is offering an alternate route to
resolution. In most consoles, the text-colors are palettized so
when you specify "color #1" you usually get a particular color
(dark blue?). However some consoles allow you to remap the
configuration so that "color #1" is some arbitrary RGB tuple. It
sounds like the OP suggests something like
"If recoloring within vim is too slow for semi-realtime sampling,
I can define a unique color entry in my palette and the use the
console's remapping ESC sequences, if you can point me to some
place where I can learn to do background asynchronous process
that are allowed to read from a data-source and write to my
terminal."
Unfortunately, this isn't exactly something Vim was designed to
do. You might be able to hack something with GNU "screen" to
have a parallel process in the same terminal monitoring and
changing the palette, or you could investigate some of the
unofficial patches that put a terminal window within Vim, but I
don't know of any such solution inside of native Vim.
-tim
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php