On Wed, Jan 09, 2002 at 10:11:56PM +0100, martin f krafft wrote:
| also sprach nori heikkinen <[EMAIL PROTECTED]> [2002.01.09.1716 +0100]:
| > 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 s
On Wed, 9 Jan 2002 22:11:56 +0100, martin f krafft <[EMAIL PROTECTED]> wrote:
[snip]
> any form of 'vim -' will read the data to be edited from stdin, not the
> filenames, so it's not appropriate.
>
> and even though i swear it worked,
>
> command | vim
>
> just dies with
>
> Vim: Warning: I
also sprach nori heikkinen <[EMAIL PROTECTED]> [2002.01.09.1716 +0100]:
> 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
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, ex
martin f krafft wrote:
>
> also sprach dman <[EMAIL PROTECTED]> [2002.01.09.0231 +0100]:
> > | echo .muttrc | vim -
> >
> > ls .muttrc | xargs vim
>
> aha, the '-' is the problem.
>
> > I didn't think that would work (once I straightened out my
> > understanding of the stdin stuff), but it does.
also sprach dman <[EMAIL PROTECTED]> [2002.01.09.0231 +0100]:
> | echo .muttrc | vim -
>
> ls .muttrc | xargs vim
aha, the '-' is the problem.
> I didn't think that would work (once I straightened out my
> understanding of the stdin stuff), but it does.
yeah, it surprises me too... oh well. vi
On Wed, Jan 09, 2002 at 01:24:28AM +0100, martin f krafft wrote:
| also sprach dman <[EMAIL PROTECTED]> [2002.01.09.0124 +0100]:
| > :-). Hmm, interesting, vim is able to read the filename from stdin.
|
| ???
|
| echo .muttrc | vim -
|
| gives me a new file in vim with contents ".muttrc", but
also sprach dman <[EMAIL PROTECTED]> [2002.01.09.0124 +0100]:
> :-). Hmm, interesting, vim is able to read the filename from stdin.
???
echo .muttrc | vim -
gives me a new file in vim with contents ".muttrc", but it doesn't open
.muttrc...
--
martin; (greetings from the heart of
On Wed, Jan 09, 2002 at 12:22:57AM +0100, martin f krafft wrote:
| also sprach dman <[EMAIL PROTECTED]> [2002.01.08.2343 +0100]:
| > | sure, that will read the output of the find command into vi, iff you
| > | actually omit the xargs.
| >
| > Yeah, but you didn't omit xargs :-).
|
| because i wan
also sprach dman <[EMAIL PROTECTED]> [2002.01.08.2343 +0100]:
> | sure, that will read the output of the find command into vi, iff you
> | actually omit the xargs.
>
> Yeah, but you didn't omit xargs :-).
because i wanted to use it. i wanted it to provide filenames to vi the
same way that
find .
On Tue, Jan 08, 2002 at 09:59:56PM +0100, martin f krafft wrote:
| also sprach dman <[EMAIL PROTECTED]> [2002.01.08.2146 +0100]:
| > Other people have explained what happened, but not how to get where
| > you want to be. For vim, at least,
| >
| > find . -name Root | xargs vi -
| >
| > Tell vim
also sprach dman <[EMAIL PROTECTED]> [2002.01.08.2146 +0100]:
> Other people have explained what happened, but not how to get where
> you want to be. For vim, at least,
>
> find . -name Root | xargs vi -
>
> Tell vim to read data from stdin and commands from stderr. This is
> also useful to sti
On Mon, Jan 07, 2002 at 04:43:47PM +0100, martin f krafft wrote:
| can anyone please explain this to me?
|
| seamus:/usr/local/share/phpgw# find . -name Root | xargs vi
| 221 files to edit
| Vim: Warning: Input is not from a terminal
|
| seamus:/usr/local/share/phpgw# vi `find . -name Root`
| 221
On Mon, 7 Jan 2002 16:43:47 +0100
martin f krafft <[EMAIL PROTECTED]> wrote:
> can anyone please explain this to me?
>
> seamus:/usr/local/share/phpgw# find . -name Root | xargs vi
> 221 files to edit
> Vim: Warning: Input is not from a terminal
>
> seamus:/usr/local/share/phpgw# vi `find . -name
martin f krafft wrote:
>
> can anyone please explain this to me?
>
> seamus:/usr/local/share/phpgw# find . -name Root | xargs vi
> 221 files to edit
> Vim: Warning: Input is not from a terminal
>
> seamus:/usr/local/share/phpgw# vi `find . -name Root`
> 221 files to edit
>
> how the heck does v
On Mon, Jan 07, 2002 at 04:43:47PM +0100, martin f krafft wrote:
> can anyone please explain this to me?
>
> seamus:/usr/local/share/phpgw# find . -name Root | xargs vi
> 221 files to edit
> Vim: Warning: Input is not from a terminal
In this case, the shell starts 'xargs' with stdin from the
std
On Mon, 7 Jan 2002 16:43:47 +0100, martin f krafft <[EMAIL PROTECTED]> wrote:
> can anyone please explain this to me?
>
> seamus:/usr/local/share/phpgw# find . -name Root | xargs vi
> 221 files to edit
> Vim: Warning: Input is not from a terminal
>
> seamus:/usr/local/share/phpgw# vi `find . -na
can anyone please explain this to me?
seamus:/usr/local/share/phpgw# find . -name Root | xargs vi
221 files to edit
Vim: Warning: Input is not from a terminal
seamus:/usr/local/share/phpgw# vi `find . -name Root`
221 files to edit
how the heck does vi get the difference between the two methods
18 matches
Mail list logo