[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Which terminal is similar to dumb but with color support?
From: |
Peng Yu |
Subject: |
Which terminal is similar to dumb but with color support? |
Date: |
Sat, 30 May 2015 22:03:13 -0500 |
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
- Which terminal is similar to dumb but with color support?,
Peng Yu <=