Fix “Page Up” key in Terminal.app to work with irssi
Recently while using the OS X Terminal I noticed that the “Page Up” and “Page Down” keys do not send an actual page up sequence to an active Terminal session. This was discovered with the irssi app, but it actually pertains to the Terminal in general.
Instead, it seems that the default behavior is to manipulate the Terminal.app’s built in buffer. This works well for every day use in the Terminal, but if you are using a program like irssi, which has its own buffer, this can be an annoyance.
The solution is simple and can be solved with a simple key combination modifiers to page up and page down within Terminal applications, and not their app buffers.