Public Domain Curses - a curses library for environments that don't fit the termcap/terminfo model, modified and extended from the 'official' version https://www.projectpluto.com/win32a.htm
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.
 
 
 
 
 
 
Go to file
Bill-Gray 8ef616a087
Updated MANUAL.md, HISTORY.md, and version constants for a new release.
2 years ago
.github/workflows Switch to windows-2022 runner (#277) 3 years ago
cmake Fix build for CI 2 years ago
common Thick-lined top tee character was, in Unicode, actually a top tee character with a thick line horizontally and 'normal' vertically. Now, it's thick in all three directions. 2 years ago
demos 'picsview' had issues in 8-bit character mode 2 years ago
docs Updated MANUAL.md, HISTORY.md, and version constants for a new release. 2 years ago
dos Brought CMake's suite of demos up to date for DOS, DOSVGA, WinCon, WinGUI. Others to follow. 2 years ago
dosvga 'terminfo.o' was not included in the DOSVGA Makefile, nor in the WinCon Microsoft(R) makefile. The WinCon Digital Mars makefile said 'term.obj' where it should have said 'terminfo.obj'. Found after a careful check of the reversion of commit 22c4d82f8c, which was done in commits d5d2d8a857, 248146021e and ab1c007273. 2 years ago
fb Fixed a pedantic (but not entirely unreasonable) warning 2 years ago
gl The 'resize' test in testcurs failed for SDL2 and GL. The window would only flash at the resized dimensions, then flash back to the original size. It turned out that we get spurious resizing events, causing testcurs to receive an (unneeded) KEY_RESIZE. 2 years ago
ncurses Two new demos, 'mbrot' (Mandelbrot display) and 'calendar' (shows a calendar). 4 years ago
os2 Makefile adjustment (win32/dos/so2) 3 years ago
pdcurses realloc( ptr, 0); is equivalent to free( ptr); and returns NULL on most systems... but not FreeBSD, and isn't guaranteed by the C standards. This caused an assertion to trigger during endwin() on FreeBSD. 2 years ago
plan9 'terminfo' fully restored (I think). Continuation of commit ab1c007273, which is itself a reversion of commit 22c4d82f8c. A fix for issue #253. 3 years ago
psffonts Added a bunch of PSF2 fonts, converted from the old SDLn ones 4 years ago
sdl1 Enable user trapping of windows close on SDLa and SDL2 3 years ago
sdl2 The 'resize' test in testcurs failed for SDL2 and GL. The window would only flash at the resized dimensions, then flash back to the original size. It turned out that we get spurious resizing events, causing testcurs to receive an (unneeded) KEY_RESIZE. 2 years ago
vt VT flavor : Ctrl-Alt-key was off by one. Hit, say, Ctrl-Alt-T, and you'd get Ctrl-Alt-U. 3 years ago
wincon 'terminfo.o' was not included in the DOSVGA Makefile, nor in the WinCon Microsoft(R) makefile. The WinCon Digital Mars makefile said 'term.obj' where it should have said 'terminfo.obj'. Found after a careful check of the reversion of commit 22c4d82f8c, which was done in commits d5d2d8a857, 248146021e and ab1c007273. 2 years ago
wingui Brought CMake's suite of demos up to date for DOS, DOSVGA, WinCon, WinGUI. Others to follow. 2 years ago
x11 Now using ncurses-6.4 instead of 6.3. Added #define HAVE_s for some capabilities (probably others should be added). 2 years ago
.gitignore Changed DOS/Windows-style CR/LF to LF-only for .gitignore 6 years ago
.travis.yml Getting OpenWATCOM 1.9 from OpenWatcom failed (see previous two commits). Probably didn't want us hogging bandwidth. Well, we're getting OpenWATCOM 2.0 from GitHub; why not get 1.9 from there as well? 3 years ago
CMakeLists.txt Separate GL port from SDL2 2 years ago
README.md Fix C variable declaration order stuff 2 years ago
appveyor.yml Fix accidental appveyor.yml slip-up 2 years ago
curses.h Updated MANUAL.md, HISTORY.md, and version constants for a new release. 2 years ago
curspriv.h 'curspriv.h' modified to allow compilation with C++ compilers. Fix by @kklobe in wmcbrine/PDCurses#132. 2 years ago
panel.h PANELOBS really ought to be completely private to 'panel.c'. 3 years ago
term.h export all our terminfo dummy functions 4 years ago

README.md

Welcome to PDCursesMod!

Public Domain Curses (Modified), aka PDCursesMod, is an implementation of X/Open curses for multiple platforms. As the name suggests, it is a modified version of the 'official' PDCurses project, adding a variety of improvements, such as Windows GUI, VT-like console, Linux/*BSD framebuffer, DOSVGA, OpenGL, and Plan 9 "flavors" of Curses. It expands many of the capabilities of the flavors inherited from PDCurses (SDL1, SDL2, X11, Win32 console, OS/2, and DOS). Some details and screen shots are at

https://www.projectpluto.com/win32a.htm

Much of this was done during a long period in which the 'official' PDCurses was inactive. Since then, that version has again been intermittently active; most improvements made there have been taken into this project, and a few improvements from here have gone into PDCurses. Most programs that compile and run with PDCurses or ncurses will also compile with PDCursesMod, and vice versa, as long as you stick to the (substantial) subset of common functionality. However, the fork appears to be permanent.

The core package is in the public domain, but small portions of PDCursesMod are subject to copyright under various licenses. Each directory contains a README file, with a section titled "Distribution Status" which describes the status of the files in that directory.

If you use PDCursesMod in an application, an acknowledgement would be appreciated, but is not mandatory. If you make corrections or enhancements to PDCursesMod, please forward them to the current maintainer for the benefit of other users.

This software is provided AS IS with NO WARRANTY whatsoever.

Ports

PDCurses has been ported to DOS, OS/2, Win32, X11 and SDL1 and SDL2. PDCursesMod adds DOSVGA, Windows GUI, Plan 9, Linux/*BSD framebuffer, and VT-like console ports. A directory containing the port-specific source files exists for each of these platforms.

Build instructions are in the README file for each platform:

  • DOS for use on DOS
  • DOSVGA for use on DOS in graphical modes
  • fb for use on the Linux/*BSD framebuffer
  • OS/2 for use on OS/2
  • Plan9 for use on Plan9 (APE)
  • SDL 1.x for use as separate SDL version 1 window
  • SDL 2.x for use as separate SDL version 2 window
  • wincon (formerly win32) for use on Windows Console
  • WinGUI for use on Windows Graphics Mode
  • X11 (also called XCurses) for use as separate X11 window
  • VT for use on terminal
  • OpenGL for use as separate window with OpenGL rendering

Distribution Status

All files in this directory except configure, config.guess and config.sub are released to the Public Domain. config.guess and config.sub are under the GPL; configure is under a free license described within it.

Build Status

PDCursesMod is automatically built in multiple environments:

Build, Build status Travis-CI , also providing artifacts: Build status Appveyor

Maintainer

Bill Gray pôç.ötulpťcéjôřp@otúlm