• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D09-Mar-20193 KiB8658

bccwin32.makH A D09-Mar-20191.5 KiB8660

dmcwin32.makH A D09-Mar-20195 KiB257175

lccwin32.makH A D09-Mar-20195.5 KiB274186

mingwin32.makH A D09-Mar-20193.5 KiB169132

pdcclip.cH A D09-Mar-20194.3 KiB175102

pdcdisp.cH A D09-Mar-20192.2 KiB8956

pdcgetsc.cH A D09-Mar-20191 KiB5629

pdckbd.cH A D09-Mar-201930.3 KiB758550

pdcscrn.cH A D09-Mar-201918.7 KiB702479

pdcsetsc.cH A D09-Mar-20192.3 KiB9247

pdcurses.rcH A D09-Mar-2019774 2926

pdcutil.cH A D09-Mar-2019828 4229

pdcwin.hH A D09-Mar-2019781 3225

vcwin32.makH A D09-Mar-20193.7 KiB159122

wccwin32.makH A D09-Mar-20191 KiB5238

README.md

1PDCurses for Win32
2==================
3
4This directory contains PDCurses source code files specific to Win32
5console mode (Win95 and all subsequent forks of Windows).
6
7Building
8--------
9
10   (Note that the following is almost identical to the instructions
11   for the Win32a GUI flavor of PDCurses.)
12
13- Choose the appropriate makefile for your compiler:
14
15        bccwin32.mak  - Borland C++ 4.0.2+
16        dmcwin32.mak  - Digital Mars
17        lccwin32.mak  - LCC-Win32
18        mingwin32.mak - MinGW, Cygnus GNU Compiler
19        vcwin32.mak   - Microsoft Visual C++ 2.0+ or later & Intel(R) compiler
20        wccwin32.mak  - Open Watcom 1.8+
21
22- Optionally, you can build in a different directory than the platform
23  directory by setting PDCURSES_SRCDIR to point to the directory where
24  you unpacked PDCurses, and changing to your target directory:
25
26        set PDCURSES_SRCDIR=c:\pdcurses
27
28  This won't work with the LCC or Digital Mars makefiles, nor will the
29  options described below.
30
31- Build it:
32
33        make -f makefilename
34
35  (For Watcom, use "wmake" instead of "make"; for MSVC, "nmake".) You'll
36  get the libraries (pdcurses.lib or .a, depending on your compiler; and
37  panel.lib or .a), the demos (*.exe), and a lot of object files. Note
38  that the panel library is just a copy of the main library, provided
39  for convenience; both panel and curses functions are in the main
40  library.
41
42  You can also give the optional parameter "WIDE=Y", to build the
43  library with wide-character (Unicode) support:
44
45        make -f mingwin32.mak WIDE=Y
46
47  When built this way, the library is not compatible with Windows 9x,
48  unless you also link with the Microsoft Layer for Unicode (not
49  tested).
50
51  For the Intel(R) compiler,  use vcwin32.mak and add ICC=Y.
52
53  By default,  vcwin32.mak results in 64-bit code for both VC and Intel(R).
54  Add IX86=Y to generate 32-bit code.  (Other builds are 32-bit only.)
55
56  Another option, "UTF8=Y", makes PDCurses ignore the system locale, and
57  treat all narrow-character strings as UTF-8. This option has no effect
58  unless WIDE=Y is also set. Use it to get around the poor support for
59  UTF-8 in the Win32 console:
60
61        make -f mingwin32.mak WIDE=Y UTF8=Y
62
63  You can also use the optional parameter "DLL=Y" with Visual C++,
64  MinGW or Cygwin, to build the library as a DLL:
65
66        nmake -f vcwin32.mak WIDE=Y DLL=Y
67
68  When you build the library as a Windows DLL, you must always define
69  PDC_DLL_BUILD when linking against it. (Or, if you only want to use
70  the DLL, you could add this definition to your curses.h.)
71
72  If cross-compiling from Linux,  add the parameter `_w64=1` to get
73  64-bit code (default will be 32-bit).
74
75        make -f mingwin32.mak _w64=1 [WIDE=Y UTF8=Y DLL=Y]
76
77Distribution Status
78-------------------
79
80The files in this directory are released to the Public Domain.
81
82Acknowledgements
83----------------
84
85Generic Win32 port was provided by Chris Szurgot <szurgot@itribe.net>
86