start of lua curses support
sample command line tool