You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/os2
Simon Sobisch 71697bd4cc
fixed broken OS2 defintion of PDC_scr_open
Follow-up to ee4dab01f5
6 years ago
..
CMakeLists.txt CMake tested on Windows, and Linux 7 years ago
Makefile Followed wcbrine's lead: removed terminfo.c and term.h, moved mvcur() to move.c See docs/HISTORY.md for details on why this was done. 6 years ago
Makefile.bcc Followed wcbrine's lead: removed terminfo.c and term.h, moved mvcur() to move.c See docs/HISTORY.md for details on why this was done. 6 years ago
Makefile.wcc Some OS/2 make and README files referenced the old makefile names. Further fixes for issue #96. 7 years ago
README.md Some OS/2 make and README files referenced the old makefile names. Further fixes for issue #96. 7 years ago
iccos2.lrf Followed wcbrine's lead: removed terminfo.c and term.h, moved mvcur() to move.c See docs/HISTORY.md for details on why this was done. 6 years ago
iccos2.mak Followed wcbrine's lead: removed terminfo.c and term.h, moved mvcur() to move.c See docs/HISTORY.md for details on why this was done. 6 years ago
pdcclip.c Man page sections reformatted slightly, markdown-style. 10 years ago
pdcdisp.c Eliminated CHTYPE_16 (16-bit chtype) option. Default remains 64-bit chtypes, and one can #define CHTYPE_32 to get 32-bit chtypes. Mostly just meant I could chop out vast amounts of code, and CHTYPE_LONG is gone. 6 years ago
pdcgetsc.c Id tags aren't useful with git. 11 years ago
pdckbd.c wmcbrine has removed 'PDC_get_input_fd'. Following suit here. 6 years ago
pdcos2.h Eliminated CHTYPE_16 (16-bit chtype) option. Default remains 64-bit chtypes, and one can #define CHTYPE_32 to get 32-bit chtypes. Mostly just meant I could chop out vast amounts of code, and CHTYPE_LONG is gone. 6 years ago
pdcscrn.c fixed broken OS2 defintion of PDC_scr_open 6 years ago
pdcsetsc.c Moved pdc_color_started into SP as 'color_started'. 6 years ago
pdcutil.c Switched to wmcbrine's version-checking code (mostly identical to what was there, but there were cosmetic differences). 6 years ago

README.md

PDCurses for OS/2

This directory contains PDCurses source code files specific to OS/2.

Building

  • Choose the appropriate makefile for your compiler:

      Makefile.bcc - Borland C++ 2.0
      Makefile     - EMX 0.9b+
      iccos2.mak   - C Set/2
      Makefile.wcc - Open Watcom 1.8+
    
  • Optionally, you can build in a different directory than the platform directory by setting PDCURSES_SRCDIR to point to the directory where you unpacked PDCurses, and changing to your target directory:

      set PDCURSES_SRCDIR=c:\pdcurses
    
  • Build it:

      make -f makefilename
    

    (For Watcom, use "wmake" instead of "make"; for MSVC or C Set/2, "nmake".) You'll get the libraries (pdcurses.lib or .a, depending on your compiler; and panel.lib or .a), the demos (*.exe), and a lot of object files. Note that the panel library is just a copy of the main library, provided for convenience; both panel and curses functions are in the main library.

    You can also use the optional parameter "DLL=Y" with EMX, to build the library as a DLL:

      make -f Makefile DLL=Y
    

Distribution Status

The files in this directory are released to the Public Domain.