Re: Optionally exit copy-mode based on flag passed at scroll-down rather than scroll-up?

2017-11-15 Thread Stephen Hicks
I've added the documentation. I also went ahead and added S-PageUp and S-PageDown bindings to the default keymap, the latter of which uses page-down-and-cancel. This mirrors the scrollback behavior of xterm and standard linux TTYs, and should therefore be natural for many users (provided their te

Re: tmux server slows system down over time

2017-11-15 Thread Philip Rhoades
Nicholas, On 2017-11-16 06:33, Nicholas Marriott wrote: OK, what is the tmux memory use when it starts going slowly? top - 17:26:39 up 17 days, 19:07, 1 user, load average: 1.36, 1.72, 2.01 Tasks: 5 total, 0 running, 5 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.9 us, 16.0 sy, 0

Re: tmux server slows system down over time

2017-11-15 Thread Steffen Nurpmeso
Hello. Philip Rhoades wrote: |People, ... |is_vim="ps -o state= -o comm= -t '#{pane_tty}' \ || grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'" |bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L" ... Thanks Philip for this variable assigment hint, i did not kno

Re: tmux server slows system down over time

2017-11-15 Thread Nicholas Marriott
OK, what is the tmux memory use when it starts going slowly? Can you reproduce without any of this plugin stuff? On Thu, Nov 16, 2017 at 06:25:59AM +1000, Philip Rhoades wrote: > Nicholas, > > > On 2017-11-16 06:17, Nicholas Marriott wrote: > > Hi > > > > What tmux version?... > > > tmux

Re: tmux server slows system down over time

2017-11-15 Thread Philip Rhoades
Nicholas, On 2017-11-16 06:17, Nicholas Marriott wrote: Hi What tmux version?... tmux-2.5-4.fc26.x86_64 - obviously F26 not F25 . . sorry . . Thanks, Phil. On Thu, Nov 16, 2017 at 06:11:22AM +1000, Philip Rhoades wrote: People, I leave my Fedora 25 x86_64 workstation on - it has 3

Re: tmux server slows system down over time

2017-11-15 Thread Nicholas Marriott
Hi What tmux version?... On Thu, Nov 16, 2017 at 06:11:22AM +1000, Philip Rhoades wrote: > People, > > I leave my Fedora 25 x86_64 workstation on - it has 32Gb of RAM and an > i7-4790K CPU @ 4.00GHz. > > I usually have one main tmux environment going with about 15 tabs as user > "phil". I so

tmux server slows system down over time

2017-11-15 Thread Philip Rhoades
People, I leave my Fedora 25 x86_64 workstation on - it has 32Gb of RAM and an i7-4790K CPU @ 4.00GHz. I usually have one main tmux environment going with about 15 tabs as user "phil". I sometimes have a second environment going as the same user with about 10 tabs and a root user environmen

Re: Why is tmux using 5 Terabyte of virtual memory?

2017-11-15 Thread Nicholas Marriott
Do you have a large history-limit and tmux has been running for a long time? glibc can be a bit buggy about returning memory or address space to the OS, probably this is an example. You could try playing with the environment variables in mallopt(3), but I have never seen any evidence they do anyt