CursesAPI Documentation

Package Documentation

There is currently no package-specific documentation for CursesAPI. The Unix curses library is well-documented, and there are a number of books available on the subject.

CursesAPI v2.2 - Release Notes

Directories

CursesAPI installs into the following directories:
ingen/cursesAPI/The base directory for CursesAPI.
ingen/cursesAPI/cursesCursesAPI headers and dynamic loader source.
ingen/cursesAPI/docsDocumentation and release notes.
ingen/cursesAPI/libTarget directory for import libraries.
ingen/cursesAPI/sample1Sample application 1 source.
ingen/cursesAPI/sample2Sample application 2 source.
ingen/cursesAPI/sample3Sample application 3 source.
ingen/cursesAPI/utilityUtility library and headers used by Sample3.
ingen/cursesAPI/GSWTNETGeorgia Softworks' evaluation telnet server.

Unimplemented Functions

The following functions have been implemented as "dummy" functions. They are included to allow applications that use them to successfully link, but they are essentially no-ops.

Standard IO Routines

The handling of interaction between stdio rotuines and CursesAPI has been fixed. Before calling any stdio routine that results in output/input to/from the console (i.e. printf(), gets(), etc.), you should call endwin(). This restores the "cooked" processing mode of the console. Upon the next refresh of CursesAPI ( via wgetch(), doupdate(), wrefresh(), etc.), the CursesAPI modes will be restored and the screen automatically redrawn.

Linking Options

CursesAPI is now distributed in DLL format to allow for the greatest variety of development environments. There are two types of dynamic linking: importing and dynamic loading. Remember that curses_api.dll must be in your "path" when you run an application that uses the library!

User-Defined Input Processing

CursesAPI makes it easy to define your own key mappings.

BOOL capi_setUsrKeyMapFxn( BOOL (*fxn) (WINDOW* wScr,KEY_EVENT_RECORD* pKr,int* pVal));

Call capi_setUsrKeyMapFxn() to install your own input pre-processing function. Your function should match the signature specified in the prototype, and will receive all Win32 keystroke events before any processing is performed on the events by CursesAPI. Your function should return TRUE if has mapped the event, and CursesAPI should not do any further mapping on the event. Return FALSE to have CursesAPI map the event to a curses keystroke.

Pass NULL as the fxn argument to capi_setUsrKeyMapFxn() to uninstall your keystroke mapping routine.

Implementation Issues

[Welcome] [What's New] [Product Info] [Ingen WWW Partners] [Write us!]

Ingen Software, Ltd.
Send questions/comments to
ingenweb@ingensoft.com