tmux is a terminal multiplexer, which allows users to work with terminals in terms of windows and panes, which can be created, destroyed, attached, and reattached at will.

learn more… | top users | synonyms

1
vote
0answers
20 views

LSOpenURLsWithRole() failes with error -10810 on Yosemite from within tmux

Trying to open an application from the commandline (terminal.app), inside tmux (installed through macports, version 1.9a), and getting the following result: $ open /Applications/Adobe\ Reader.app/ ...
0
votes
1answer
12 views

Tmux: no pane 'zoom' indication after customising status bar

My customised .tmux.conf file looks like this: tmux.conf When I zoom inside a pane in Tmux, I have no 'Z' indication beside the pane title in the status bar. I assume it's because I customised my ...
0
votes
0answers
8 views

undefined reference to __b64_ntop: tmux compilation error on centOS

I've got tmux at http://tmux.sourceforge.net/. And I've read README carefully, installed all dependencies( libevent, ncurses-dev...). But when I ran "make" command, it showed an error like the ...
1
vote
1answer
14 views

Run a script or program when a monitor triggers in tmux?

In tmux, instead of (or in addition to) simply changing the status line when an activity/content/silence monitor triggers, is there a way to run a script or program?
0
votes
0answers
16 views

Create custom command in tmux

I know how to bind a key to a command in tmux, but I want to create a custom command (that you can type with prefix key + colon). In this custom command, I want to execute a couple of other commands. ...
0
votes
1answer
27 views

Vim yank to tmux clipboard

I see a lot of explanations of how to make vim copy to the system clipboard (involving xclip for linux or pbcopy or OSX), but I would like to yank to the tmux clipboard. To be clear, what I want is to ...
0
votes
1answer
17 views

Confirm a tmux option is set

I am having the problem described in this related question and this one. Summary When I have a tmux pane that outputs a serious amount of text, tmux becomes unresponsive. All tmux commands are ...
1
vote
1answer
18 views

Mutt checking incoming mail in tmux

