On Fri, May 12, 2006 at 04:52:16AM +0200, A.J.Mechelynck wrote:
> François Pinard wrote:
> >I prefer Vim to stay clean and efficient like it is.  Yet, I regret 
> >not having its syntax highlighting abilities over my shell output...
> >
> - To use Vim coloring on shell output (but not in realtime): redirect 
> stdout to a logfile and view that (with a proper filetype & syntax script).

I don't see how colouring of shell output could be achieved in any
useful way, because by the time Vim was able to see the output all the
meaning of that output would have been lost.  When the output of one
command is directed to a file and then viewed in Vim the type of that
file can be set so that the colouring is appropriate to the data.  If
the command provides its own colouring (as some versions of "ls" do)
then the colouring can represent additional information not otherwise
visible in the output.  But with general colouring of undifferentiated
output text I can't see how anything useful could be conveyed.  All you
can do is make the terminal look pretty.

-- 
Matthew Winn ([EMAIL PROTECTED])

Reply via email to