title: Simple console graphics, GUI or interface from a shell script?
body: <p>I would like to spruce up the output of a Bash shell script by doing some simple, <a href="http://en.wikipedia.org/wiki/Ncurses" rel="nofollow">ncurses</a>-like console displays.</p>
  
  <p>For instance, I would like to show a percentage value increasing as some activity completes. I can do this by outputting each percent value on a new line, for example,</p>
  
  <pre><code>0%
  1%
  2%
  ... etc. ...
  </code></pre>
  
  <p>But I would prefer to have the text update in place (that is, the script only writes one line of output to show the percent, and then the percent value displayed on that line changes). I know I could use a different scripting language and ncurses, but is there a Bash solution that doesn't incur too much pain. Preferably, I'd like something with wide support across various Unix'es.</p>