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

0
votes
0answers
6 views

Tmux + mutt not redrawing

I've recently switched to mutt, but have been using tmux for a year or so now. Mutt seems to have occasional issues redrawing, for example if I delete a bunch of email using d and then persist the ...
0
votes
0answers
5 views

Attach to the same tmux session from different nodes of a cluster

I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to ...
0
votes
0answers
6 views

tmux key-binding doesn't work over ssh

I am using iterm2 on a Mac, the tmux key binding works well if I start tmux locally. In particular, the Alt + arrow to switch panes. bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind ...
0
votes
0answers
6 views

increase tmux buffer size for an existing pane

I started a job two hours ago that will run for ~16 hours, in a tmux pane. But I am realizing that I have only a 100k lines buffer history and that the output will be bigger than this. Thanks to ...
0
votes
0answers
12 views

OS X terminal eating the shift key

I'm switching from iTerm 2 to the stock OS X 10.8.5 terminal (work policy, iTerm isn't on the approved software list). In my tmux configuration, I've mapped shift-left and shift-right to change ...
1
vote
1answer
25 views

GNU Screen/tmux equivalent for Windows for remote text console (not GUI) connections

Short question: is there any terminal multiplexer that runs in a Windows CMD shell? I suppose PowerShell could be enough too. Complete question: I have a Windows 7 SP1 on a powerful computer ...
0
votes
1answer
36 views

Bind keys over SSH to switch tmux tabs

I typically have 4 or 5 tmux "tabs" (aka tmux windows) open. They are created by pressing Control+B, C In many applications you can Control+Tab to switch between tabs (or internal windows, or ...
0
votes
0answers
7 views

screen+emacs conflict on ESC key

I have a problem in running emacs -nw inside a screen session. In this setup, pressing ESC followed by any key behaves like pressing CTRL+KEY together. For example, pressing ESC followed by k will ...
0
votes
0answers
27 views

tmux split panes not rendering properly in Conemu

I'm trying to use tmux over ssh (cygwin) in conemu, and keep running into the following issue. I'll start with a vertically split screen that seems to be fine: And switch to the right split, hit ...
4
votes
1answer
157 views

Unable to launch application in tmux

I get this error when I try to launch Sublime Text or SourceTree from tmux: $ subl Unable to launch Sublime Text 2 $ stree Unable to open SourceTree It seems that I can't open os x apps either: $ ...
0
votes
1answer
22 views

Cannot copy from Vim under Tmux into clipboard using "+p on Ubuntu

I'm using zsh, tmux, and Vim and for some reasons recently, I've noticed I cannot copy from Vim to X clipboard under tmux using "+y. Any idea how I can troubleshoot this issue? It used to work before. ...
5
votes
1answer
189 views

Tmux doesn't respond to scroll in OS X Yosemite Terminal

Recently, I updated to OS X Yosemite and was delighted to find out Apple has added mouse support to their Terminal app. This works great in a standard Terminal window scrolling through my history and ...
3
votes
2answers
238 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
22 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
25 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
18 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
27 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
38 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
24 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
23 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
41 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
23 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
33 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
19 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
11 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
26 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
65 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
45 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
10 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
42 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
42 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
14 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
10 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
29 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
22 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
40 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
26 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
58 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
151 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 ...
1
vote
1answer
50 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
16 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
51 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
19 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
34 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
144 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
90 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
60 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
32 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 ...