Share

Public Domain Curses

Code

Programming Languages: C

License: Public Domain, MIT License

Repositories

browse code, statistics, last commit on 2008-11-27 cvs -d:pserver:anonymous@pdcurses.cvs.sourceforge.net:/cvsroot/pdcurses login

cvs -z3 -d:pserver:anonymous@pdcurses.cvs.sourceforge.net:/cvsroot/pdcurses co -P modulename

Show:

What's happening?

  • Followup: RE: dll from pdc34dllu.zip doesn't support color

    Oh, thanks. I didn't realize that...I guess I should learn more C before trying something like this. Thanks for helping me.

    2009-10-13 16:59:13 UTC by l33tnerd

  • Followup: RE: dll from pdc34dllu.zip doesn't support color

    (Hmm, that site wouldn't show me the file at first, but it did when I tried it again.) You need to call start_color() before colors will work.

    2009-10-13 12:43:23 UTC by wmcbrine

  • Followup: RE: dll from pdc34dllu.zip doesn't support color

    OK, I'm not going to join that site just to read your code. But I can tell you that colors won't work unless you call start_color() first.

    2009-10-13 12:36:23 UTC by wmcbrine

  • dll from pdc34dllu.zip doesn't support color

    I'm using PDCurses and ctypes to provide a Python binding to pdcurses on Windows. The dll I'm using is from pdc34dllu.zip, which pops up a window instead of using the console. However, when I run my program, for some reason, it doesn't show colors (my script has a test of colors at the very end). The sourcecode can be downloaded at [http://www.box.net/shared/8a0lbxoj6j][1]. Does anyone know why...

    2009-10-12 18:40:36 UTC by l33tnerd

  • resize_term documentation bug

    The initscr manual page should make clear that resize_term returns OK or ERR, not NULL.

    2009-09-16 19:37:29 UTC by werner_wenzel

  • Comment: init_color does not initialize the color (without fail)

    For Win32, init_color() uses an undocumented API. It's not too surprising that it would break in Win 7. It could take a long time to fix this, if ever -- so far I haven't found any info on the right way to do it in Win 7, assuming that one even exists. Sorry for the delay in replying. I thought this thing was supposed to email me when a new bug was entered.

    2009-09-08 03:07:36 UTC by wmcbrine

  • (Minor) bug in silk.c / _slk_calc()

    When 12 SLKs are displayed, the 6th (slk[5]) sticks to the 5th (slk[4]) which looks a little bit ugly. This is due to an operator typo in "_slk_calc()". The line "slk[5].start_col = center - label_length - 1;" should read "slk[5].start_col = center - label_length + 1;". Werner.

    2009-08-29 20:03:12 UTC by werner_wenzel

  • Comment: subpad() buggy!?

    I added a missing "getch();" in the attached file. Apologies. Werner.

    2009-08-29 19:46:31 UTC by werner_wenzel

  • subpad() buggy!?

    In my view the subpad function (in pad.c) doesn't work als described in the PDCurses User's Guide. According to this it should be possible to create a subwindow with its parent's dimensions, i. e. as wide and/or as high as the parent. But trying to do this returns NULL. Please refer to the attached file. Obviously this is due to the following code from pad.c / subpad, as a pad's _begy and...

    2009-08-25 14:25:13 UTC by werner_wenzel

  • init_color does not initialize the color (without fail)

    OS : Windows 7 RC version : pdcurses 3.4 with unicode support When try I to init a color with init_color, the color does not change. The test given with source code (testcurs.c) do'nt work too. With the uploaded file, I've the ouput : " Has colors : yes, can change color : yes, COLORS : 16, COLOR_PAIRS : 256 COLOR_RED : 502, 0, 0 Red yet...

    2009-08-22 13:36:45 UTC by cbaptiste

Our Numbers