Consolidate a bit of code between print_view() and view() for #30.