Reputation
8,265
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 31 37
Newest
 Yearling
Impact
~298k people reached

Aug
23
awarded  Yearling
Jul
30
comment Binding mouse buttons in tmux
That feature is not in tmux 2.0. It should be in the next release, or you can build from source to try it now.
Jul
16
comment Kill a tmux session and select another tmux session
@Miles: Try this one: bind-key X run-shell 'tmux switch-client -n \; kill-session -t "#S"' (tmux 1.8+ run-shell expands #S directly, so we get to omit the display-message and its extra quoting)
Jul
13
answered Sending commands to a window in tmux
Jun
26
answered Tmux - Get pane # of each pane in a window from a script?
Jun
4
awarded  Enlightened
Jun
4
awarded  Nice Answer
May
26
revised Write all tmux scrollback to a file
In tmux 2.0, `capture-pane` knows that `-S -` means “start at the beginning of history”.
May
4
awarded  Good Answer
May
1
comment How big is the pipe buffer?
@CMCDragonkai: That is probably too much to address in a comment. Perhaps ask it as a new question? You might find some answers in the POSIX spec: FIFO definition, open(2), read(2), and write(2) (search for FIFO in these later ones).
Mar
12
comment How big is the pipe buffer?
@WakanTanka: The Perl program writes to its stdout (a shell-created pipe—the one that is being tested) in blocks of a given size and reports to its stderr a running total of how much it has written (until it gets an error—usually because the pipe’s buffer is full or possibly because the reading end of the pipe has been closed after a short time (exec 0<&-)). The final report is collected (tail -1) and printed along with the write size.
Mar
12
comment How big is the pipe buffer?
@WakanTanka: It is a bit much to describe in a comment, but that particular construct is a parameter assignment (var=…) of the output of a command substitution ($(…)) that includes grouped commands ({…}, and (…)). It also uses several (less common) redirections (i.e. 0<&- and 3>&1).
Feb
27
awarded  Guru
Feb
24
comment Tmux - Get number of panes in the current window in bash variable?
In one command: tmux display-message -p '#{window_panes}' (see the FORMATS section of the man page for other variables).
Feb
17
awarded  Enlightened
Feb
17
awarded  Nice Answer
Feb
3
awarded  Nice Answer
Jan
29
awarded  Guru
Jan
16
awarded  Good Answer
Nov
17
answered Can I see what's going on in a tmux session without attaching to it?