a mess of test code but prints post out to a curses interface