I am trying to set colors using tput setb or setab function but I am unable to get colors. On the positive side tput bold , underline like functions are working. I am unable to find any reasons for setb function issue.
print $(tput bold)"Text is bold"$(tput sgr0)
Could you please help me to use the tput set function to create colors?
I am using putty 0.65 release, TERM=xterm-256color and AIX version = 7.1
I have tried using a different method from google as below. But I would like to use tput set for easy purpose rather than hard coding color values. Kindly help me to understand.
__GREEN='\033[0;32m'
print ${__GREEN}$(tput bold)"Green color Bold" $(tput sgr0)