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. --- INSTALL | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 0a50328..735b7f3 100644 --- a/INSTALL +++ b/INSTALL @@ -17,11 +17,13 @@ SciTECO Build and Runtime Dependencies * Glib 2 as a cross-platform runtime library (v2.28 or later on Unix, v2.34 or later for MinGW): https://developer.gnome.org/glib/ - * When choosing the Curses interface: - * NCurses (http://www.gnu.org/software/ncurses/), - PDCurses/XCurses (http://pdcurses.sourceforge.net/), - PDCurses/Win32a (http://www.projectpluto.com/win32a.htm) or - PDCurses/EMCurses (https://github.com/rhaberkorn/emcurses) + * When choosing the Curses interface, you need one of: + * NCurses (http://www.gnu.org/software/ncurses/). + * PDCurses/XCurses (http://pdcurses.sourceforge.net/). + Note that XCurses v3.4 appears to be broken, you should + build from PDCurses Git instead. + * PDCurses/Win32a (http://www.projectpluto.com/win32a.htm). + * PDCurses/EMCurses (https://github.com/rhaberkorn/emcurses). * other curses implementations might work as well but are untested * When choosing the GTK interface: * GTK+ 2: http://www.gtk.org/ -- cgit v1.2.3