- Ncurses
Infobox_Software
name = ncurses
caption =
developer =GNU Project
latest_release_version = 5.6
latest_release_date = release_date|2006|12|23
operating_system =POSIX
genre =Widget toolkit
license =MIT license
website = [http://www.gnu.org/software/ncurses/ncurses.html www.gnu.org/software/ncurses/ncurses.html]ncurses is a programming library providing an API, allowing the programmer to write
text user interface s in a terminal-independent manner. It's a toolkit for developing "GUI -like"app s which run under aterminal 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 byX/Open is explicitly and closely modeled on System V.Most ncurses calls can be easily ported to the old curses. System V curses implementations can support BSD curses programs with just a recompilation. [ [http://invisible-island.net/ncurses/hackguide.html#abstract A Hacker's Guide to Ncurses Internals ] ] However, a few areas are problematic, such as handling terminal resizing (since no counterpart exists in the old curses). Other subtle differences in call semantics can make porting an ncurses application to commercial
Unix somewhat difficult.Fact|date=September 2007Terminal database
Ncurses can use either
terminfo (with extensible data), ortermcap . Other implementations of curses generally useterminfo ; a minority usetermcap . Few (mytinfo was an older exception [cite web
url=http://www.isc.org/index.pl?/sources/utils/terminal/mytinfo.php
author=Ross Ridge
title=mytinfo posting to comp.sources.unix newsgroup
publisher=Internet Systems Consortium, Inc
date=December 27 1992] ) 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 apermissive free software licence , similar to theMIT License . This is due to the agreement made with theFree Software Foundation at the time the developers assigned their copyright. However, because it isFree Software Foundation software, they may choose to GPL it in the future. [ [http://invisible-island.net/ncurses/ncurses.faq.html#relicensed NCURSES - Frequently Asked Questions (FAQ) ] ]Programs using ncurses
There are hundreds of programs which use ncurses. [cite web
url=http://freshmeat.net/search/?q=ncurses§ion=projects&Go.x=0&Go.y=0
title=Search results: +ncurses
publisher=freshmeat.net] [cite web
url=http://www.ohloh.net/tags/ncurses
title=Projects tagged ‘ncurses’
publisher=ohloh] Some, such asGNU Screen andw3m , use only thetermcap interface, performing screen management within the application. Others, such asGNU Midnight Commander and YaST use the curses programming interface.See also
*
SMG$ The Screen Management library available underOpenVMS
* conio
*Curses Development Kit
*Dialog (software) References
External links
* [http://www.gnu.org/software/ncurses/ncurses.html ncurses homepage]
*Introduction " [http://invisible-island.net/ncurses/ncurses-intro.html Writing Programs with NCURSES] " byEric S. Raymond andZeyd M. Ben-Halim
* [http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ ncurses Programming HOWTO] ( and [http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/NCURSES-Programming-HOWTO.pdf PDF version] )
* [http://www.writeka.com/ed/ncurses_library.html ncurses Beginner's Tutorial]
* [http://invisible-island.net/ncurses/hackguide.html A Hacker's Guide to NCURSES]
* [http://invisible-island.net/ncurses/ncurses.faq.html Frequently asked questions and their corresponding answers] byThomas Dickey Toolkits
* [http://ndk-xx.sourceforge.net/ NDK++] Development Kit for C++
Language bindings
* [http://invisible-island.net/ncurses/Ada95.html Ada95 Binding]
* [http://common-lisp.net/project/cl-ncurses/ Binding for ANSI Common Lisp]
* [http://SpiderApe.sourceforge.net/plugins/ncurses/ Binding for JavaScript]
* [http://www.php.net/manual/en/ref.ncurses.php Terminal Screen Control Functions for PHP]
** [http://devzone.zend.com/node/view/id/1083 Using Ncurses in PHP]
* [http://docs.python.org/lib/module-curses.html Binding for Python]
* [http://ncurses-ruby.berlios.de/ Ruby module]Distributions and packages
* [http://gnuwin32.sourceforge.net/packages/ncurses.htm Ncurses package for Windows] –
GnuWin32
Wikimedia Foundation. 2010.