ansi2thml.sh: separate out individual screens

Display individual screens linearly in the HTML output

Support cursor movement commands

Convert python script to awk as it's a more natural
companion to sed, with lower interpreter startup overhead