What does "1B63" mean in bash?
<p>When I print the string value of <code>0x1b63</code> in bash, the screen clear (exactly like <code>tput reset</code> result):
<a href="http://i.stack.imgur.com/vaRX1.png" rel="nofollow"><img src="http://i.stack.imgur.com/vaRX1.png" alt="enter image description here"></a></p>

<p>After pressing <code>Enter</code> button we have:</p>

<p><a href="http://i.stack.imgur.com/f0zy6.png" rel="nofollow"><img src="http://i.stack.imgur.com/f0zy6.png" alt="enter image description here"></a></p>

<p>What is going on?</p>

<p>It's ANSI escape sequences. There's a list of some on <a href="https://en.wikipedia.org/wiki/ANSI_escape_code" rel="nofollow">wikipedia</a></p>

<p><code>\x1b</code> means <code>ESC</code>
<code>\x63</code> is a lower case <code>c</code></p>

<p>On that page <code>ESC</code> <code>c</code> is shown as </p>

<blockquote>
  <p>RIS â Reset to Intitial State Resets the device to its original state. This may include (if applicable): reset graphic rendition, clear tabulation stops, reset to default font, and more.</p>
</blockquote>

<p>so the terminal will clear. This isn't related to bash, or python, but the terminal that you're running in.</p>

python xterm ansi-escape