From 17e7768e3393eaac91ebfa7467be3d1cabd7659a Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 21 Jun 2015 19:56:13 +0200 Subject: added XCurses support * enabled via --with-interface=xcurses, so we can configure it automatically via xcurses-config. This also adds XCURSES_CFLAGS and XCURSES_LIBS. * The X11 window class name is set to "SciTECO". X11 resource overrides can currently not be set via sciteco's command line. The user may use .Xdefaults though. * interruptions via CTRL+C are currently not supported. Apparently, XCurses also does send SIGINT in cbreak() mode. An XCurses-specific hack would be cumbersome. * ~InterfaceCurses() should probably be rewritten. Curses cleanup should be completely in restore_batch() as the destructor may be called after Curses-cleanup handlers. E.g. isendwin() SEGFAULTs on XCurses when called from the destructor. --- scintilla.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scintilla.am') diff --git a/scintilla.am b/scintilla.am index 53f22d6..481bcc6 100644 --- a/scintilla.am +++ b/scintilla.am @@ -7,7 +7,7 @@ MAKE_SCINTILLA = $(MAKE) -C @SCINTILLA_PATH@/gtk \ CONFIGFLAGS='@LIBGTK_CFLAGS@' else MAKE_SCINTILLA = $(MAKE) -C @SCINTERM_PATH@ \ - CURSES_CFLAGS='@PDCURSES_CFLAGS@ @NCURSES_CFLAGS@' + CURSES_CFLAGS='@PDCURSES_CFLAGS@ @XCURSES_CFLAGS@ @NCURSES_CFLAGS@' endif # Pass toolchain configuration to Scintilla. -- cgit v1.2.3