[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following listing contains the interface of the CRT unit.
`CRT' is a `curses' based unit for text screen handling. It is compatible to BP's `CRT' unit, even in a lot of minor details like the values of function key codes and includes some routines for compatibility with TP5's `Win' unit as well as BP's `WinCrt' and Turbo Power's `TPCrt' units, and some extensions.
The unit has been extended by many functions that were lacking in BP's unit and required assembler code or direct memory/port access to be implemented under BP. The GPC version is now fully suited for portable, real-world programming without any dirty tricks.
The unit is also available as `WinCRT', completely identical to `CRT'. The only purpose of this "feature" is to let programs written for TPW or BP, with a `uses WinCRT' directive, compile without changes. Unlike TPW/BP's `WinCRT' unit, GPC's unit is not crippled, compared to `CRT'.
To use this unit, you will need the `ncurses' (version 5.0 or newer) or `PDCurses' library which can be found in http://www.gnu-pascal.de/libs/.
{ CRT (Crt Replacement Tool) Portable BP compatible CRT unit for GPC with many extensions |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |