Added warning message when ENV["TERM"]=="dumb". Resolves #9093

(cherry picked from commit 7d40f7d1f6554bbe2e26511ed73191f5ddd393b9)
ref PR #9361