
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.
ingen/cursesAPI/ | The base directory for CursesAPI. |
ingen/cursesAPI/curses | CursesAPI headers and dynamic loader source. |
ingen/cursesAPI/docs | Documentation and release notes. |
ingen/cursesAPI/lib | Target directory for import libraries. |
ingen/cursesAPI/sample1 | Sample application 1 source. |
ingen/cursesAPI/sample2 | Sample application 2 source. |
ingen/cursesAPI/sample3 | Sample application 3 source. |
ingen/cursesAPI/utility | Utility library and headers used by Sample3. |
ingen/cursesAPI/GSWTNET | Georgia Softworks' evaluation telnet server. |
- int delay_output(int ms);
- void filter(void);
- void garbagedlines(WINDOW* win, int begy, int numlines);
- void idlok(WINDOW* win, bool bf);
- SCREEN* newterm(char* nterm, FILE* outfp, FILE* infp);
- SCREEN* set_term(SCREEN* new);
- void restartterm(char* term, int fildes, int* errret);
- int scr_dump(char* filename);
- int scr_restore(char* filename);
- int scr_init(char* filename);
- TERMINAL* set_curterm(TERMINAL* nterm);
- int setupterm(char* term, int fildes, int* errret);
- void traceon(void);
- void traceoff(void);
- int typeahead(int fildes);
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.
lib/curses_api.lib or lib/curses_apid.lib.cursesAPI.mdp Visual C++ project and cursesAPI.mak Visual C++ makefile demonstrate this type of
linkage for the sample applications.__CURSES_DYNLOAD as a compile option.curses/curses_loader.c. This code module contains the routines that dynamically load the CursesAPI DLL upon the call to initscr().Makefile.GNU, that demonstrates building an application with this method under the GNU-win32 compiler.curses_api.dll must be in your "path" when you run an application that
uses the library!
BOOL capi_setUsrKeyMapFxn( BOOL (*fxn) (WINDOW* wScr,KEY_EVENT_RECORD* pKr,int* pVal));
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.
NULL as the fxn argument to capi_setUsrKeyMapFxn() to
uninstall your keystroke mapping routine.
SIGTERM.SIGINT.ttyname() will return a name of the form /dev/ttypxxx. The number
is assigned on a per-console basis, so applications running in separate consoles will have
different pseudo-tty numbers. If you are using the Georgia Softworks telnet server, ttyname()
returns the name assigned by the telnet server. If you have a program that needs to read the variable name, outside
of using ttyname(), you can read the name from the environment variable INGEN_CAPI_TTY.[Welcome] [What's New] [Product Info] [Ingen WWW Partners] [Write us!]
Send questions/comments to ingenweb@ingensoft.com