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 222e88bb58
Updated version constants and HISTORY.md
2 days 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 Extracted logic for software blinking and PDC_gotoyx() into common/blink.c 3 days ago
demos 'testcurs' : if a variable isn't changed after initialization, it should be declared as 'const'. Removed a no-longer-needed call to resize_term(0, 0). 2 months ago
docs Updated version constants and HISTORY.md 2 days ago
dos OpenWATCOM builds in DOS, DOSVGA, and VT now allow you to set 32-bit or 16-bit chtypes 6 days ago
dosvga DOSVGA port now uses the same color handling (common/pdccolor.c) as WinGUI, framebuffer/DRM, SDLn, etc. 4 days ago
fb Extracted logic for software blinking and PDC_gotoyx() into common/blink.c 3 days ago
gl GL port now uses the 'common' blinking/cursor handling code from the preceding commit 9e3cde79ae. Note that the changes are very similar to those for SDL2 (commit f6657a39a5) and SDL1 (commit fec5d8be50). 2 days ago
ncurses 'show_col' now built as part of 'tests' on ncurses and some others 2 years ago
os2 Shameless copy of wmcbrine/PDCurses@aa8d315 (extended to include PDCursesMod-added platforms) 6 months ago
os2gui Shameless copy of wmcbrine/PDCurses@aa8d315 (extended to include PDCursesMod-added platforms) 6 months ago
pdcurses Text passed to PDC_transform_line() will now be broken before and after the cursor cell (if the cursor is visible). Ports that draw the cursor (all but DOS, OS/2, and VT) usually have to do this anyway; the logic can now occur in one place instead of in each port. 3 days 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 port now uses the 'common' blinking/cursor handling code from the preceding commit 9e3cde79ae. Note that the changes are very similar to those for SDL2 (commit f6657a39a5) and will closely resemble those to be done for the GL port. 2 days ago
sdl2 SDL2 port now uses the 'common' blinking/cursor handling code from the preceding commit 9e3cde79ae. 3 days ago
tests 'naptest.c' version in the DOS directory is the 'best' one (works with compilers other than just Digital Mars). 1 week ago
vt VT Makefile : pretty sure all systems either have vsnprintf() and vsscanf(), or are adequately tested in curspriv.h. Added ability to compile with 16-bit chtypes. 6 days ago
wincon Redundant, yet conflicting definition of DUMMY_CHAR_NEXT_TO_FULLWIDTH in the WinCon port 2 days ago
wingui WinGUI port now also uses the 'common' blinking/cursor handling code from the preceding commit 9e3cde79ae. 3 days ago
x11 Made 'portability' sections into markdown-friendly tables, a la PDCurses 6 months ago
x11new x11new port now uses the 'common' blinking/cursor handling code from the preceding commit 9e3cde79ae. It also displays a few cursor types previously omitted (the 'newtest' demo shows these). 3 days 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? 4 years ago
CMakeLists.txt Separate GL port from SDL2 3 years ago
README.md Updated 'general' README.md to mention new OS/2 GUI port, x11new, and DRM (Direct Rendering Manager) ports. 6 months ago
appveyor.yml Fix accidental appveyor.yml slip-up 3 years ago
curses.h Updated version constants and HISTORY.md 2 days ago
curspriv.h Text passed to PDC_transform_line() will now be broken before and after the cursor cell (if the cursor is visible). Ports that draw the cursor (all but DOS, OS/2, and VT) usually have to do this anyway; the logic can now occur in one place instead of in each port. 3 days 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, or find bugs, please forward them to the current maintainer or raise an issue/pull request 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, OS/2 GUI, 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 or with DRM
  • GL for use as separate SDL version 2 window, rendered with OpenGL
  • OS/2 for use on OS/2 within a console
  • OS/2 GUI for use on OS/2 in a graphical window
  • 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 (but see below)
  • X11new New and improved X11 version
  • 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