NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39883: tput support for setaf terminfo sequence is broken

>Number:         39883
>Category:       bin
>Synopsis:       tput support for setaf terminfo sequence is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 08 02:30:05 +0000 2008
>Originator:     Mikel Ward
>Release:        4.0
NetBSD 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 
PST 2007  
I can run
    tput AF 1

to set my foreground color to red, but
    tput setaf 1

silently does nothing, and returns with exit status 0.

It seems
    tput setaf 0

does successfully set the foreground color to black, however.

I either want tput to not accept setaf at all, and return a non-zero exit 
status, or to have the same behavior as the AF attribute, since my understand 
is that they are equivalent.


Home | Main Index | Thread Index | Old Index