tig: some basic support for session_tig being called from joe_t