13. Building with Terminal support
==================================
-Vim with Terminal support can be built with MinGW or Cygwin.
-Terminal support require winpty which provide following two files.
+Vim with Terminal support can be built with either MSVC, or MinGW or Cygwin.
+This uses the included libvterm and winpty. No extra header files or
+libraries are needed for building.
+
+Running Vim with terminal support requires the following two winpty files:
winpty.dll
winpty-agent.dll
-You can download following page:
+You can download them from the following page:
https://github.com/rprichard/winpty
-It don't need header files or libraries. Just put them on your PATH.
+Just put the DLL files somewhere in your PATH.
14. Windows 3.1x
# is yes)
# Global IME support: GIME=yes (requires GUI=yes)
#
+# Terminal support: TERMINAL=yes (default is no)
+#
# Lua interface:
# LUA=[Path to Lua directory]
# DYNAMIC_LUA=yes (to load the Lua DLL dynamically)
!if "$(TERMINAL)" == "yes"
TERMINAL_OBJ = $(OBJDIR)/terminal.obj
TERMINAL_DEFS = -DFEAT_TERMINAL
-TERMINAL_SRC = terminal.c
+TERMINAL_SRC = terminal.c
+VTERM_LIB = libvterm/vterm.lib
!endif
!ifndef NETBEANS
LINKARGS1 = $(linkdebug) $(conflags)
LINKARGS2 = $(CON_LIB) $(GUI_LIB) $(NODEFAULTLIB) $(LIBC) $(OLE_LIB) user32.lib \
$(LUA_LIB) $(MZSCHEME_LIB) $(PERL_LIB) $(PYTHON_LIB) $(PYTHON3_LIB) $(RUBY_LIB) \
- $(TCL_LIB) $(NETBEANS_LIB) $(XPM_LIB) $(LINK_PDB)
+ $(TCL_LIB) $(NETBEANS_LIB) $(VTERM_LIB) $(XPM_LIB) $(LINK_PDB)
# Report link time code generation progress if used.
!ifdef NODEBUG
.c.i:
$(CC) $(CFLAGS) /P /C $<
+libvterm/vterm.lib :
+ cd libvterm
+ $(MAKE) /NOLOGO -f Makefile.msc
+ cd ..
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0: