install sl command(for Debian)
library:
apt-get install libncurses5-dev
get src and 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
edit src:
sl.c
@@ -32,7 +32,7 @@
#include <strings.h>
#include <time.h>
#ifdef LINUX20
- #include <curses.h>
+ #include <ncurses/curses.h>
#else
#include <curses.h>
#endif
</pre>compile:
$ makesetting path:
~/.bash_profile
export PATH=$PATH:~/sl/
</pre>check:
$ sl -al
Written by KOIZUMI teruaki
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Related Tags
#shell
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#