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

4
votes
0answers
2k views

Function key shortcuts in PuTTY/MinTTY and Tmux/Byobu

As a long-time lurker on Stack Exchange, I've found answers to most of my problems without needing to so much as make an account. But today I'm completely stumped with this issue, so I'm reaching out ...
4
votes
0answers
98 views

Tmux copy mode: stay in copy mode after selection

When using tmux, I often find a need to copy multiple items from one pane or window into another. When those items are located close to each other in a long scrollback buffer, my current workflow ...
3
votes
0answers
193 views

Display unicode in tmux?

This is urxvt without tmux This is urxvt with tmux and utf8 not enabled in the config This is urxvt with tmux and utf8 enabled in the config How can I make tmux act consistent with the ...
3
votes
0answers
77 views

iTerm 2 running tmux session causes “startup disk almost full” randomly

Anytime I run a tmux session, disk space will randomly begin filling up and the computer will slow down, then everything goes back to normal. This happens periodically. I am using iTerm 2. Does ...
3
votes
0answers
91 views

tmux link-window to remote window

In a server, there's a persistent tmux session, with several windows running 24/7. At my local computer, I run several tmux sessions, one at a time, depending on the type of work. I wonder if it's ...
2
votes
0answers
14 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 ...
2
votes
0answers
83 views

tmux visual indication if panes are synchronized

Is it possible for tmux to have some visual indicator if synchronized-panes is enabled for the window? Perhaps the status bar changes to blue, or just a star appears somewhere? I often set ...
2
votes
0answers
123 views

How can I tell what command is running on the remote end of an ssh connection?

Tl;dr - how do I find the name of the command (eg $BASH_COMMAND) running on the remote end of an ssh connection? ... My example setup is two tmux vertical panes, LH pane runs a local vim session ...
2
votes
0answers
359 views

tmux bind key and running shell isn't working

I'm on the Mac and I'm trying to do this in my .tmux.conf: bind -t vi-copy 'y' copy-selection ; run-shell 'tmux show-buffer | curl -d @- localhost:5482' I want copy and paste to work, but I did it ...
2
votes
0answers
245 views

Terminal with session management and scrollback OS X

I use GNU Screen all the time in OS X, primarily running on the server side of my SSH connections in order to maintain persistence, while multitasking. The beauty is that if I get disconnected, all ...
1
vote
0answers
48 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. ...
1
vote
0answers
37 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
vote
0answers
61 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
52 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
0answers
72 views

tmux shows weirdly encoded history on OSX

If I do the "history" command in tmux, I get a really weird result. Anyone got a hint on what to do to get normal output? The output looks like this: 477 ◆┬▒⎺▒└☃◆ 478 c▒├ ◆┬▒⎺▒└☃◆ 479 ...
1
vote
0answers
91 views

Slow screen redrawing in terminal emulator

I use a modified PuTTY (PuTTY Tray, derived from PuTTYcyg) to connect to my Cygwin's login shell (zsh), on Windows 7 (64-bit). This works, but the screen refreshing is very slow. For example, when I ...
1
vote
0answers
76 views

How do I increase the copy buffer size in tmux?

