Hello,
The below command causes my Screen window to close:
$ touch a b c && ls -1 a b c | xargs vim
Vim: Warning: Input is not from a terminal
[then Screen window closes!]
There is no problem if I do the above outside of Screen (e.g., my
terminal window does not exit). And if I take xargs
On Wed, Mar 18, 2009 at 02:27:27PM -0500, Ethan Mallove wrote:
> Hello,
>
> The below command causes my Screen window to close:
>
> $ touch a b c && ls -1 a b c | xargs vim
> Vim: Warning: Input is not from a terminal
> [then Screen window closes!]
I would suspect that this has to do with
Erik Falor wrote:
> I've never gotten Vim to work interactively when on the
> receiving end of a pipe.
Try " | vim -". Vim will interpret stdin as a file to be
read, and attempt to look elsewhere for the controlling term.
--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Mai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ethan Mallove wrote:
> Hello,
>
> The below command causes my Screen window to close:
>
> $ touch a b c && ls -1 a b c | xargs vim
> Vim: Warning: Input is not from a terminal
> [then Screen window closes!]
FWIW, I can't produce this with Ubun