What is the difference in the way PageUp/Pagedown keys are handled by Terminal.app vs iTerm2.app?
After messing around with different key combinations it seems that Shift-[PageUp/PageDn] in Terminal.app has the same effect in ipython as simply [PageUp/PageDn] in iTerm2. I'm still not sure how/where those settings live - maybe ~/.inputrc ?