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
>Organization:
>Environment:
NetBSD beaker.endbracket.net 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 
PST 2007  
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
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.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index