title: OS X Terminal: Meta key + alt functionality at the same time
body: <p>Is there a way to use an <kbd>alt</kbd> / <kbd>option</kbd> key as a meta key but still be able to use it to make some characters which need it?</p>
  
  <p>For example, in my local keyboard layout:</p>
  
  <ul>
  <li><code>@</code> is <kbd>alt</kbd> + <kbd>2</kbd> </li>
  <li><code>\</code> is <kbd>alt</kbd> + <kbd>shift</kbd> + <kbd>7</kbd> </li>
  <li><code>|</code> is <kbd>alt</kbd> + <kbd>7</kbd></li>
  <li>etc.</li>
  </ul>
  
  <p>So, if I set <kbd>alt</kbd> as a meta key, I can't make those characters anymore. On the other hand, using "press esc, release esc, press a key" to make meta key sequences makes my hands hurt.</p>
  
  <p>Any Emacs users with international keyboards who have solved this, please give any tips you might have! :)</p>
  
  <p><strong>Edit:</strong> </p>
  
  <p>It appears that I can set <kbd>alt</kbd> as a meta key and then add these kind of settings in inputrc: <code>"\e2": "@"</code> This works in the bash shell but it still won't work with Emacs though, so no good.</p>