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

From: Mitchell <m.att.foicica.com>
Date: Fri, 26 Jun 2015 17:23:37 -0400 (EDT)

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.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 26 Jun 2015 - 17:23:37 EDT

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