Set environment variable "TERM" to "dumb" to suppress ANSI sequences. Closes #1313.
Update comment.
Fix whitespace.
Merge pull request #1744 from doxxx/issue-1313

Fix for #1313: Set TERM to "dumb"