PageUp and PageDown keys for Irssi (IRC) in Macbook?

I cannot find the keys on my mackbook. I need them to go page-up and page-down in irssi (IRC). I have tested the tips here but they do not work. They model some different Up/Down, not the traditional Up/Down as on larger keyboards.

How can I press PageUp and PageDown buttons with Macbook? Irssi is running behind ssh and GNU Screen with UTF8 support.


Solution 1:

fn + shift + Up/Down

IIRC in previous versions of Mac OS X (Lion or perhaps earlier), fn had to come first. But I just tested fn vs. shift first and neither had a different effect.

This may be Terminal.app specific, and may not work in iTerm 2. YMMV

Solution 2:

It took me a while to guess that and I didn't find anything on Google, so at least, if somebody needs it, it's fn + Up/Down in iTerm 2.

Solution 3:

In Terminal, go to Preferences... > Profiles. Click your 'Default' profile or the one you're currently using. Click the 'Keyboard' tab. Click 'Use Option as meta key'. Now Option-P and Option-N will do page back and page up.

Control-P and Control-N are view page up/down... so it's super nice.