• Home
Name Date Size #Lines LOC

..--

READMED04-Jul-20252.3 KiB7751

bccwin32.makD04-Jul-20251.5 KiB8660

dmcwin32.makD04-Jul-20254.7 KiB254173

gccwin32.makD04-Jul-20252.7 KiB12998

lccwin32.makD04-Jul-20255.2 KiB274186

mingwin32.makD04-Jul-20252.3 KiB12290

pdcclip.cD04-Jul-20253.7 KiB14679

pdcdisp.cD04-Jul-20252.6 KiB11883

pdcgetsc.cD04-Jul-20251.1 KiB5830

pdckbd.cD04-Jul-202524.8 KiB657455

pdcscrn.cD04-Jul-202515.8 KiB621412

pdcsetsc.cD04-Jul-20252.4 KiB9048

pdcurses.icoD04-Jul-20251.1 KiB

pdcurses.rcD04-Jul-2025746 2926

pdcutil.cD04-Jul-2025388 2616

pdcwin.hD04-Jul-2025335 1810

vcwin32.makD04-Jul-20252.8 KiB137101

wccwin32.makD04-Jul-20251,009 5238

README

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