Re: OT: xargs & vi
on Wed, 09 Jan 2002 09:01:45AM -0600, Keith G. Murphy insinuated:
> martin f krafft wrote:
> > so, to close this thread: find . -name Root | vim
> >
> Not so fast! Using vim 5.3, I get:
>
> ls my.txt | vim
> Vim: Warning: Input is not from a terminal
> Empty buffer
> Vim: Error reading input, exiting...
> Vim: preserving files...
> Vim: Finished.
>
> Also,
> ls my.txt | xargs vim
> Vim: Warning: Input is not from a terminal
>
> Then it looks like it's editing the file, but hoses up my telnet
> session, etc.
>
> Is it because I'm telnetted? I have no idea...
hosing up the telnet session, yes. i would guess. but using vimm
6.0.93 locally, i get the same results and error messages inputting to
vim from stdin. i can't reproduce your conclusive results on my
machine, martin ...
</nori>
<nori@sccs.swarthmore.edu>--------------------------------------------------
-------------------------http://www.sccs.swarthmore.edu/~nori/jnl/daily.html
Reply to: