title: Why does "locate filename | xargs vim" cause strange terminal behaviour?
body: <p>When I do "locate 50local.policy | xargs vim", I get the error "Vim: Warnung: Die Eingabe kommt nicht von einem Terminal" (translation: Vim: Warning: The input does not come from a terminal).</p>
  
  <p>I can edit successfully with vim but after I close it my terminal behaves strangely (I can't type letters and when I hit enter the shell prompt simply gets repeated.
  When I do it with "xargs gedit" it does not create those problems.</p>
  
  <p>I use Ubuntu 11.10 with Gnome 3 and Gnome-Terminal 3.0.1.</p>