#31 Win9x doesn\'t work at all / testcurs is buggy


You say PDCurses supports Win32 but that's not true. It
only works 2000/XP (and maybe NT) not on the Win9x
line of OSes. If you haven't noticed the console functions
of the NT/2000 and the 9x line of Windows OSes are
incompatible to some extend. PDCurses should chose
the right functions at compile time dependant on the
WINVER etc. defines. I think there is also a subset that
works on both OS lines but I've heard it preforms poor.

I tried compiling Curses apps on Win98SE and WinMe
using Lcc-win32, BCC32 and Mingw and the binaries
never really worked. They DON'T crash at startup you
have to run a non-trivial app to notice that it doesn't really
work correctly. Please fix this or add a notice that
PDCurses doesn't support Windows 9x.

BTW, have you ever builded the testcurs app that
comes with pdcurses yourself? It's buggy as hell.
For example in one of the tests a window frame looks
partly destroyed. Innocent users will probably think their
curses build is buggy but the bug is really in the source
of the testcurs app. The code actually is written to partly
destroy the window frame. You should really fix this.


  • Mark Hessling

    Mark Hessling - 2003-12-26
    • assigned_to: nobody --> rexx
  • Nobody/Anonymous

    Logged In: NO

    I want to team up with somebody to fix some of the bugs and
    enhance compatibility between Windows and *nix. If is there
    somebody that has some low-level C knowledge AND has the
    same desire I have, please e-mail me: carlos220v@bol.com.br

  • elsapo

    elsapo - 2005-06-26

    Logged In: YES

    What console functions are incompatible?

    I am not currently using pdcurses, but I'm using another
    curses emulation for the MS-Windows builds of lifelines, and
    AFAIK its working on both 9x and NT platforms with the same

    I'm using


    I used to use a different console function, but to get arrow
    keys and stuff I had to go to ReadConsoleInput.

    However, I would like something like the dialog library of
    ncurses, without having to implement it, so I'm interested
    in pdcurses.

  • William McBrine

    William McBrine - 2005-11-28

    Logged In: YES

    It seems to me that it does work in 9x (although the bit
    about poor performance there might be valid, at least for
    older versions), so you'll have to be more specific in your
    complaints. Also, please try the CVS version and see if it
    works any better for you.

    I agree that testcurs is somewhat buggy and needs fixing.
    However, again, your complaint is too vague to act on.

  • William McBrine

    William McBrine - 2005-11-28
    • status: open --> pending-works-for-me
  • William McBrine

    William McBrine - 2005-12-09

    Logged In: YES

    I realize now what you meant about the "partly destroyed"
    window frame, and I did fix that, along with some other
    things in testcurs. Still curious to hear more specific

  • William McBrine

    William McBrine - 2006-08-15

    Logged In: YES

    Despite the uselessness of this bug report, I think I may
    have something for the OP: a big performance boost in 9x, IF
    you turn off the cursor, and use the latest CVS PDCurses. (I
    sent more details to the mailing list, but it's not showing
    up in the archive yet... hmm.)

    Although SetConsoleCursorPosition() performs much worse in
    9x than in XP, that's just a bug in 9x. The portion of the
    console API used by PDCurses does not differ between 9x and
    XP (except for the optional Unicode support, which is new,
    and only in CVS at this time).

  • William McBrine

    William McBrine - 2006-08-15
    • assigned_to: rexx --> wmcbrine
  • William McBrine

    William McBrine - 2007-04-01
    • summary: Win9x doesn't work at all / testcurs is buggy --> Win9x doesn\'t work at all / testcurs is buggy
    • status: pending-works-for-me --> closed-works-for-me

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks