NetBSD-Bugs archive

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

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



Synopsis: tput support for setaf terminfo sequence is broken

Responsible-Changed-From-To: bin-bug-people->jnemeth
Responsible-Changed-By: jnemeth%NetBSD.org@localhost
Responsible-Changed-When: Sat, 08 Nov 2008 11:04:08 +0000
Responsible-Changed-Why:
I responded and I'm working on it.


State-Changed-From-To: open->analyzed
State-Changed-By: jnemeth%NetBSD.org@localhost
State-Changed-When: Sat, 08 Nov 2008 11:04:08 +0000
State-Changed-Why:
tput is described as "terminal capability interface".  "terminal capability"
is the long form of "termcap"  tput works with termcap, not terminfo.  setaf
is not a vaild termcap capbility.  termcap capabilities are two characters
long.  It appears that tgetstr(3) et al simply truncate capabilities that
are longer then two characters.  Will consider modifying tput to give an
error when somebody asks for a capability that isn't two characters long.





Home | Main Index | Thread Index | Old Index