pretty print recent history