Jump to content

NCurses: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
Ak120 (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
An open source multi-platform version of the [[curses]] programming library also known as '''GNU Curses''', unlike [[PD Curses]] the nCursees package requires a database of terminal specifications, which is a part of separate package called '''terminfo''', and the library also has one or two system independent extensions/utility packages that you can use with it. nCurses is in general the more popular choice in UNIX environments while PD Curses is more popular with other systems since has better support in Windows, OS/2 and similar systems in addition to slightly better performance and lack of licensing issues, but code is in general portable between the two systems.
The '''ncurses''' (''new curses'') library is an open source multi-platform version of the [[curses]] programming library from System V Release 4.0.
 
Unlike [[PD Curses]] it requires a database of terminal specifications, which is a part of separate package called '''terminfo'''.
 
==Support utilities==
*captoinfo - a termcap conversion tool
*clear - utility for clearing the screen
*infocmp - the terminfo decompiler
*tabs - set tabs on a terminal
*tic - terminfo compiler
*toe - table of terminfo entries
*tput - utility for retrieving terminal capabilities in shell scripts
*tset - initialize the terminal


==Version==
==Version==
* Last known version: 6.0 (2015-10-10)
* 1.8.1 (Nov 1993)
* 1.9 (1995-04-20)
* 1.9.9g (1996-11-30)
* 4.0 (1996-12-24)
* 4.1 (1997-05-15)
* 4.2 (1998-03-02)
* 5.5 (ncurses-5.5-os2.zip)
* 5.9 (2011-04-04)
* 6.0 (2015-10-10)
* 6.1 (2018-01-27)


==License==
==License==
* Open source, originally in the [[public domain]], current version released under a functional equivalent of the [[MIT License]]
* Open source, originally in the [[public domain]], current version released under a functional equivalent of the [[MIT License]]
;Authors: Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey
==Publications==
*Dan Gookin: ''Programmer’s Guide to NCurses'' - Wiley 2007, ISBN 978-0-470-10759-1
==Links==
==Links==
* [http://www.os2site.com/sw/dev/curses/index.html Curses directory] at the [[OS/2 site]]
* [https://www.gnu.org/software/ncurses/ ]
 
====Tutorials====
* Eric S. Raymond: [http://frank.harvard.edu/~coldwell/ncurses/hackguide.html A Hacker's Guide to NCURSES] - (Outdated but still useful)
* Eric S. Raymond: [http://frank.harvard.edu/~coldwell/ncurses/hackguide.html A Hacker's Guide to NCURSES] - (Outdated but still useful)
* [[Haluk Polat]]: ''[https://web.archive.org/web/20070821175815/http://www.halukpolat.com/tr/kitaplar/terminfo/index.htm Terminfo: Verýtabani ve özellýklerý]'' - Mixed text/[[HTML]] file via [[Archive.org]] - 1998
:Turkish tutorial on how to use the Terminfo database (part of nCurses)
==Author==
* Thomas E. Dickey (maintainer)


[[Category:C Libraries]][[Category:Software written in C]][[Category:Open Source Software]]
[[Category:C Libraries]][[Category:Software written in C]][[Category:Open Source Software]]

Latest revision as of 19:57, 3 July 2022

The ncurses (new curses) library is an open source multi-platform version of the curses programming library from System V Release 4.0.

Unlike PD Curses it requires a database of terminal specifications, which is a part of separate package called terminfo.

Support utilities

  • captoinfo - a termcap conversion tool
  • clear - utility for clearing the screen
  • infocmp - the terminfo decompiler
  • tabs - set tabs on a terminal
  • tic - terminfo compiler
  • toe - table of terminfo entries
  • tput - utility for retrieving terminal capabilities in shell scripts
  • tset - initialize the terminal

Version

  • 1.8.1 (Nov 1993)
  • 1.9 (1995-04-20)
  • 1.9.9g (1996-11-30)
  • 4.0 (1996-12-24)
  • 4.1 (1997-05-15)
  • 4.2 (1998-03-02)
  • 5.5 (ncurses-5.5-os2.zip)
  • 5.9 (2011-04-04)
  • 6.0 (2015-10-10)
  • 6.1 (2018-01-27)

License

Authors
Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey

Publications

  • Dan Gookin: Programmer’s Guide to NCurses - Wiley 2007, ISBN 978-0-470-10759-1

Links