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 e9ddc8c090
Final steps for new release 4.5.2 : change of version constants in 'curses.h' and 'docs/HISTORY.md', a few recent changes logged in the latter, updated 'docs/USERS.md'.
4 months ago
.github/workflows Switch to windows-2022 runner (#277) 3 years ago
cmake Update build_dependencies.cmake - fixed cmake warning (#317) 2 years ago
common DOS 'PDC_napmsl()' didn't round to the nearest clock tick correctly. The quantity added should have been 23590, about half the divisor 47181. With the incorrect value, naps would be one tick (about 55 milliseconds) shorter than they should be about 40% of the time. Unsurprisingly, nobody noticed. (But it was _wrong_.) 4 months ago
demos 'ozdemo' : improved ASCII map of Australia, and switched to a more visible color scheme (on some platforms, yellow on green is nearly invisible) 5 months ago
docs Final steps for new release 4.5.2 : change of version constants in 'curses.h' and 'docs/HISTORY.md', a few recent changes logged in the latter, updated 'docs/USERS.md'. 4 months ago
dos Digital Mars makefiles for DOS, DOSVGA, and WinGUI can now build the 'test' programs 1 year ago
dosvga DOSVGA failed on some Watcom compiles due to conflicting definitions of _FP_SEG and _FP_OFF. 'ripoff' now builds correctly on Digital Mars. 1 year ago
fb DRM/framebuffer port's only console code use is to shut off the hardware cursor and turn it back on. We don't really need PDC_puts_to_stdout(). 5 months ago
gl Shameless copy of wmcbrine/PDCurses@aa8d315 (extended to include PDCursesMod-added platforms) 4 months ago
ncurses 'show_col' now built as part of 'tests' on ncurses and some others 1 year ago
os2 Shameless copy of wmcbrine/PDCurses@aa8d315 (extended to include PDCursesMod-added platforms) 4 months ago
os2gui Shameless copy of wmcbrine/PDCurses@aa8d315 (extended to include PDCursesMod-added platforms) 4 months ago
pdcurses getch() triggered an assert() if a multi-byte character was entered. 4 months ago
plan9 Update mkfile (#318) 2 years ago
psffonts Added a bunch of PSF2 fonts, converted from the old SDLn ones 4 years ago
sdl1 SDL1 and x11new now set the 'repeat' modifier bit correctly. 4 months ago
sdl2 Shameless copy of wmcbrine/PDCurses@aa8d315 (extended to include PDCursesMod-added platforms) 4 months ago
tests 'ripoff' demo provides an error message/explanation if you ask for too many lines, instead of just bombing out. Program keeps going, albeit without the requested lines, in both PDCursesMod and ncurses. 7 months ago
vt Clarified docs for 'common' mouse handling, and removed some unused code 4 months ago
wincon WinCon/pdcscrn.c fix to a warning emitted with --std=c23. Provided by Gisle Vanem. See issue #333. 4 months ago
wingui Similar to preceding commit 46a5e0024 : 'false' is not supported by default on OpenWATCOM. (Fixed previously in WinCon, now in WinGUI.) 6 months ago
x11 Clarity 4 months ago
x11new x11new/Makefile had ~20 lines devoted to DOS, MinGW, and other things that an X11 platform need not think about. Pointed out by Simon Sobisch. 4 months 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 Final steps for new release 4.5.2 : change of version constants in 'curses.h' and 'docs/HISTORY.md', a few recent changes logged in the latter, updated 'docs/USERS.md'. 4 months ago
curspriv.h Moved a couple more screen-related externals (_default_foreground_idx, _default_background_idx) into the SCREEN structure, where they properly belong. Follow-up to preceding commit a60b63df74. 6 months 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