One thing that I’ve really struggled with when using my new mac is the terminal settings. I’m using iTerm for my terminal application, but it still wasn’t behaving as I’ve come to expect my terminal to behave.

Finally I’ve discovered the settings to make it work. I’ve set my Keyboard profile in iTerm to be linux. I have followed a list of settings to configure my terminal. And finally, I’ve discovered the proper way to scroll up and down in a scrollbuffer in GNU Screen.

Previously I used to set screen into copy mode (Ctrl-a + escape), then used the Page Up and Page Down keys on my keyboard. It seems the proper way to scroll is still in copy mode, except using Ctrl-b to scroll up a full screen, and Ctrl-f to scroll down a full screen. You can find this information and much much more in the screen man page.