Patch to enable channel when building Windows terminal with terminal

7 views
Skip to first unread message

Mike Williams

unread,
Mar 19, 2020, 8:01:05 AM3/19/20
to vim...@googlegroups.com
Hi,

Small patch to enable IPC on Windows terminal builds when including
terminal support in VIM:

diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -39,6 +39,7 @@
# Global IME support: GIME=yes (requires GUI=yes)
#
# Terminal support: TERMINAL=yes (default is yes)
+# Requires CHANNEL.
#
# Sound support: SOUND=yes (default is yes)
#
@@ -115,7 +116,7 @@
# doesn't work)
#
# Inter process communication: CHANNEL=[yes or no] (default is yes if GUI
-# is yes)
+# or TERMINAL is yes)
#
# XPM Image Support: XPM=[path to XPM directory]
# Default is "xpm", using the files included in the distribution.
@@ -388,7 +389,7 @@ NETBEANS = $(GUI)
!endif

!ifndef CHANNEL
-! if "$(FEATURES)"=="HUGE"
+! if "$(FEATURES)"=="HUGE" || "$(TERMINAL)"=="yes"
CHANNEL = yes
! else
CHANNEL = $(GUI)


TTFN

--
Mike

Bram Moolenaar

unread,
Mar 19, 2020, 8:37:35 AM3/19/20
to vim...@googlegroups.com, Mike Williams
Thanks. I'll adjust the comments a bit for consistency.

--
DINGO: Wicked wicked Zoot ... she is a bad person and she must pay the
penalty. And here in Castle Anthrax, we have but one punishment
... you must tie her down on a bed ... and spank her. Come!
GIRLS: A spanking! A spanking!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages