avoid Vim: Warning: Input is not from a terminal