From johann at myrkraverk.com Mon Sep 14 19:37:52 2009 From: johann at myrkraverk.com (Johann "Myrkraverk" Oskarsson) Date: Mon, 14 Sep 2009 19:37:52 +0000 Subject: [cl-ncurses-devel] Changes for [Open]Solaris Message-ID: Hi all, If there is still someone reading this list. Her is a slight modification to make this pick up the ncurses that come with Solaris: Add /usr/gnu/lib/ to the search path: #-win32'("/usr/gnu/lib/" "/usr/local/lib64/" "/usr/local/lib/" "/lib64/" "/lib/" "/usr/lib64/" "/usr/lib/") I am not sure it should necessarily be at the front of the list, so I'm not submitting a "patch" now. I don't think a 64 bit version comes with Solaris, but it may be found in /opt/csw/lib/amd64/ on intel, /opt/csw/lib/64/ on sparc, and this path may also be added, I think. Any comments? Johann From johann at myrkraverk.com Tue Sep 15 21:59:11 2009 From: johann at myrkraverk.com (Johann "Myrkraverk" Oskarsson) Date: Tue, 15 Sep 2009 21:59:11 +0000 Subject: [cl-ncurses-devel] A little cl-ncurses hello world example Message-ID: 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