Jump to content

Curses: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Libraries for character oriented user interfaces with standardised UNIX functions that provide rudimentary screen handling and updating of text-based windowing. It is a very basic [[API]] and is commonly used on UNIX like systems as a sort of lowest common denominator for a text user interface. Curses libraries are available for various operating systems. Although most commonly used with a text mode [[C]] programs the API can also be used from other programming languages and is quite often used with scripting languages such as [[REXX]].
Libraries for character oriented user interfaces with standardised UNIX functions that provide rudimentary screen handling and updating of text-based windowing. It is a very basic [[API]] and is commonly used on UNIX like systems as a sort of lowest common denominator for a text user interface. Curses libraries are available for various operating systems. Although most commonly used with a text mode [[C]] programs the API can also be used from other programming languages and is quite often used with scripting languages such as [[REXX]].


The name "curses" is a pun on "cursor optimization" and the software concept and name it traces its roots to terminal libraries from the early 70's and appears to pre-date UNIX even.
The name "curses" is a pun on "cursor optimization" and the software concept and name it traces its roots to terminal libraries from the early 70s and appears to pre-date UNIX even.


==Implementations==
==Implementations==
Note that PDCurses is just one of may curses libraries out there. [[nCurses]], P Curses and PC Curses exist or have been ported to OS/2 at some point in time.
Note that PDCurses is just one of many curses libraries out there. [[nCurses]], P Curses and PC Curses exist or have been ported to OS/2 at some point in time.
*BSD curses - included with [[emx]]
*BSD curses - included with [[emx]]
*pcurses
*pcurses

Latest revision as of 00:24, 2 March 2019

Libraries for character oriented user interfaces with standardised UNIX functions that provide rudimentary screen handling and updating of text-based windowing. It is a very basic API and is commonly used on UNIX like systems as a sort of lowest common denominator for a text user interface. Curses libraries are available for various operating systems. Although most commonly used with a text mode C programs the API can also be used from other programming languages and is quite often used with scripting languages such as REXX.

The name "curses" is a pun on "cursor optimization" and the software concept and name it traces its roots to terminal libraries from the early 70s and appears to pre-date UNIX even.

Implementations

Note that PDCurses is just one of many curses libraries out there. nCurses, P Curses and PC Curses exist or have been ported to OS/2 at some point in time.

REXX

Publications

  • John Strang: Programming with curses - O’Reilly 1986, ISBN 0-937175-02-1
  • Berny Goodheart: UNIX Curses Explained - Prentice-Hall 1991, ISBN 0-13-931957-3

Links

X/Open-Standard