Delay calling tput until delimiters are needed, and don't call if
user specifies his/her own delimiters first.
Don't run tput if TERM is set to empty string.
PR: ports/58472
Submitted by: ijliao
Committed on behalf of lioux@, who is having machine troubles.