Hello!
I had an issue with ambiguous behavior of tput setaf in OpenBSD.
If TERM=xterm, then tput setaf 1 works and changes foreground color to red,
but it only supports 8 colors.
If TERM=xterm-256color, then tput setaf 1 fails with error: 
tput: not enough arguments (3) for capability `setaf'
I've reached ncurses author and asked him about this issue.
His answer was:
"OpenBSD hasn't updated ncurses for the past 12 years"
Thank you!


Reply via email to