Question: How do I increase the copy-buffer size in tmux? Data: When I run the following command... $ for i in {1..1000}; do echo "$i"; done ... and highlight the entire output in tmux (using ...
1
vote
0answers
25 views

tmux completion (not shell completion)

Is there any way to do completion of arbitrary text from your tmux session (e.g. output from previous commands)? Something similar to hippie-expand in emacs or Any word completion in vim? Note that ...
1
vote
0answers
203 views

Problems with tmux, mutt, and terminal colors

If I start mutt in a tmux session like this: $ tmux new-session -s mutt mutt Mutt complains: Error in /home/lars/.mutt/colors, line 20: 230: color not supported by term Error in ...
1
vote
0answers
105 views

Tmux causeing issues with Bash up-arrow

When using tmux, I have issues of ghost characters when using the Up and Down arrow keys in Bash. If I press UpArrow a few times and then press DownArrow a few times, then the first few characters of ...
1
vote
0answers
156 views

Is there a way to set margins/paddings in tmux?

I'm just wondering if something can be done with the effect presented below: As you can see, I divided the window into 3 panes. When it comes to copying, everything is fine except double click on a ...
1
vote
0answers
40 views

Tmux - dynamically split vertically and horizontally based on # of commands?

I'm curious to know if there's a way that tmux can dynamically split and adjust windows based on the number of commands you provide. Currently, this is the way I'm having to do something tmux ...
1
vote
0answers
256 views

tmux in zsh with vi mode, toggle cursor shape between normal and insert mode

(note: I wrote this question on stackoverflow, but got flagged as offtopic, so I'm re-writing it here) Here's what I want: Consistent behavior (as much as possible) between Vim, MacVim, zsh with ...
1
vote
0answers
69 views

Update prompt on window change in tmux

Windows in tmux can easily become out of sync. For example, in both windows I might have: ~/dir git:(master *) $ The * indicates changes. Then I run git commit in one window, or change to another ...
1
vote
0answers
177 views

Make mouse-scrolling and -copying work in tmux under urxvt

If I add setw -g mode-mouse on to my ~/.tmux.conf I can get the following to work in xterm + tmux: Click and hold left mouse button in the terminal Scroll up with mouse wheel Position cursor at some ...
1
vote
0answers
111 views

Tmux and Vi in PuTTY = No arrow keys in Vi

I'm using PuTTY as my terminal with tmux. At first I couldn't resize panes so based on this thread I added the below to my .tmux.conf" set -g terminal-overrides ...
1
vote
0answers
270 views

Resume term after ssh disconnect without multiplexer (screen/tmux)

Screen and tmux (like emacs) are fancy feature rich terminal multiplexers designed to let you efficiently manage terminals as if it was 1985 but they just complicate the simple task of resuming an ssh ...
1
vote
0answers
55 views

Tmux window name changes when creating a new pane

I have several problems with windows names and panes. First if I have a window named "myWin" and I create a new pane, the name is changed into "bash" whereas I want it to remain "myWin". Second, if ...
1
vote
0answers
27 views

Tmux splitting a parent window with existing panes

Let's say I have a window with two panes (size irrelevant, 'A' = active) +-----+-----+ | | A | | | | | | | | | | +-----+-----+ If I were to split-window I would get: ...
1
vote
0answers
295 views

How to see images in tmux

I browse w3m with an images plugin. On normal terminals and even (typically minimally-featureful) virtual terminals I can see images. But when I browse with w3m in tmux the images don't show up. If ...
1
vote
0answers
103 views

Getting bash history-complete-backwards/fowards and vi-mode to work with tmux

I'm using bash on Ubuntu 12.04 my inputrc contains: "\e[A": history-search-backward "\e[B": history-search-forward set show-all-if-ambiguous on set completion-ignore-case on"" for my history ...
1
vote
0answers
38 views

Selectively “pass” commands onto the shell/program if certain programs are running

Is there a way for tmux to "pass" its control commands (C-A x) to the program running in the pane if a certain program is indeed running?
1
vote
0answers
398 views

Home and End keys doesn't work in vim inside tmux

I can't use home and end keys in vim, when in Tmux. I've got this strange stuff: H F H sample text my .tmux.conf: set-option -g mode-mouse on set-option -g mouse-select-pane on set-option -g ...
1
vote
0answers
114 views

Set tmux title to path

I'm currently setting tmux to update the window title to the name of the currently running command by doing the following: set-option -g set-titles on set-option -g set-titles-string '#S:#I.#P #W' # ...
1
vote
0answers
219 views

Ctrl-C does not work in tmux window

I have a Mini2440 ARM Board, and I have put a base Debian 6.0 system on it using multistrap. I have used tmux to run several processes in defferent windows from /etc/rc.local. I connect to the board ...
1
vote
0answers
337 views

tmux autocomplete command

I use this key-bind to launch a ssh session in a split window bind-key S command-prompt -p "ssh" "splitw 'ssh %1'" how I can get autocomplete in tmux command? example ssh hos<tab> ssh host ...
1
vote
0answers
851 views

Configuring tmux to use Windows key for prefix

Is it possible to use the Windows key in tmux? I'd like to bind my commands to use it as the prefix.
1
vote
0answers
114 views

Can tmux list tabs vertically?

Is there a way to get the list of active tabs in tmux to be vertical along the left edge of the window? (Like chrome's --enable-vertical-tabs)
1
vote
0answers
292 views

Changing puttyTRAY's URL regex in order to match URLs across lines separated by tmux window boundaries

I use puttytray to access a shell account on which I have a tmux instance running. Inside tmux, I have irssi running in a window. When people post long URLs in IRC, however, it's annoying since these ...
0
votes
0answers
10 views

Tmux waits after switching panes

I have been using tmux for a while now, but this issue only seemed to really appear after switching machines. When switching panes directionally using prefix + arrow keys, tmux waits for a little ...
0
votes
0answers
5 views

Can't scroll back after cat with mosh, tmux and iterm2 setup

My setup is the following: https://filippo.io/my-remote-shell-session-setup When I do apt-get update on my server I can see all the output and am also able to scroll back as I expect. When I do cat ...
0
votes
0answers
9 views

tmux' “run-shell” blocks for background processes

I'm using tmux version 1.9a and I noticed that run-shell blocks using of any prefix-key commands until the command terminates. To reproduce this just execute run-shell "sleep 10" and try to ...
0
votes
0answers
11 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
14 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 ...
0
votes
0answers
10 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
47 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 ...
0
votes
0answers
30 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 ...
0
votes
0answers
30 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 ...