Added a listing environment for terminal sessions