biblioteca:
apt-get install libncurses5-dev
obtenha src e patch:
$ wget http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/sl/sl.tar
$ wget http://www.izumix.org.uk/sl/sl5 -1.patch
$ tar xvf sl.tar
$ cd sl
$ patch -p1 <../sl5-1.patch
editar src:
sl.c
@@ -32,7 +32,7 @@
#include <strings.h>
#include <time.h>
#ifdef LINUX20
- #include <curses.h>
+ #include <ncurses / curses.h>
#else
# inclua <curses.h>
#endif
</pre>compilar:
$ makeconfiguração do caminho:
~ / .bash_profile
exportar PATH = $ PATH: ~ / sl /
</pre>verificar:
$ sl -al