From 8101cec729c07fd5bdeda70c12dbb43a2383cbe8 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 18 Jun 2015 16:24:32 +0200 Subject: major Curses UI revision: initialize curses as late as possible * relies on a patched version of Scinterm that allows you to construct Scintilla objects, send messages etc. before Curses is initialized. The Scintilla and Scinterm submodules have been updated. * This once and for all fixes batch mode and stdio redirections in batch mode on all Curses platforms and operating systems. * Fixes the ^C-does-not-interrupt bug on ncurses/UNIX. See #4. * On ncurses/UNIX we will still do a newterm()-initialization. This allows us to keep stdout/stderr alone in case they are redirected. This effectively allows redirecting SciTECO's output into a file even in interactive mode. ncurses/UNIX now behaves like, e.g. PDCurses/win32a and GTK+ in this regard. * Curses environment variable handling fixed. The environment registers are exported into the process environment so that Curses environment variables can be set/modified by the SciTECO profile. * Use term.h for accessing terminfo now. Explained set_window_title() limitations. * fixed interruption via SIGINT. If the UI is waiting for user input, SIGINT is effectively ignored instead of letting the next character fail always. * Updated sciteco(1) and sciteco(7): More options, environment variables and signals documented. Also rewritten DESCRIPTION section (different modes of operation). --- doc/sciteco.7.template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/sciteco.7.template') diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index 79b2eff..b777143 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -503,11 +503,13 @@ T};T{ .B "Not a real immediate editing command." Will interrupt the current operation (character processing), yielding a \*(ST error. -It depends on asynchronous delivery of the +On some GUIs it depends on asynchronous delivery of the .B SIGINT signal and is useful to interrupt infinite loops. -Therefore with GUI user interfaces, the signal might has to be -delivered via the attached console or from another process. +Since not all user interfaces support interruptions via +\fB^C\fP, it may be necessary to deliver the signal by +pressing \fB^C\fP on the attached console or by explicitly +sending it. If \*(ST is not busy, .B ^C is self-inserting and might be used as a regular command. -- cgit v1.2.3