OS X (El Capitan) Terminal Fn-Up and Fn-Down stop working as Page Up and Page Down
I had the same problem.
To solve the problem when it appears: Open an ssh connection and close it again. Then it worked for me.