Hmm - fair enough, I guess it is detecting tmux as scrolling by accident
when it redraws the status line.


On Fri, Nov 14, 2014 at 04:40:53PM +0200, Aleksandrina Nikolova wrote:
> I removed .Xresources and restarted X - the flickering was gone, so I
> started adding the options line by line and I found that
> URxvt*skipScroll:                     false
> is causing this. Setting it to true gets rid of the flickering
> completely! No other options in Xresources affect it.
> 
> Thank you for your help!
> 
> 
> On 14/11/14 16:11, Aleksandrina Nikolova wrote:
> > Hi,
> >
> > Yes, just these two lines reproduce the flickering. I'm attaching my
> > .Xresources and I don't start urxvt with any options.
> >
> > On 14/11/14 15:54, Nicholas Marriott wrote:
> >> Is this config enough to reproduce:
> >>
> >> set -g status-right '%s'
> >> set -g status-interval 1
> >>
> >> Also please send me your .Xdefaults/.Xresources and any flags you are
> >> using to start urxvt.
> >>
> >>
> >> On Fri, Nov 14, 2014 at 01:30:21PM +0200, Aleksandrina Nikolova wrote:
> >>> I did that first (inside afterwards, just for test): I shutdown the tmux
> >>> server, started urxvt, did export TERM=xterm; and then tmux to start a
> >>> new session (did it also from the tty)
> >>>
> >>> On 14/11/14 13:21, Nicholas Marriott wrote:
> >>>> TERM _outside_ tmux?
> >>>>
> >>>>
> >>>> On Fri, Nov 14, 2014 at 01:16:53PM +0200, Aleksandrina Nikolova wrote:
> >>>>> I just did - it does not... even when I set the default TERM for tmux to
> >>>>> xterm and start a new session, it still flickers.
> >>>>>
> >>>>> On 14/11/14 13:13, Nicholas Marriott wrote:
> >>>>>> Hmm. Can you test with TERM=xterm in urxvt and see if it goes away?
> >>>>>>
> >>>>>>
> >>>>>> On Fri, Nov 14, 2014 at 01:08:55PM +0200, Aleksandrina Nikolova wrote:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> for urxvt it is rxvt-256color, for the virtual console it's linux (for
> >>>>>>> xfce4-terminal, which didn't have this issue, it was xterm)
> >>>>>>>
> >>>>>>> On 14/11/14 13:05, Nicholas Marriott wrote:
> >>>>>>>> Hi
> >>>>>>>>
> >>>>>>>> What is TERM set to outside tmux?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Fri, Nov 14, 2014 at 11:52:31AM +0200, Aleksandrina Nikolova 
> >>>>>>>> wrote:
> >>>>>>>>> Hi, thanks for replying - I'm attaching my .tmux.conf;
> >>>>>>>>> I tried removing it completely and restarting tmux - the flicker was
> >>>>>>>>> gone; so to figure out which setting exactly is causing it I started
> >>>>>>>>> reloading them one by one and found out that it flickers when the 
> >>>>>>>>> status
> >>>>>>>>> bar is changed (not necessarily every status update): i.e. my 
> >>>>>>>>> status bar
> >>>>>>>>> contains the title and the clock and is updated every 1 second, but 
> >>>>>>>>> the
> >>>>>>>>> flicker would occur every minute if I remove the seconds from the 
> >>>>>>>>> clock
> >>>>>>>>> format.
> >>>>>>>>>
> >>>>>>>>> On 14/11/14 11:31, Nicholas Marriott wrote:
> >>>>>>>>>> What do you have in .tmux.conf?
> >>>>>>>>>>
> >>>>>>>>>> On Thu, Nov 13, 2014 at 06:39:52PM +0200, Aleksandrina Nikolova 
> >>>>>>>>>> wrote:
> >>>>>>>>>>> Greetings!
> >>>>>>>>>>>
> >>>>>>>>>>> I am using tmux v 1.9a running on Gentoo Linux amd64 under 
> >>>>>>>>>>> rxvt-unicode.
> >>>>>>>>>>> Whenever the cursor is on the last line (just above the tmux 
> >>>>>>>>>>> status
> >>>>>>>>>>> basr) it flickers every status-interval (regardless of how many 
> >>>>>>>>>>> seconds
> >>>>>>>>>>> it is set to and regardless if it is in alternate screen or not). 
> >>>>>>>>>>> This
> >>>>>>>>>>> doesn't happen with urxvt running outside of tmux and the 
> >>>>>>>>>>> interesting
> >>>>>>>>>>> thing is that it didn't happen when I was using xfce4-terminal 
> >>>>>>>>>>> (with
> >>>>>>>>>>> tmux running in it). It does however occur also when tmux is run 
> >>>>>>>>>>> on one
> >>>>>>>>>>> of the tty's (I can see the short flicker along with the blinking 
> >>>>>>>>>>> of the
> >>>>>>>>>>> cursor). Double buffering is on for urxvt.
> >>>>>>>>>>>
> >>>>>>>>>>> Any ideas on why this happens?
> >>>>>>>>>>>
> >>>>>>>>>>> ------------------------------------------------------------------------------
> >>>>>>>>>>> Comprehensive Server Monitoring with Site24x7.
> >>>>>>>>>>> Monitor 10 servers for $9/Month.
> >>>>>>>>>>> Get alerted through email, SMS, voice calls or mobile push 
> >>>>>>>>>>> notifications.
> >>>>>>>>>>> Take corrective actions from your mobile device.
> >>>>>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> >>>>>>>>>>> _______________________________________________
> >>>>>>>>>>> tmux-users mailing list
> >>>>>>>>>>> tmux-users@lists.sourceforge.net
> >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/tmux-users
> >>>>>>>>> set -g assume-paste-time 1
> >>>>>>>>> set -g base-index 0
> >>>>>>>>> set -g bell-action any
> >>>>>>>>> set -g bell-on-alert on
> >>>>>>>>> set -g default-command ""
> >>>>>>>>> set -g default-terminal screen-256color
> >>>>>>>>> set -g destroy-unattached off
> >>>>>>>>> set -g detach-on-destroy on
> >>>>>>>>> set -g display-panes-active-colour green
> >>>>>>>>> set -g display-panes-colour white
> >>>>>>>>> set -g display-panes-time 1000
> >>>>>>>>> set -g display-time 1500
> >>>>>>>>> set -g history-limit 5000
> >>>>>>>>> set -g lock-after-time 0
> >>>>>>>>> set -g lock-server on
> >>>>>>>>> set -g message-attr none
> >>>>>>>>> set -g message-bg green
> >>>>>>>>> set -g message-command-attr none
> >>>>>>>>> set -g message-command-bg black
> >>>>>>>>> set -g message-command-fg green
> >>>>>>>>> set -g message-command-style fg=green,bg=black
> >>>>>>>>> set -g message-fg black
> >>>>>>>>> set -g message-limit 100
> >>>>>>>>> set -g message-style fg=black,bg=green,none
> >>>>>>>>> set -g mouse-resize-pane off
> >>>>>>>>> set -g mouse-select-pane off
> >>>>>>>>> set -g mouse-select-window off
> >>>>>>>>> set -g mouse-utf8 on
> >>>>>>>>> set -g pane-active-border-bg default
> >>>>>>>>> set -g pane-active-border-fg green
> >>>>>>>>> set -g pane-active-border-style fg=green
> >>>>>>>>> set -g pane-border-bg default
> >>>>>>>>> set -g pane-border-fg default
> >>>>>>>>> set -g pane-border-style default
> >>>>>>>>> set -g prefix C-b
> >>>>>>>>> set -g renumber-windows on
> >>>>>>>>> set -g repeat-time 300
> >>>>>>>>> set -g set-remain-on-exit off
> >>>>>>>>> set -g set-titles off
> >>>>>>>>> set -g set-titles-string "#S:#I:#W - #T"
> >>>>>>>>> set -g status on
> >>>>>>>>> set -g status-attr none
> >>>>>>>>> set -g status-bg default
> >>>>>>>>> set -g status-fg white
> >>>>>>>>> set -g status-interval 1
> >>>>>>>>> set -g status-justify left
> >>>>>>>>> set -g status-keys emacs
> >>>>>>>>> set -g status-left ""
> >>>>>>>>> set -g status-left-attr none
> >>>>>>>>> set -g status-left-bg default
> >>>>>>>>> set -g status-left-fg default
> >>>>>>>>> set -g status-left-length 15
> >>>>>>>>> set -g status-left-style default
> >>>>>>>>> set -g status-position bottom
> >>>>>>>>> set -g status-right "#T %a, %d %b %H:%M:%S"
> >>>>>>>>> set -g status-right-attr none
> >>>>>>>>> set -g status-right-bg default
> >>>>>>>>> set -g status-right-fg default
> >>>>>>>>> set -g status-right-length 120
> >>>>>>>>> set -g status-right-style default
> >>>>>>>>> set -g status-style fg=white
> >>>>>>>>> set -g status-utf8 on
> >>>>>>>>> set -g visual-activity off
> >>>>>>>>> set -g visual-bell off
> >>>>>>>>> set -g visual-content off
> >>>>>>>>> set -g visual-silence off
> >>>>>>>>> set -g word-separators "??`|@&^%$??\"'#_*=+-?.!,;:<>/[]{}()"
> >>>>>>>>> setw -g aggressive-resize on
> >>>>>>>>> setw -g allow-rename off
> >>>>>>>>> setw -g alternate-screen on
> >>>>>>>>> setw -g automatic-rename on
> >>>>>>>>> setw -g automatic-rename-format "#{pane_current_command}"
> >>>>>>>>> setw -g c0-change-trigger 100
> >>>>>>>>> setw -g c0-change-interval 100
> >>>>>>>>> setw -g clock-mode-colour white
> >>>>>>>>> setw -g clock-mode-style 24
> >>>>>>>>> setw -g force-height 0
> >>>>>>>>> setw -g force-width 0
> >>>>>>>>> setw -g main-pane-height 35
> >>>>>>>>> setw -g main-pane-width 90
> >>>>>>>>> setw -g mode-attr none
> >>>>>>>>> setw -g mode-bg green
> >>>>>>>>> setw -g mode-fg black
> >>>>>>>>> setw -g mode-keys emacs
> >>>>>>>>> setw -g mode-mouse off
> >>>>>>>>> setw -g mode-style fg=black,bg=green
> >>>>>>>>> setw -g monitor-activity off
> >>>>>>>>> setw -g monitor-content ""
> >>>>>>>>> setw -g monitor-silence 0
> >>>>>>>>> setw -g other-pane-height 0
> >>>>>>>>> setw -g other-pane-width 0
> >>>>>>>>> setw -g pane-base-index 0
> >>>>>>>>> setw -g remain-on-exit off
> >>>>>>>>> setw -g synchronize-panes off
> >>>>>>>>> setw -g utf8 on
> >>>>>>>>> setw -g window-status-activity-attr reverse
> >>>>>>>>> setw -g window-status-activity-bg default
> >>>>>>>>> setw -g window-status-activity-fg default
> >>>>>>>>> setw -g window-status-activity-style reverse
> >>>>>>>>> setw -g window-status-attr none
> >>>>>>>>> setw -g window-status-bell-attr reverse
> >>>>>>>>> setw -g window-status-bell-bg default
> >>>>>>>>> setw -g window-status-bell-fg red
> >>>>>>>>> setw -g window-status-bell-style fg=red,reverse
> >>>>>>>>> setw -g window-status-bg default
> >>>>>>>>> setw -g window-status-content-attr reverse
> >>>>>>>>> setw -g window-status-content-bg default
> >>>>>>>>> setw -g window-status-content-fg default
> >>>>>>>>> setw -g window-status-content-style reverse
> >>>>>>>>> setw -g window-status-current-attr bold
> >>>>>>>>> setw -g window-status-current-bg default
> >>>>>>>>> setw -g window-status-current-fg default
> >>>>>>>>> setw -g window-status-current-format "#I:#W"
> >>>>>>>>> setw -g window-status-current-style bold
> >>>>>>>>> setw -g window-status-fg default
> >>>>>>>>> setw -g window-status-format "#I:#W#F"
> >>>>>>>>> setw -g window-status-last-attr none
> >>>>>>>>> setw -g window-status-last-bg default
> >>>>>>>>> setw -g window-status-last-fg default
> >>>>>>>>> setw -g window-status-last-style default
> >>>>>>>>> setw -g window-status-separator " "
> >>>>>>>>> setw -g window-status-style default
> >>>>>>>>> setw -g wrap-search on
> >>>>>>>>> setw -g xterm-keys off
> >>>>>>>>>
> >>>>>>>>> #################### KEYBINDINGS ####################
> >>>>>>>>> unbind -a
> >>>>>>>>> run-shell ~/.tmux_scripts/logging
> >>>>>>>>> bind ':' command-prompt
> >>>>>>>>> bind '$' command-prompt -I "#S" -p "Rename current session:" 
> >>>>>>>>> "rename-session '%%'"
> >>>>>>>>> bind '@' command-prompt -I "#W" -p "Rename current window:" 
> >>>>>>>>> "rename-window '%%'"
> >>>>>>>>> bind \; last-pane
> >>>>>>>>> bind '?' list-keys
> >>>>>>>>> bind '~' show-messages
> >>>>>>>>> bind '|' split-window -h # \; send-keys C-b C-h
> >>>>>>>>> bind '-' split-window -v # \; send-keys C-b C-h
> >>>>>>>>> bind '}' swap-pane -D
> >>>>>>>>> bind '{' swap-pane -U
> >>>>>>>>> bind C-b send-prefix
> >>>>>>>>> bind C-r rotate-window -U
> >>>>>>>>> bind C-z suspend-client
> >>>>>>>>> bind C-Space previous-layout
> >>>>>>>>> bind -r C-Down resize-pane -D
> >>>>>>>>> bind -r C-Left resize-pane -L
> >>>>>>>>> bind -r C-Right resize-pane -R
> >>>>>>>>> bind -r C-Up resize-pane -U
> >>>>>>>>> bind M-1 select-layout even-horizontal
> >>>>>>>>> bind M-2 select-layout even-vertical
> >>>>>>>>> bind M-3 select-layout main-horizontal
> >>>>>>>>> bind M-4 select-layout main-vertical
> >>>>>>>>> bind M-5 select-layout tiled
> >>>>>>>>> bind M-n next-window -a
> >>>>>>>>> bind M-p previous-window -a
> >>>>>>>>> bind M-IC choose-buffer
> >>>>>>>>> bind -r M-Down resize-pane -D 5
> >>>>>>>>> bind -r M-Left resize-pane -L 5
> >>>>>>>>> bind -r M-Right resize-pane -R 5
> >>>>>>>>> bind -r M-Up resize-pane -U 5
> >>>>>>>>> bind 0 select-window -t :0
> >>>>>>>>> bind 1 select-window -t :1
> >>>>>>>>> bind 2 select-window -t :2
> >>>>>>>>> bind 3 select-window -t :3
> >>>>>>>>> bind 4 select-window -t :4
> >>>>>>>>> bind 5 select-window -t :5
> >>>>>>>>> bind 6 select-window -t :6
> >>>>>>>>> bind 7 select-window -t :7
> >>>>>>>>> bind 8 select-window -t :8
> >>>>>>>>> bind 9 select-window -t :9
> >>>>>>>>> bind a choose-session
> >>>>>>>>> bind b break-pane
> >>>>>>>>> bind B run-shell /home/aleksandrina/.tmux_scripts/move-pane
> >>>>>>>>> bind d detach-client
> >>>>>>>>> bind f command-prompt -p "Find window by name:" "find-window '%%'"
> >>>>>>>>> bind i display-message
> >>>>>>>>> bind k confirm-before -p "Kill current session? (y/n)" kill-session
> >>>>>>>>> bind K confirm-before -p "Kill server? (y/n)" kill-server
> >>>>>>>>> bind l last-window
> >>>>>>>>> bind m run-shell /home/aleksandrina/.tmux_scripts/monitor-window
> >>>>>>>>> bind -r n next-window
> >>>>>>>>> bind o new-window # \; send-keys C-b C-h
> >>>>>>>>> bind -r p previous-window
> >>>>>>>>> bind r rotate-window -D
> >>>>>>>>> bind s command-prompt -I /home/aleksandrina/.tmux.conf -p "Source 
> >>>>>>>>> file:" "source-file '%%'"
> >>>>>>>>> bind w choose-tree -u
> >>>>>>>>> bind x confirm-before -p "Kill current pane? (y/n)" kill-pane
> >>>>>>>>> bind X confirm-before -p "Kill current window? (y/n)" kill-window
> >>>>>>>>> bind z resize-pane -Z
> >>>>>>>>> bind Space next-layout
> >>>>>>>>> bind PageDown copy-mode
> >>>>>>>>> bind PageUp copy-mode -u
> >>>>>>>>> bind IC paste-buffer
> >>>>>>>>> bind -r Down select-pane -D
> >>>>>>>>> bind -r Left select-pane -L
> >>>>>>>>> bind -r Right select-pane -R
> >>>>>>>>> bind -r Up select-pane -U
> >>>>>>>>> bind -t emacs-copy -n M-w copy-pipe "xsel -bi"
> >>>>>>>>> bind -t emacs-copy -n b page-up
> >>>>>>>>>
> >>>>>>>>> if-shell "[[ $SHLVL == '1' ]]" "tmux send-keys C-b C-h"
> 

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to