Allow scrolling through buffer in screen using MacOSX Terminal

I use screen a lot for work. But when I want to see the history in Terminal, typing ^A-[ and then up/down arrow gets tedious in a heartbeat. I discovered recently that you can put the following command in the ~/.screenrc file in the machine where screen is run, and you’ll have the capability to scroll through the history.

 

# Make xterm scrolling work properly with screen
termcapinfo xterm-256color|xterm-color|xterm|xterms|xs|rxvt ti@:te@
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s