Category:Curses: Difference between revisions

Add installation instruction for the common lisp ncurses binding
(Add installation instruction for the common lisp ncurses binding)
 
(4 intermediate revisions by 2 users not shown)
Line 7:
* [http://netbsd.gw.com/cgi-bin/man-cgi?curses+3+NetBSD-current NetBSD curses].
* [http://pdcurses.sourceforge.net/ PDCurses].
* [http://compute.cnr.berkeley.edu/cgi-bin/man-cgi?curses+3 System V curses].
 
Curses is terminal-independent, and uses ''termcap'' or ''terminfo'' to send escape sequences to different flavors of terminals. (The exception is PDCurses, which never sends escape sequences, because it uses a DOS console or a graphical interface.)
 
* '''C''' <lang c>#include <curses.h></lang> Then link the program with <code>-lcurses</code>. (Some old or strange systems might need <code>-lcurses -ltermlib</code>.)
 
* '''Common Lisp''' <lang lisp>;; After installing the quicklisp library manager
(ql:quickload :croatoan)</lang>
 
* '''Ruby''' <lang ruby>require 'curses'</lang>
 
* '''Go''' <lang go>import "github.com/gbin/goncurses"</lang>There are a number of curses bindings for Go. This one is popular.
 
[[Category:Terminal control]]
69

edits