Sunday, May 31, 2015

Which terminal is similar to dumb but with color support? (for vim -T)

Hi,

The following command can not print the output in color format.

vim -T dumb -c 'echohl ErrorMsg' -c 'echo "Hello World!"' -c q

The following command can print the output in color format. But it
also print a lot of empty lines.

vim -T xterm-colors -c 'echohl ErrorMsg' -c 'echo "Hello World!"' -c q

I just want to print the output in color with vim without print a lot
of empty lines.

I have tried to tput to check all the terminals in my system (Mac and
Ubuntu). But it is hard to find what I want. Could anybody let me know
there is such a terminal available? Thanks.

--
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/d/optout.

No comments:

Post a Comment