I've been using mutt and liking it. I work with tmux, and one issue that I've had is receiving notifications of incoming emails (via mutt's beep_new setting). I've got the mail_check and timeout ...
1
vote
3answers
36 views

What does the “first pid of a pane” in tmux mean?

The entry in the tmux manpage's list of available variables for pane_pid reads as follows: pane_pid PID of first process in pane However, according to run or send a command to a ...
1
vote
1answer
16 views

Join lines in tmux's copy mode

In screen there is this really nice feature that you can join the lines you've selected in copy mode. You do this by hitting Shift + J in copy mode. If you press it again it will add a space as a ...
1
vote
0answers
27 views

Arrow keys work like option+arrow in terminal in tmux on osx

The following setting in .tmux.conf breaks arrow keys in terminal in tmux: set-window-option -g xterm-keys on When I disable this setting, then arrow keys work as expected in terminal but then they ...
-1
votes
1answer
16 views

How send tmux prefixer to remote server using iterm2

This is my first time using tmux and I have a problem. I have a remote server that I am connecting to it using ssh(using iterm2). Since opened, when I try to send commands like ctrl+b+c command+b+c ...
0
votes
1answer
9 views

how to zoom a pane in config using tmuxinator

So what i want is to start a tmux session using tmuxinator and the vim pane would be zoomed in (prefex + z) but how can I specify that in tmuxinator ? name: app root: ~/work/app windows: - rails: ...
0
votes
0answers
22 views

shifting between windows in byobu corrupts putty scrollback

I use byobu-screen through putty. when i use multiple windows and shift between them. the scroll back buffer of these windows gets intermixed, losing the whole purpose of scrollback. I dont want to ...
1
vote
2answers
48 views

Start a new session from within tmux with ZSH_TMUX_AUTOSTART=true

I have enabled tmux plugin in oh-my-zsh with ZSH_TMUX_AUTOSTART=true and now every time I open terminal I am attached to a session. That part is really nice. The problem is – now I can't start a new ...
0
votes
1answer
26 views

.tmux.conf: How can I conditionally set a color variable?

Sometimes I use a light-colored terminal, sometimes a dark one. I export a THEME environment variable to conditionally set colors in my .bash_profile and .vimrc. I'm trying to do the same in my ...
0
votes
1answer
8 views

How do I recover from a `tmux a` by mistake within a tmux session?

I have a tmux session with a pair of windows. I want to recover the stdout from both those windows. I found this example, and so, within my existing attached session, ran tmux a. I now have a screen ...
0
votes
0answers
40 views

Neither less or less -X clear screen on exit. (Trust me, I googled…)

Neither less or less -X clear screen on exit. At the same time, vim does.... Env iTerm2, protocol mosh, server Centos + tmux + zsh iTerm2: report term as xterm-256color tmux: set -g ...
0
votes
1answer
26 views

How to configure tmux/iTerm to display session name as title in terminal tab?

I am getting started using tmux and iTerm2 on Mac OS X. Currently, all my tabs are titled "tmux" (assuming it's just displaying the process name) which makes it difficult to find the tab that I want. ...
0
votes
0answers
13 views

Using tmux when network is having issues

Is there any reason why I should not be able to use tmux if I am having LAN issues? Or some tip or command line option I need to use? I am starting the tmux session locally. According to the manual ...
0
votes
0answers
9 views

tmux freezed pane in copy-mode

tmux seems to have a limit on scroll backs buffer and block my process when it is full. Any method to prevent accidental blocking of process? Maybe auto quite the copy-mode when I disconnect? How to ...
0
votes
0answers
19 views

tmux monitor-activity — active activity vs stopped activity

I'm curious if it is possible to have a different visual indicator for active activity (e.g. stream of text) and stopped activity (e.g. command executed, printed a few lines and stopped) in an ...
0
votes
0answers
10 views

Equivalent to 'base-index' for sessions?

In my .tmux.conf I have the following line: set -g base-index 1 Which means that in a new tmux session, the first window to be created is numbered 1 instead of 0. I'd like tmux to also do this ...
0
votes
1answer
13 views

How do I terminate windows directly from window choice mode in tmux?

I want to go into window choice mode (prefix-w) and then be able to kill windows without choosing them (hitting the Enter key). Is this possible without configuration changes? Is it possible at all? ...
0
votes
0answers
18 views

Disable mouse reporting in a terminal session after tmux exits unexpectedly

I currently use iTerm2 and frequently SSH into remote servers and start a tmux session. On all of those servers, when SSH'ing into them, I automatically create a tmux config that enables mouse ...
1
vote
0answers
27 views

share local and remote tmux sessions

There seem to be many related questions but I'd like to see a specific workaround. So, I used to be an avid iTerm2 user (irrelevant) and I started using tmux remotely because I want to avoid SSH ...
0
votes
1answer
23 views

How can I close a Tmux session and stay connected to Tmux?

I typically run Tmux with multiple sessions, usually one per project with multiple windows within. When I want to throw away a session, I type exit. This closes the session, but also detaches from ...
0
votes
1answer
44 views

After each command tmux prints: ps1_update: command not found

On Linux Ubuntu 11.04, after each command (cd, ls, vim...) successful or not, tmux prints out as a last line ps1_update: command not found. Is there any config option I am missing? Thank you very ...
0
votes
1answer
109 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
0
votes
1answer
42 views

In tmux, after ssh a server, how to send R code in vim to R consol

I installed tmux and vim-r-plugin in local machine (ref: http://manuals.bioinformatics.ucr.edu/home/programming-in-r/vim-r), and use ssh to log in a server (only vim-r-plugin and screen installed). ...
0
votes
0answers
14 views

How to specify a log folder for tmux?

By default, tmux log messages are stored in the current directory, is it possible to set up tmux so that all these files are saved in one place?
0
votes
1answer
40 views

Using cURL to retreive public IP for tmux config creates too many connections

I am currently using the command: curl icanhazip.com and the option set -g status-left ... in my tmux.conf to retrieve and display my public IP in status bar. This works great, although I am really ...
0
votes
2answers
17 views

How to add horizontal pane above vertical panes in tmux?

I remember doing this before, but it was pretty tricky and I can't quite remember the combination of commands to get it to work. How can I turn my window with two vertical panes: ...
0
votes
0answers
26 views

Reload user group assignments inside tmux (or byobu/screen)

This question handles reloading group assignments without logging out, but it doesn't really treat a situation where you want the group assignments to be reset inside an existing tmux (or byobu or GNU ...
1
vote
1answer
100 views

Tmux somehow forgets prefix after certain key-bind

I did not change default prefix i.e. C-b. I added the following key binding in my tmux.conf bind -n C-M-w send-keys M-w\; \ run-shell "tmux save-buffer - | xclip -i -selection clipboard" ...
0
votes
2answers
77 views

In tmux, can I get `exit` to exit the containing terminal window and not the session itself?

So when I open a new terminal (I use terminator on Arch Linux), I have it configured to either open a new tmux session if one doesn't exist, or attach to an existing one. When I type exit at the ...
0
votes
1answer
43 views

Tmux: Restore automatic window title after rename-window

By default, tmux will show the title of the focused pane in the status bar. After using rename-window to set a title manually, how do you restore the default behavior? First idea was to set a blank ...
0
votes
1answer
29 views

Ignore TMUX prefix?

I have my tmux prefix key bound to ` via set -g prefix ` I have been using this for a while and like it. The problem is, on rare occasions I actually need the ` accent. If I am in vim this is not ...
0
votes
1answer
43 views

How to fg a process suspended before starting tmux inside the new tmux session?

How to 1. suspend a process with ^Z, 2. start tmux and 3. fg (or bg) the suspended process? $ find / [.....] ^Z [1]+ Stopped sleep 10 $ tmux $ fg -bash: fg: current: no such job ...
1
vote
0answers
13 views

Scroll with mouse in tmux without mouse highlighting controlled by tmux

From this question, Scroll shell output with mouse in tmux the setting setw -g mode-mouse on allows mouse scroll in tmux. This also causes mouse highlighting by click and drag to be controlled by ...
0
votes
1answer
53 views

How to port my current bash history over when opening a tmux session?

I often find myself in this situation: I start doing something in a terminal. I need more terminal space, so I open tmux. History is gone, even the commands I wanted to run inside tmux. How can I ...
0
votes
1answer
105 views

watching output of “ps aux | grep blah” in tmux will not work?

I am trying to run this - watch "ps aux | grep myShittyProcess" in a tmux session. This process myShittyProcess was also started in a tmux session. The ps aux works without watch command. But as ...
0
votes
1answer
22 views

How to config tmux so that new windows reuse working directory of last window?

When I open new window or new pane in a tmux session, the directory is always where I started the session. More often than not, I'm expecting the new windows or new panes to be in the working ...
0
votes
0answers
18 views

suppressing spurious invisible tmux/terminal output

I'm using tmux to run multiple terminals sessions. The issue I am having is that my top-level terminal program has a feature where it will notify me if there is any activity in a non-visible tab. ...
1
vote
1answer
37 views

Why do I see the unicode character è when I type Alt-h in my xterm on centos?

I am sshing into a centos box from an ubuntu box. I keep seeing è when I type Alt-h (aka M-h). I want to use this key combo in tmux bindings but it doesn't work because tmux doesn't recognize utf8 ...
1
vote
0answers
39 views

tmux: Page Up/Down in Cygwin

Unfortunately it seems like the normal C-b > PgUp or C-b > ctrl+arrows aren't working; instead, I'm just seeing the characters 5~ be printed whenever I C-b and then try to use PgUp. Even mouse mode ...
1
vote
1answer
72 views

tmux: close session while open

I am using tmux to manage multiple terminal windows. Currently I have 2 windows open with multiple panes. How can I close the session from inside of tmux. I know that I have to use the prefix (for me ...
0
votes
0answers
8 views

Multiline comment in tmux.conf

I am presently trying out different configuration for tmux, and using tmux.conf for the setup. I will like to be able to comment out a section of the file without going line by line to add '#' . How ...
0
votes
2answers
68 views

SSH'd (via Cygwin) vim to write to local file

Okay, so I'm trying to solve the problem of getting the contents of a yanked register from a SSH'd session in Vim, to go to the Windows clipboard. Here's the scenario: SSH into development ...
1
vote
1answer
30 views

Switching tmux zoom between panes without zooming out

After zooming in to a tmux pane, I'd like to zoom in on another pane (preferably the next) without zooming out first. How can I do it?