On 2015-04-20 Mon 11:18 AM |, Craig Skinner wrote:
> OK folks,
> 
> Same results on a 3rd box with 5.6 release.
> 

Here's info on what various termcap entries produce:

$ grep ^ttyC /etc/ttys | grep on$
ttyC0   "/usr/libexec/getty std.9600"   vt220           on
ttyC1   "/usr/libexec/getty std.9600"   pccon           on
ttyC2   "/usr/libexec/getty std.9600"   pcvt25-color    on
ttyC3   "/usr/libexec/getty std.9600"   wsvt25m         on


                                       .--------------------------.
                                       |    console has colours   |
                                       |  when monitor connected: |
 .-------+---------------+-------------|-------------+------------|
 | tty   | printenv TERM | tput colors | before boot | after boot |
 |-------|---------------|-------------|-------------|------------|
 | ttyC0 | vt220         | -1          | no          | no         |
 |-------|---------------|-------------|-------------|------------|
 | ttyC1 | pccon         | 8           | yes         | no         |
 |-------|---------------|-------------|-------------|------------|
 | ttyC2 | pcvt25-color  | 8           | yes         | no         |
 |-------|---------------|-------------|-------------|------------|
 | ttyC3 | wsvt25m       | 8           | yes         | no         |
 '-------+---------------+-------------+-------------+------------'


Is there something in the boot process that enables console colours if a
monitor is connected?

Is the kernel behaviour different on boot with/without a monitor
present?

Cheers.
-- 
I'd rather have a bottle in front of me than a frontal lobotomy.

Reply via email to