Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.4 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.4 KB

PDCurses for DOS

This directory contains PDCurses source code files specific to DOS.

Building

  • Choose the appropriate makefile for your compiler:

      bccdos.mak   - Borland C++ 3.0+
      gccdos.mak   - DJGPP V2
      mscdos.mak   - Microsoft C
      wccdos16.mak - Open Watcom 1.8+ (16-bit)
      wccdos4g.mak - Open Watcom 1.8+ (32-bit)
    
  • For 16-bit compilers, you can change the memory MODEL in the makefile. (Large model is the default, and recommended.)

  • 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 makefile
    

    (For Watcom, use "wmake" instead of "make"; for MSVC, "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.

Distribution Status

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

Acknowledgements

Watcom C port was provided by Pieter Kunst [email protected]

DJGPP 1.x port was provided by David Nugent [email protected]