5,600 reputation
21829
bio website
location McKinney, TX
age
visits member for 3 years, 8 months
seen 18 hours ago

Apr
2
answered Why does `tmux` copy operation always output temporary gibberish to the terminal?
Mar
29
awarded  Good Answer
Mar
27
awarded  Populist
Mar
22
comment Tmux monitor activity change highlight color
Maybe the white text you are seeing is iTerm’s foreground color; i.e. tmux’s default, not white/colour7. window-status-format is used for all inactive windows (an alerted window is necessarily inactive), so it makes sense that it would override the window-status-activity-… settings. It works like this (for an inactive window with an activity alert): first window-status-{fg,bg,attr} are applied, then (window-status-activity-{fg,bg,attr} are applied, then the string generated from window-status-format is output. The items that come later can always override the earlier items.
Mar
22
comment Tmux monitor activity change highlight color
screen-256color is appropriate for inside tmux, but you should also make sure that you are using xterm-256color outside tmux (i.e. when attaching to or creating a session). Are you sure your iTerm color configuration has not been altered (⌘I, then the Colors tab)? A command like bash -c 'for c in {0..15}; do tput setaf $c; echo colour$c; tput op; done' (out/inside tmux, with xterm-256color/screen-256color) should show you this series of colors: black, red, green, yellow, blue, magenta, cyan, and white (then the “bright” versions of these colors; solarized changes all this).
Mar
22
comment Tmux monitor activity change highlight color
@Ionthas: It works for me with my old copy of tmux 1.6 (and my recent master-branch compiled version) under iTerm 2. It might have something to do with the terminal emulator you are using outside of tmux, or possibly the terminfo entry you are telling tmux to use to talk to that emulator. What is your outside terminal emulator, and what TERM are you using when attaching to tmux?
Mar
22
answered Tmux monitor activity change highlight color
Mar
10
revised Create new-window with current directory in tmux
added 299 characters in body
Mar
8
comment Using Ctrl+[0-9] to cycle between windows using tmux
@Charles: tmux 1.8 sends the sequence ^[[>4;1m to enable the modifyOtherKeys functionality (see XTerm Control Sequences, search for modifyOtherKeys). However, tmux 1.9 no longer send this sequence.
Mar
4
awarded  Good Answer
Feb
23
awarded  Custodian
Feb
23
reviewed Approve suggested edit on how to disable auto login in linux mint
Feb
4
awarded  Nice Answer
Feb
1
awarded  Nice Answer
Jan
30
comment How do I know the name of a tmux session?
You can probably just get away with checking for the TMUX environment variable (it is normally set for processes inside a session, and not set outside a session—this is not “fool proof”, since something might set or unset TMUX and confuse things, but it should be fairly reliable). In ksh, bash, zsh, et cetera: [[ -n "${TMUX+set}" ]] && tmux display-message -p "#S"
Dec
30
awarded  Good Answer
Dec
3
revised what is `env <command>` doing?
added 124 characters in body
Dec
3
revised what is `env <command>` doing?
added 111 characters in body
Dec
3
answered what is `env <command>` doing?
Dec
3
answered How to use ifconfig to show active interface only