Thomas Dickey schreef, Op 9-9-2012 21:10:
> On Sun, Sep 09, 2012 at 08:47:11PM +0200, Erwin Waterlander wrote:
>> Thomas Dickey schreef, Op 9-9-2012 12:46:
>>> On Sun, Sep 09, 2012 at 09:13:47AM +0200, Erwin Waterlander wrote:
>>>> Op 9-9-2012 2:28, Thomas Dickey schreef:
>>>>> On Sun, Sep 09, 2012 at 12:21:22AM +0000, Maximus wrote:
>>>>>> Erwin Waterlander <waterlan@...> writes:
>>>>>>> For the record:
>>>>>>> I tried the test programs in ConEmu, an other alternative console for
>>>>>>> Windows. The test programs run, except the ones which use newterm().
>>>>>> Did you mean GUI-subsystem programs, which calls AllocConsole on start?
>>>>>> Give me example of such program, please.
>>>>> He's saying in effect that the test-programs of the ncurses port work
>>>>> about as well in ConEmu as in the Windows console window. (Those are
>>>>> known issues, for which a fix would involve changes to the programs
>>>>> themselves rather than to the library).
>>>> Yes, it is not a ConEmu problem. I wanted to share that the ncurses test
>>>> programs work better in ConEmu than in Console2.
>>> I'll take a look at ConEmu too, but so far have only looked closely at
>>> Console2 in addition to the Windows console. The ncurses test program
>>> "filter" is an example that might rely on the library.
>>> Along the same line, from PDCurses 3.4 history file:
>>> - newterm() works now, in a limited way -- the parameters are ignored,
>>> and only the first invocation will work (i.e., only one SCREEN can be
>> In my versions of wcd built with PDCurses, I don't use newterm() simply
>> because it was not available in PDCurses until recently. I prefer
>> newterm(), which I use in Unix/Cygwin builds, because with newterm I can
>> make a fall back. Initscr exits in case of failure, newterm not. But an
>> ncurses without newterm would be acceptable for me.
>> My main reason for not uploading ncurses libraries for mingw is that
>> Console2 has been downloaded by millions of people. So there is a big
>> chance that a lot of end users will get disappointed. Or do you think it
>> would still be useful to provide ncurses 5.9? If you want I can add the
>> libraries, but I'm afraid it will lead to a lot of frustration among
>> Console2 users.
> There's more than one aspect:
> a) console2 hasn't been updated for about two years, and that was
> a development snapshot (equivalent to my weekly patches for
> ncurses). Its last stable release was 7 years ago. Based on that,
> it's rather unlikely that there will be any relevant fixes by its
> b) besides ncurses, vile also doesn't work in console2. I might find
> that there's the same issue (in console2) for both. But that's
> two different applications that I know of which don't work with
> c) in my test-builds, I'm currently making a zip-file for the ncursesw
> libraries - linked on my ncurses page from these:
> (zip-files aren't so good, but for cross-compiling it seems the
> alternative is nsis which needs a lot of care and feeding).
> d) console2 has been downloaded by a few hundred-thousand users
> (not millions) referring to the sourceforge statistics.
> e) I did make the change to use the WriteConsoleOutputW in ncurses
> for the ncursesw configuration, but there's still some work needed
> to iron out how surrogate pairs are handled. I'd compare it
> directly agains pdcurses, but haven't ported my ncurses-examples
> to work with _that_.
> f) there's also the discussion regarding whether an unset $TERM is
> the best solution for selecting the win32 output. But that might
> be a distraction...
I remember to have seen bigger download numbers of Console when the
Sourceforge pages had a different layout. According to the statistics
now the development version has been downloaded 957,493 times since
2002-01, and console releases about 145,000 times. I don't know how
accurate that data is, because sourceforge has changed its pages often
in the past and data may have been lost. On my own projects I have seen
for instance that reviews got lost.
Anyway the number is not very large compared to the users that use the
normal console. And if the problem lies in Console2, and Console2 is not
updated we should ignore Console2. And there is now a good
alternative,ConEmu, which is actively developed.
It's good to hear you are working on fixing the problems. But what is your advice? Should I wait for ncurses 5.10, or do you want me to upload the current 5.9 libraries (narrow only) to mingw? For me it is not an issue. I have the packages ready and can upload them next week.