[screen-devel] Terminal VIM run from xargs closes my GNU Screen window

2009-03-18 Thread Ethan Mallove
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

Re: [screen-devel] Terminal VIM run from xargs closes my GNU Screen window

2009-03-18 Thread Erik Falor
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

[OT] Vim and stdin [Re: [screen-devel] Terminal VIM run from xargs...]

2009-03-18 Thread Micah Cowan
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

Re: [screen-devel] Terminal VIM run from xargs closes my GNU Screen window

2009-03-18 Thread Micah Cowan
-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