I'm reading the manual page terminfo
and I wonder if the Linux console may
use the terminal type linux-16color
instead of the terminal type linux
.
prompt% infocmp linux linux-16color
comparing linux to linux-16color.
comparing booleans.
comparing numbers.
colors: 8, 16.
ncv: 18, 42.
pairs: 64, 256.
comparing strings.
setab: '\E[4%p1%dm', '\E[4%p1%{8}%m%d%?%p1%{7}%>%t;5%e;25%;m'.
setaf: '\E[3%p1%dm', '\E[3%p1%{8}%m%d%?%p1%{7}%>%t;1%e;21%;m'.
I replaced the terminal typelinux
in /etc/inittab
by linux-16color
but the Linux console seems to display only eight colors. I thought the terminal type linux-16color
could be specified to display sixteen colors, concerning the Linux console. I have also tried to set the environment variable TERM
to linux-16color
without success.
Can the Linux console display sixteen colors? Can the Linux console support the terminal type linux-16color
?