[Bug 214709] tput in 10,11,12 is unable to set termian colors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 21 16:59:03 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214709

            Bug ID: 214709
           Summary: tput in 10,11,12 is unable to set termian colors
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: julian at FreeBSD.org

Tput doesn't do most of the things it's expected to do
leaving  you with no way to set bold or color from a script.

this breaks all scripts that use color for errors coming up from freebsd 8 or
earlier, where it worked.

example 

tput setaf 1

should set the text to red, which it does on freebsd 4,5,6,7 and 8
(I don't have 9)
 and does not work on 10,11,12

tput setaf 1 |od -c shows that it puts out SOME codes and then fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list