20

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.

hhh
  • 3,904

6 Answers6

42

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.

F.X.
  • 521
  • Brilliant, this saved me! I've used fn-shift-up/down for years and just upgraded to El Capitan and spent several days in confusion... – nmjk May 08 '16 at 02:00
  • Ha, glad I could help! It's weird that this still gets upvotes when I'm not even using a Mac anymore, though. Something missing in iTerm's docs? – F.X. May 08 '16 at 20:42
  • Same for Terminal.app – A T Sep 21 '20 at 06:07
  • hey Huawei Matebook user brought here by search engine, this shall work for you too! – Mika Feiler Jul 14 '23 at 17:02
18

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

Jason Salaz
  • 24,471
4

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.

user3439894
  • 58,676
aerickson
  • 101
  • This will disable all the cool characters that you can input via option key. What I'd like to have is option+n/p functioning, I made an issue about that. – Martin Braun Feb 13 '23 at 20:21
3

I'm using irssi within tmux on Yosemite.

When using laptop keyboard (no number pad) this works: fn + shift + up/down

or (mojave)

fn + up/down

When using a standard keyboard shift + page up/page down

nbari
  • 279
1

I'm using irssi on Mavericks. For me it was fn + shift+ Up/Down

0

On El Capitan with standard keyboard I got just page up/page down buttons to work fine out of the box.

james-see
  • 241