I searched for a few files with find and I wanted to open all of them in tabs in Vim. So I tried this:
find . | xargs fgrep -l myExpression | xargs vim -p
This worked great, except when I was done and quit Vim everything I typed in vim was invisible, and backspace didn't work (so when I typed like
ls<backspace><backspace>exit the resulting history was
ls^?^?exit and not
exit. It also gave me a warning that my piping was not from a terminal.
Everything was fine again when I restarted the shell, though. This was reproducible always.
GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc.
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 14 2015 05:43:37) Included patches: 1-699