title: change title of xterm from a bash script
body: <p>I have a script which does a long build. It takes like hours for this script to complete, and while the build is going on there is no way for me to know how much the script has run.
  For that I thought of changing the name of the xterm from the script to reflect the subscript.</p>
  
  <p>So, the question is how do I change the xterm title from script ?</p>
  
  <p>I tried adding lines like: echo -e '\033k'$mytitle'\033\' which I got from some other post, but it doesnt work.</p>
  
  <p>Thanks for the help !</p>