title: Getting "complete" and "menu-complete" to work together
body: <p>I found out that the Bash shell supports a type of autocompletion that is different from the "traditional" autocompletion, where all possibilities get listed on the following line.</p>
  
  <p>With the "traditional" autocompletion, if I type <code>ch</code> and then press the <code>Tab</code> key, I get something like:</p>
  
  <pre><code>$ ch
  chacl  chgrp  chmod  chown  chvt
  </code></pre>
  
  <p>But if I add the following line to my <code>/etc/inputrc</code> (which remaps the Tab key to the built-in <code>menu-complete</code> function):</p>
  
  <pre><code>Tab: menu-complete
  </code></pre>
  
  <p>then the behavior of the shell changes: the word to be completed is replaced "inline" with a single match from the list of possible completions, and if I press the Tab key again, the word gets replaced with the next match.</p>
  
  <p>I found this useful, but I still wanted to keep the traditional autocompletion and have it bound to the key combination <code>Ctrl + Tab</code>. So I added the following line to my <code>/etc/inputrc</code> file, according to what the <code>readline</code> library documentation suggests:</p>
  
  <pre><code>Ctrl-Tab: complete
  </code></pre>
  
  <p>However, adding this line only seems to make both <code>Tab</code> and <code>Ctrl-Tab</code> call the traditional <code>complete</code> function.</p>
  
  <p>Does anyone know what I am doing wrong?</p>
  
  <p>Thanks in advance!</p>