Re: [code] [scinterm] [patch] deferred curses initialization & build-system integration

From: Mitchell <>
Date: Sat, 27 Jun 2015 00:53:54 -0400 (EDT)


On Fri, 26 Jun 2015, Mitchell wrote:

> Hi Robin,
> On Fri, 26 Jun 2015, Robin Haberkorn wrote:
>> Hello,
>> sometimes, you may want to operate your Scinterm-based editor in
>> command-line mode, i.e. running scripts that access internal structures
>> of your editor without showing a GUI. This is exactly what SciTECO
>> does, using Scinterm for its terminal port.
>> [snip]
>> I found the easiest way to achieve what I want is to patch Scinterm so
>> it defers use of curses to the point where it really needs to access
>> curses functions and data structures. Furthermore I took the freedom to
>> fix Scinterm's inline API documentation - also mentioning when curses
>> has to be initialized and when it doesn't - and adding support for a
>> CURSES_CFLAGS Makefile variable that is very useful if you have
>> different versions of curses installed. The latter patch is also useful
>> when integrating the Scintilla/Scinterm build process into a larger
>> one which allows central configuration of the Curses library used; which
>> is as I have argued earlier the only sane way to make your program
>> depend on Scintilla and keep it easy to build from source.
>> [snip]
> Thanks for this! It looks pretty good at first glance. I'll take a look at it
> in more depth over the weekend and get back to you.

Committed[1] after a little cleanup. Thanks for catching some
documentation issues too :)



You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sat 27 Jun 2015 - 00:53:54 EDT

This archive was generated by hypermail 2.2.0 : Sat 27 Jun 2015 - 06:26:52 EDT