On Thu 25-Jan-07 1:08pm -0600, jose isaias cabrera wrote:

> When I execute a command on the vim shell, ie.,
>
> :!build -I..;c:\dmd\import -version=gui OpenJobs.d
>
> a DOS command screen pops up and there is some data there.  I have two
> questions:
> 1.  Can the info provided by the execution of the command be placed right
> below the command, ie.
>
>  :!build -I..;c:\dmd\import -version=gui OpenJobs.d[ENTER]
> Output from the command above which
> will have been printed on the DOS Command Screen
> But instead is printed here, which is very nice instead of having
> DOS screen waiting for me to hit enter
> And then having to hit ENTER here again.
> Press ENTER or type command to continue

I'm not aware of getting the output from a shell command in
the command area.

> Or, if #1 is not possible,
>
> 2. How can I disable the "Press ENTER or type command to continue" which
> follows after I hit enter on the DOS command prompt?

The only time I see that is when ch=1.  This appears to
work:

    :se ch=2|exe '!cmd'|se ch=1

If you don't want to see the output, you could do something
like this:

    :new|exe 'sil r !cmd'|bw!

To see the output in a new window:

    :new|r !cmd

To see the output after the cursor line in the current
window:

    :r !cmd
    
-- 
Best regards,
Bill

Reply via email to