From 537b7b5e9f71cb57a690d903d1787d119eaa29d0 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 17 Mar 2015 02:06:47 +0100 Subject: support for ncurses/win32 Unfortunately, I cannot really test this curses port since it is not supported by Windows 2000 (missing AttachConsole() API) and it does not run very well in Wine. Under Wine, it does not require the LINES and COLS variable to be set. However, endwin() and the refresh later on result in a very unusable state of operation. I cannot currently check whether this is true on Windows XP or later. --- distribute | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'distribute') diff --git a/distribute b/distribute index 9d4e57e..af05550 100755 --- a/distribute +++ b/distribute @@ -73,6 +73,8 @@ ppa : debian-source # which is required by the glib spawn functions. # If we ever build a non-console version on Windows, # we should include gspawn-win32-helper.exe instead. +MINGW_UI=pdcurses + mingw-binary : sciteco-$(SCITECO_VERSION)-win32.zip sciteco-$(SCITECO_VERSION)-win32.zip : $(SCITECO_SRC) tar xzf $(SCITECO_SRC) @@ -83,7 +85,7 @@ sciteco-$(SCITECO_VERSION)-win32.zip : $(SCITECO_SRC) --prefix=/usr \ --enable-static-executables \ --disable-dependency-tracking \ - --with-interface=pdcurses \ + --with-interface=$(MINGW_UI) \ --disable-bootstrap \ --enable-html-manual \ CFLAGS="-g -O3" CXXFLAGS="-g -O3"; \ -- cgit v1.2.3