set terminal title only when isatty
Merge pull request #687 from ros/terminal_title_only_if_available

set terminal title only when isatty