I work on a Mac, using the Terminal to SSH into a Linux box. On the Linux box I have tmux 1.6.
I cannot get page up or page down to work correctly. If I am not running tmux, when I hit Page Up the screen scrolls up correctly. However, when I am in tmux, Page Up moves the window above the tmux contents. That is, it does not scroll the tmux contents; it scrolls the tmux window up (and, if I hit Page Up enough, off the screen).
I have played with a lot of options in .tmux.conf
, but I just cannot pin this down.
cat ~/.tmux.conf
#set -g history-limit 100000
# Sane scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
#set -g terminal-overrides ",*:XT@"
set -g mode-mouse on
As you can see, I tried several Terminal overrides. The current terminal overrides works perfectly if I am using PuTTy on a Windows computer, but nothing I have tried modifies the behavior when I am logging in from my Mac.
Short for Page Up key, the PGUP, PU, PgUp, or Pg Up key is a computer keyboard key found between the keyboard and the numeric pad or on the numeric pad number 9 key. When this key is pressed, if the page currently being viewed has more than one page, the page moves (scrolls) up one page.
PageUp's powerful applicant tracking system provides an exceptional recruiting experience for candidates, hiring managers and HR teams. Get started.
PageUp™ Recruitment allows you to:Integrate with your background screening provider, your HRIS and your other HR systems. Tap into our leading-edge candidate relationship management functionality, which allows you to reach out to external and internal candidates for those hard-to-fill roles.
When you're in a tmux session, you can't page up and page down normally. You must hit the prefix key (Control-b by default) followed by PageUp (which is fn-Up on a Mac keyboard), and then you'll be in "copy-mode", where you can PageUp and PageDown to your heart's content.
See the tmux man page for more info: http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With