ncurses
ncurses (new curses) is a programming library for creating textual user interfaces (TUIs) that work across a wide variety of terminals. It is written in a way that attempts to optimize the commands that are sent to the terminal, to reduce the latency experienced when updating the displayed content. ncurses is a free and open-source software emulation of curses from System V Release 4.0 (SVr4). There are bindings for ncurses in a variety of programming languages, including Ada, Common Lisp, Python, Gambas, Ruby, PHP, JavaScript, Perl, Object REXX (ooRexx) and Rust.
ncurses (new curses) is a programming library for creating textual user interfaces (TUIs) that work across a wide variety of terminals. It is written in a way that attempts to optimize the commands that are sent to the terminal, to reduce the latency experienced when updating the displayed content. ncurses is a free and open-source software emulation of curses from System V Release 4.0 (SVr4). There are bindings for ncurses in a variety of programming languages, including Ada, Common Lisp, Python, Gambas, Ruby, PHP, JavaScript, Perl, Object REXX (ooRexx) and Rust. ==History== As the new version, ncurses is a free and open-source software emulation of the System V Release 4.0 (SVr4) curses, which was an enhancement over the discontinued 4.4 BSD curses. The XSI Curses standard issued by X/Open is explicitly and closely modeled on UNIX System V. ===curses=== The first curses library was developed at University of California, Berkeley, for a BSD operating system, around 1980 to support Rogue, a text-based adventure game. It originally used the termcap library, which was used in other programs, such as the vi editor. The success of the BSD curses library prompted Bell Labs to release an enhanced curses library in their System V Release 2 Unix systems. This library was more powerful and instead of using termcap, it used terminfo. However, due to AT&T's policy regarding the distribution of source code, the improved curses library was not widely adopted in the BSD community. ===pcurses=== Around 1982, Pavel Curtis started work on a freeware clone of the Bell Labs curses, named pcurses, which was maintained by various people through 1986. ===ncurses=== The pcurses library was further improved when Zeyd Ben-Halim took over the development effort in late 1991. The new library was released as ncurses in November 1993, with version 1.8.1 as the first major release. Subsequent work, through version 1.8.8 (M1995), was driven by Eric S. Raymond, who added the form and menu libraries written by Juergen Pfeifer. Since 1996, it has been maintained by Thomas E. Dickey. 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, but is not distributed under the GNU General Public License (GPL) or GNU Lesser General Public License (LGPL). Instead, it is distributed under a permissive free software licence: the MIT License. This is due to the agreement made with the Free Software Foundation at the time the developers assigned their copyright. When the agreement was made to pass on the rights to the FSF, there was a clause that stated: The Foundation promises that all distribution of the Package, or of any work "based on the Package", that takes place under the control of the Foundation or its agents or assignees, shall be on terms that explicitly and perpetually permit anyone possessing a copy of the work to which the terms apply, and possessing accurate notice of these terms, to redistribute copies of the work to anyone on the same terms. According to the maintainer Thomas E. Dickey, this precludes relicensing to the GPL in any version, since it would place restrictions on the programs that will be able to link to the libraries. ==Programs using ncurses== Hundreds of programs use ncurses. Some, such as GNU Screen and w3m, use only the termcap interface and perform screen management themselves. Others, such as GNU Midnight Commander and Yet another Setup Tool (YaST), use the curses programming interface. ==See also== conio.h – A C header file used mostly with MS-DOS compilers to create text user interfaces Curses Development Kit Dialog (software) PDCurses S-Lang programming library SMG$ – Screen-management library available under OpenVMS GNU Readline ==References== ==External links==
References
- nc plugin: ncurses bindings for SpiderApe · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "nc plugin: ncurses bindings for SpiderApe." 2026-11-18. https://spiderape.sourceforge.net/plugins/ncurses/. Accessed 24 November 2026.
Chicago "nc plugin: ncurses bindings for SpiderApe." 2026-11-18. https://spiderape.sourceforge.net/plugins/ncurses/.
APA encyclopegia.org. (2026). nc plugin: ncurses bindings for SpiderApe. Retrieved November 24, 2026, from https://spiderape.sourceforge.net/plugins/ncurses/
- Curses::UI - A curses based OO user interface framework · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "Curses::UI - A curses based OO user interface framework." 2026-11-18. https://metacpan.org/pod/Curses::UI. Accessed 24 November 2026.
Chicago "Curses::UI - A curses based OO user interface framework." 2026-11-18. https://metacpan.org/pod/Curses::UI.
APA encyclopegia.org. (2026). Curses::UI - A curses based OO user interface framework. Retrieved November 24, 2026, from https://metacpan.org/pod/Curses::UI
- ooRexx Documentation 5.0.0: nCurses Class Library Reference (PDF) . Rexx Language Association. 2022. Wikipedia revision 1355675225, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "ooRexx Documentation 5.0.0: nCurses Class Library Reference (PDF) . Rexx Language Association. 2022. Wikipedia revision 1355675225, retrieved 2026-11-19." ooRexx Documentation 5. 2026-11-18. https://sourceforge.net/projects/oorexx/files/oorexx-docs/5.0.0/orxncurses.pdf. Accessed 24 November 2026.
Chicago "ooRexx Documentation 5.0.0: nCurses Class Library Reference (PDF) . Rexx Language Association. 2022. Wikipedia revision 1355675225, retrieved 2026-11-19." ooRexx Documentation 5. 2026-11-18. https://sourceforge.net/projects/oorexx/files/oorexx-docs/5.0.0/orxncurses.pdf.
APA ooRexx Documentation 5. (2026). ooRexx Documentation 5.0.0: nCurses Class Library Reference (PDF) . Rexx Language Association. 2022. Wikipedia revision 1355675225, retrieved 2026-11-19. Retrieved November 24, 2026, from https://sourceforge.net/projects/oorexx/files/oorexx-docs/5.0.0/orxncurses.pdf
- Rust bindings for ncurses · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "Rust bindings for ncurses." 2026-11-18. https://crates.io/crates/ncurses. Accessed 24 November 2026.
Chicago "Rust bindings for ncurses." 2026-11-18. https://crates.io/crates/ncurses.
APA encyclopegia.org. (2026). Rust bindings for ncurses. Retrieved November 24, 2026, from https://crates.io/crates/ncurses
- v0.1 July 31, 1992 · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "v0.1 July 31, 1992." The README file in ncurses 1. 2026-11-18. https://en.wikipedia.org/wiki/README. Accessed 24 November 2026.
Chicago "v0.1 July 31, 1992." The README file in ncurses 1. 2026-11-18. https://en.wikipedia.org/wiki/README.
APA The README file in ncurses 1. (2026). v0.1 July 31, 1992. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/README
- A Hacker's Guide to Ncurses Internals · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "A Hacker's Guide to Ncurses Internals." 2026-11-18. http://invisible-island.net/ncurses/hackguide.html#abstract. Accessed 24 November 2026.
Chicago "A Hacker's Guide to Ncurses Internals." 2026-11-18. http://invisible-island.net/ncurses/hackguide.html#abstract.
APA encyclopegia.org. (2026). A Hacker's Guide to Ncurses Internals. Retrieved November 24, 2026, from http://invisible-island.net/ncurses/hackguide.html#abstract
- On the Networks · retrieved 2017-09-14 · rev 1355675225
Cite this reference
MLA "On the Networks." Weinstein, Sydney S. 2017-09-14. https://web.archive.org/web/20140811123402/http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/CUJ/1993/9304/weinstei/weinstei.htm. Accessed 24 November 2026.
Chicago "On the Networks." Weinstein, Sydney S. 2017-09-14. https://web.archive.org/web/20140811123402/http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/CUJ/1993/9304/weinstei/weinstei.htm.
APA Weinstein, Sydney S. (2017). On the Networks. Retrieved November 24, 2026, from https://web.archive.org/web/20140811123402/http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/CUJ/1993/9304/weinstei/weinstei.htm
- Search results: +ncurses on freshmeat.net · retrieved 2013-05-09 · rev 1355675225
Cite this reference
MLA "Search results: +ncurses on freshmeat.net." "Search results: +ncurses on freshmeat. 2013-05-09. https://web.archive.org/web/20120218074708/http://freshmeat.net/search/?q=ncurses&section=projects&Go.x=0&Go.y=0. Accessed 24 November 2026.
Chicago "Search results: +ncurses on freshmeat.net." "Search results: +ncurses on freshmeat. 2013-05-09. https://web.archive.org/web/20120218074708/http://freshmeat.net/search/?q=ncurses&section=projects&Go.x=0&Go.y=0.
APA "Search results: +ncurses on freshmeat. (2013). Search results: +ncurses on freshmeat.net. Retrieved November 24, 2026, from https://web.archive.org/web/20120218074708/http://freshmeat.net/search/?q=ncurses&section=projects&Go.x=0&Go.y=0
- Projects tagged 'ncurses' · retrieved 2008-03-27 · rev 1355675225
Cite this reference
MLA "Projects tagged 'ncurses'." 2008-03-27. https://web.archive.org/web/20130515124809/http://www.ohloh.net/tags/ncurses. Accessed 24 November 2026.
Chicago "Projects tagged 'ncurses'." 2008-03-27. https://web.archive.org/web/20130515124809/http://www.ohloh.net/tags/ncurses.
APA encyclopegia.org. (2008). Projects tagged 'ncurses'. Retrieved November 24, 2026, from https://web.archive.org/web/20130515124809/http://www.ohloh.net/tags/ncurses
- Ada95 Binding for ncurses · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "Ada95 Binding for ncurses." 2026-11-18. https://invisible-island.net/ncurses/Ada95.html. Accessed 24 November 2026.
Chicago "Ada95 Binding for ncurses." 2026-11-18. https://invisible-island.net/ncurses/Ada95.html.
APA encyclopegia.org. (2026). Ada95 Binding for ncurses. Retrieved November 24, 2026, from https://invisible-island.net/ncurses/Ada95.html
- CL-Ncurses: An Ncurses and pdcurses interface for Common Lisp · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "CL-Ncurses: An Ncurses and pdcurses interface for Common Lisp." 2026-11-18. https://cl-ncurses.common-lisp.dev/. Accessed 24 November 2026.
Chicago "CL-Ncurses: An Ncurses and pdcurses interface for Common Lisp." 2026-11-18. https://cl-ncurses.common-lisp.dev/.
APA encyclopegia.org. (2026). CL-Ncurses: An Ncurses and pdcurses interface for Common Lisp. Retrieved November 24, 2026, from https://cl-ncurses.common-lisp.dev/
- Curses Programming with Python - Python documentation · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "Curses Programming with Python - Python documentation." 2026-11-18. https://docs.python.org/3/howto/curses.html. Accessed 24 November 2026.
Chicago "Curses Programming with Python - Python documentation." 2026-11-18. https://docs.python.org/3/howto/curses.html.
APA encyclopegia.org. (2026). Curses Programming with Python - Python documentation. Retrieved November 24, 2026, from https://docs.python.org/3/howto/curses.html
- gb.ncurses - Gambas Wiki · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "gb.ncurses - Gambas Wiki." "gb. 2026-11-18. http://gambaswiki.org/wiki/comp/gb.ncurses. Accessed 24 November 2026.
Chicago "gb.ncurses - Gambas Wiki." "gb. 2026-11-18. http://gambaswiki.org/wiki/comp/gb.ncurses.
APA "gb. (2026). gb.ncurses - Gambas Wiki. Retrieved November 24, 2026, from http://gambaswiki.org/wiki/comp/gb.ncurses
- ncurses Ruby - RubyGems.org · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "ncurses Ruby - RubyGems.org." "ncurses Ruby - RubyGems. 2026-11-18. https://rubygems.org/gems/ncurses-ruby/versions/1.2.4. Accessed 24 November 2026.
Chicago "ncurses Ruby - RubyGems.org." "ncurses Ruby - RubyGems. 2026-11-18. https://rubygems.org/gems/ncurses-ruby/versions/1.2.4.
APA "ncurses Ruby - RubyGems. (2026). ncurses Ruby - RubyGems.org. Retrieved November 24, 2026, from https://rubygems.org/gems/ncurses-ruby/versions/1.2.4
- Ncurses functions - PHP Manual · retrieved 2020-02-03 · rev 1355675225
Cite this reference
MLA "Ncurses functions - PHP Manual." 2020-02-03. https://web.archive.org/web/20210328125809/https://www.php.net/manual/en/ref.ncurses.php. Accessed 24 November 2026.
Chicago "Ncurses functions - PHP Manual." 2020-02-03. https://web.archive.org/web/20210328125809/https://www.php.net/manual/en/ref.ncurses.php.
APA encyclopegia.org. (2020). Ncurses functions - PHP Manual. Retrieved November 24, 2026, from https://web.archive.org/web/20210328125809/https://www.php.net/manual/en/ref.ncurses.php
- NCURSES - Frequently Asked Questions (FAQ): Who wrote NCURSES? · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "NCURSES - Frequently Asked Questions (FAQ): Who wrote NCURSES?." a b "NCURSES - Frequently Asked Questions (FAQ): Who wrote NCURSES?". 2026-11-18. http://invisible-island.net/ncurses/ncurses.faq.html#who_did_it. Accessed 24 November 2026.
Chicago "NCURSES - Frequently Asked Questions (FAQ): Who wrote NCURSES?." a b "NCURSES - Frequently Asked Questions (FAQ): Who wrote NCURSES?". 2026-11-18. http://invisible-island.net/ncurses/ncurses.faq.html#who_did_it.
APA a b "NCURSES - Frequently Asked Questions (FAQ): Who wrote NCURSES?". (2026). NCURSES - Frequently Asked Questions (FAQ): Who wrote NCURSES?. Retrieved November 24, 2026, from http://invisible-island.net/ncurses/ncurses.faq.html#who_did_it
- NCURSES - Frequently Asked Questions (FAQ): Is it GPL'd? · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "NCURSES - Frequently Asked Questions (FAQ): Is it GPL'd?." a b c "NCURSES - Frequently Asked Questions (FAQ): Is it GPL'd?". 2026-11-18. http://invisible-island.net/ncurses/ncurses.faq.html#is_it_gpl. Accessed 24 November 2026.
Chicago "NCURSES - Frequently Asked Questions (FAQ): Is it GPL'd?." a b c "NCURSES - Frequently Asked Questions (FAQ): Is it GPL'd?". 2026-11-18. http://invisible-island.net/ncurses/ncurses.faq.html#is_it_gpl.
APA a b c "NCURSES - Frequently Asked Questions (FAQ): Is it GPL'd?". (2026). NCURSES - Frequently Asked Questions (FAQ): Is it GPL'd?. Retrieved November 24, 2026, from http://invisible-island.net/ncurses/ncurses.faq.html#is_it_gpl
- NCURSES – Licensing · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "NCURSES – Licensing." a b "NCURSES – Licensing". 2026-11-18. http://invisible-island.net/ncurses/ncurses-license.html. Accessed 24 November 2026.
Chicago "NCURSES – Licensing." a b "NCURSES – Licensing". 2026-11-18. http://invisible-island.net/ncurses/ncurses-license.html.
APA a b "NCURSES – Licensing". (2026). NCURSES – Licensing. Retrieved November 24, 2026, from http://invisible-island.net/ncurses/ncurses-license.html
- NCURSES - New Curses · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "NCURSES - New Curses." a b c Dickey, Thomas E. 2026-11-18. http://invisible-island.net/ncurses/. Accessed 24 November 2026.
Chicago "NCURSES - New Curses." a b c Dickey, Thomas E. 2026-11-18. http://invisible-island.net/ncurses/.
APA a b c Dickey, Thomas E. (2026). NCURSES - New Curses. Retrieved November 24, 2026, from http://invisible-island.net/ncurses/
- ncurses: Portable Screen-Handling for Linux · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "ncurses: Portable Screen-Handling for Linux." a b c d Raymond, Eric S. 2026-11-18. https://en.wikipedia.org/wiki/Eric_S._Raymond. Accessed 24 November 2026.
Chicago "ncurses: Portable Screen-Handling for Linux." a b c d Raymond, Eric S. 2026-11-18. https://en.wikipedia.org/wiki/Eric_S._Raymond.
APA a b c d Raymond, Eric S. (2026). ncurses: Portable Screen-Handling for Linux. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Eric_S._Raymond
- ncurses 6.6 · retrieved 2026-11-18 · rev 1355675225
Cite this reference
MLA "ncurses 6.6." Thomas E. 2026-11-18. https://lists.gnu.org/archive/html/info-gnu/2025-12/msg00010.html. Accessed 24 November 2026.
Chicago "ncurses 6.6." Thomas E. 2026-11-18. https://lists.gnu.org/archive/html/info-gnu/2025-12/msg00010.html.
APA Thomas E. (2026). ncurses 6.6. Retrieved November 24, 2026, from https://lists.gnu.org/archive/html/info-gnu/2025-12/msg00010.html
- ncurses · retrieved 2026-10-19 · rev 1355675225
Cite this reference
MLA "ncurses." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1355675225. Accessed 24 November 2026.
Chicago "ncurses." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1355675225.
APA Wikipedia. (2026). ncurses. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1355675225
Cite this article
MLA
"ncurses." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ncurses. Accessed 24 November 2026.
Chicago
"ncurses." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/ncurses.
APA
encyclopegia.org. (2026). ncurses. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/ncurses
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| release date | 1993 | Wikipedia |
| definition | a programming library for creating textual user interfaces (TUIs) that work across a wide variety of terminals. | article body |
| year mentioned | 1980 | article body |
| year mentioned | 1982 | article body |
| year mentioned | 1986 | article body |
| year mentioned | 1991 | article body |
| year mentioned | 1996 | article body |