Linux – Scrollback not working in terminal window (ssh session)

linuxslicehostterminal

I have an ubuntu slice at slicehost, which means it is a DomU on a Xen host – and it's a pretty stripped down installation.

The thing that bugs me is that scrolling back in the terminal using shift-pgup doesn't work.

Can anybody tell me what package enables this scrollback functionality (so I can check if it is installed) – or if you have any other insights into why it might not be working, let me know.

(note: I am currently running screen with "defscrollback 1024" set, but it still doesn't work)

Best Answer

Add this to ~/.screenrc log out of screen and back in:

shell "/usr/bin/bash"
termcapinfo xterm* ti@:te@