[cl-ncurses-devel] A little cl-ncurses hello world example
Johann "Myrkraverk" Oskarsson
johann at myrkraverk.com
Tue Sep 15 21:59:11 UTC 2009
Hi all,
Here is a little hello world example, translated from
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/helloworld.html
#!/usr/local/bin/sbcl --script
(require 'asdf)
(asdf:operate 'asdf:load-op :uffi)
(require 'uffi)
(asdf:oos 'asdf:load-op 'cl-ncurses)
(cl-ncurses:initscr)
(cl-ncurses:printw "Hello, cl-ncurses")
(cl-ncurses:refresh)
(cl-ncurses:getch)
(cl-ncurses:endwin)
Have fun,
Johann
More information about the cl-ncurses-devel
mailing list