tput failing on 10 and 12 systems?

Julian Elischer julian at freebsd.org
Mon Nov 21 16:11:42 UTC 2016


example on freefall     (FreeBSD 12.0-CURRENT #0 r306376)

julian at freefall:tput setaf 4|od -c
0000000  033   [   m
0000003

so nothing happens, and tput returns 1.

but on a FreeBSD 8 system:

[jelischer at alpha ~]$ tput setaf 4|od -c
0000000  033   [   3   4   m
0000005

which make the text change color.


similarly all the related tput color commands I can think of fail on 
10,11,12

but programs such as vim can use color just fine. So I suspect tput 
itself.


anyone have experience with this? seems easy to reproduce.









More information about the freebsd-current mailing list