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.
Bill-Gray
e69b42cbf5
Centralized a lot of the demo-building Makefile info into common/libobjs.mif
2 years ago
..
CMakeLists.txt
CMake tested on Windows, and Linux
7 years ago
Makefile
Centralized a lot of the demo-building Makefile info into common/libobjs.mif
2 years ago
Makefile.bcc
Makefile adjustment (win32/dos/so2)
3 years ago
Makefile.wcc
Removed the ability to make BBS-ready packages. 'Upstream' PDCurses did this 3.5 years ago; time we caught up.
3 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
We partially 'restored' terminfo functions with commit 22c4d82f, but it was a very partial restoration : terminfo.c was not actually compiled/linked into the library on most platforms. Reported by Pavel Stehule, issue #253 .
3 years ago
iccos2.mak
Makefile adjustment (win32/dos/so2)
3 years ago
pdcclip.c
Now using wmcbrine PDCurses OS/2 code, with a few minor alterations to suit PDCursesMod. Compiles with OpenWATCOM, but not actually tested. This may fix issue #232 , or at least start us on our way to a fix.
4 years ago
pdcdisp.c
Test for 'is this a valid alternative charset character' assumed 16 bits were assigned to A_CHARTEXT. That's always true in upstream PDCurses, but we have 21 bits (for full Unicode characters and 64-bit chtypes) and 8 bits (for narrow-build 32-bit chtypes). Mark Hessling pointed me to a compiler error in the latter case, and there could be display issues on platforms where the error doesn't occur. And in any case, the revised code is easier to look at and understand (no magical 0xff80 constants).
3 years ago
pdcgetsc.c
Now using wmcbrine PDCurses OS/2 code, with a few minor alterations to suit PDCursesMod. Compiles with OpenWATCOM, but not actually tested. This may fix issue #232 , or at least start us on our way to a fix.
4 years ago
pdckbd.c
OS/2 : eliminated an unnecessary dependency on DosQuerySysInfo(), and some unnecessary global variables. Ensured blinking wouldn't break if a program ran more than 2^32 milliseconds = 49.71 days... admittedly an unlikely occurrence.
4 years ago
pdcos2.h
OS/2 : eliminated an unnecessary dependency on DosQuerySysInfo(), and some unnecessary global variables. Ensured blinking wouldn't break if a program ran more than 2^32 milliseconds = 49.71 days... admittedly an unlikely occurrence.
4 years ago
pdcscrn.c
(Facepalm) PDC_free_platform_dependent_memory() was completely stupid. We already have PDC_scr_free() for exactly that purpose.
3 years ago
pdcsetsc.c
OS/2 : eliminated an unnecessary dependency on DosQuerySysInfo(), and some unnecessary global variables. Ensured blinking wouldn't break if a program ran more than 2^32 milliseconds = 49.71 days... admittedly an unlikely occurrence.
4 years ago
pdcutil.c
OS/2 : eliminated an unnecessary dependency on DosQuerySysInfo(), and some unnecessary global variables. Ensured blinking wouldn't break if a program ran more than 2^32 milliseconds = 49.71 days... admittedly an unlikely occurrence.
4 years ago
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.