Answer the question
In order to leave comments, you need to log in
Why does Vim say "Vim: Warning: Input is not from a terminal"?
I run the command: $ find -type f | xargs endsp | xargs vim
endssp simply prints the file name if it is text and contains trailing spaces.
Vim complains: "Vim: Warning: Input is not from a terminal". Works normally. But after exiting Vim, mintty does not respond to any keys. Sometimes Ctrl+D saves.
Answer the question
In order to leave comments, you need to log in
because vim is run as part of the pipe. if you need to edit files according to the list, you can do this: vim `find -type f | xargs endssp`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question