|
|
|
|
Ncurses
|
| |
|
| |
ncurses is a programming library providing an API, allowing the programmer to write text user interfaces in a terminal-independent manner. It's a toolkit for developing "GUI-like" apps which run under a terminal emulator. It also optimizes screen changes, in order to reduce the latency experienced when using remote shells.
The project leader is Thomas Dickey.
History The "N" in ncurses is an abbreviation of the word "new." This is because ncurses is a free software emulation (clone) of System V Release 4.0 (SVr4) curses, an enhancement over the discontinued classic 4.4 BSD curses.

Discussion
Ask a question about 'Ncurses'
Start a new discussion about 'Ncurses'
Answer questions from other users
|
Encyclopedia
ncurses is a programming library providing an API, allowing the programmer to write text user interfaces in a terminal-independent manner. It's a toolkit for developing "GUI-like" apps which run under a terminal emulator. It also optimizes screen changes, in order to reduce the latency experienced when using remote shells.
The project leader is Thomas Dickey.
History The "N" in ncurses is an abbreviation of the word "new." This is because ncurses is a free software emulation (clone) of System V Release 4.0 (SVr4) curses, an enhancement over the discontinued classic 4.4 BSD curses. The XSI Curses standard issued by X/Open is explicitly and closely modeled on System V. Development started in 1991 or 1992 using pcurses and was first announced in 1993
as noted on the ncurses homepage.
An earlier article refers to 1991 (second-hand information) but contains several flaws, e.g., asserting that pcurses was little known (it was distributed in the first volume of the comp.sources.unix newsgroup as noted in the terminfo article) and obscuring the connection between BSD and UNIX curses via Mark Horton. The README file in ncurses 1.8.1 states "v0.1 July 31, 1992" and "v1.8.1 Nov 5, 1993", which agrees with the current NEWS file.
The ncurses NEWS file gives detailed development information.
Most ncurses calls can be easily ported to the old curses. System V curses implementations can support BSD curses programs with just a recompilation. However, a few areas are problematic, such as handling terminal resizing (since no counterpart exists in the old curses).
Terminal database Ncurses can use either terminfo (with extensible data), or termcap. Other implementations of curses generally use terminfo; a minority use termcap. Few (mytinfo was an older exception) use both.
License
Ncurses is a part of the GNU Project. It is one of the few GNU files not distributed under the GNU GPL or LGPL; it is distributed under a permissive free software licence, similar to the MIT License. This is due to the agreement made with the Free Software Foundation at the time the developers assigned their copyright. However, because it is Free Software Foundation software, they may choose to GPL it in the future.
Programs using ncurses
There are hundreds of programs which use ncurses. Some, such as GNU Screen and w3m, use only the termcap interface, performing screen management within the application. Others, such as GNU Midnight Commander and YaST use the curses programming interface.
See also
External links
Toolkits
Language bindings
Distributions and packages
|
| |
|
|