Skip to main content
gvim solution, which involves a source change
Source Link

console vim solution

From :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

Under gvim, a separate console window is started minimized. If you restore the minimized window, you can observe the output.

If you want the window to start restored (not minimized), then you'll have to make the following source change to src/os_win32.c and compile gvim yourself.

     si.lpDesktop = NULL;
     si.lpTitle = NULL;
     si.dwFlags = STARTF_USESHOWWINDOW;
-    /*
-     * It's nicer to run a filter command in a minimized window.
-     * Don't activate the window to keep focus on Vim.
-     */
-    if (options & SHELL_DOOUT)
-       si.wShowWindow = SW_SHOWMINNOACTIVE;
-    else
-       si.wShowWindow = SW_SHOWNORMAL;
+    si.wShowWindow = SW_SHOWNORMAL;
     si.cbReserved2 = 0;
     si.lpReserved2 = NULL;

console vim solution

From :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

Under gvim, a separate console window is started minimized. If you restore the minimized window, you can observe the output.

console vim solution

From :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

Under gvim, a separate console window is started minimized. If you restore the minimized window, you can observe the output.

If you want the window to start restored (not minimized), then you'll have to make the following source change to src/os_win32.c and compile gvim yourself.

     si.lpDesktop = NULL;
     si.lpTitle = NULL;
     si.dwFlags = STARTF_USESHOWWINDOW;
-    /*
-     * It's nicer to run a filter command in a minimized window.
-     * Don't activate the window to keep focus on Vim.
-     */
-    if (options & SHELL_DOOUT)
-       si.wShowWindow = SW_SHOWMINNOACTIVE;
-    else
-       si.wShowWindow = SW_SHOWNORMAL;
+    si.wShowWindow = SW_SHOWNORMAL;
     si.cbReserved2 = 0;
     si.lpReserved2 = NULL;
More information about minimized windows.
Source Link

console vim solution

From :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

none knownUnder gvim, a separate console window is started minimized. If you restore the minimized window, you can observe the output.

console vim solution

From :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

none known

console vim solution

From :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

Under gvim, a separate console window is started minimized. If you restore the minimized window, you can observe the output.

clarify that the solution is for console vim only
Source Link

console vim solution

After doing some more investigation, I found the answer inFrom :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

none known

After doing some more investigation, I found the answer in :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

console vim solution

From :help os_win32.txt.

Q. How do I get to see the output of ":make" while it's running?

A. Basically what you need is to put a tee program that will copy its input (the output from make) to both stdout and to the errorfile. You can find a copy of tee (and a number of other GNU tools) at
http://gnuwin32.sourceforge.net or http://unxutils.sourceforge.net
Alternatively, try the more recent Cygnus version of the GNU tools at http://www.cygwin.com Other Unix-style tools for Win32 are listed at http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/Win32/ When you do get a copy of tee, you'll need to add

:set shellpipe=\|\ tee

to your _vimrc.

gvim solution

none known

Source Link
Loading