In MBP keyboard there is no pgup, pgdn, home and end key.
but there is an alternative to do that.
pgdn in shell -> fn+shift+down arrow
pgup in shell -> fn+shift+up arrow
home in shell -> fn+shift+left arrow
end in shell -> fn+shift+right arrow
pgdn gui -> command+down arrow
pgup gui -> command+up arrow
home gui -> command+left arrow
home gui ->command+right arrow
but there is an alternative to do that.
pgdn in shell -> fn+shift+down arrow
pgup in shell -> fn+shift+up arrow
home in shell -> fn+shift+left arrow
end in shell -> fn+shift+right arrow
pgdn gui -> command+down arrow
pgup gui -> command+up arrow
home gui -> command+left arrow
home gui ->command+right arrow