tmux is terminal multiplexer software, allowing users to work with terminals using multiple windows and panes, which can be created, removed, attached, and reattached as needed.

learn more… | top users | synonyms

0
votes
1answer
17 views

Cygwin+tmux terminal problems: open terminal failed: not a terminal

I can't get tmux to work inside an SSH session to a Windows machine with Cygwin: USER@HOST ~ $ tmux open terminal failed: not a terminal GNU/Screen is working fine. I understand tmux is a bit ...
0
votes
0answers
9 views

how to keep the window's name fixed in tmux after I rename it with zsh

I use zsh with oh-my-zsh and tmux 1.8.1 I want the windows' name changed with the changing of my dir,but fixed after I first rename it. It is fine when I use shell, but the windows' name will still ...
1
vote
0answers
13 views

sz and rz fail to transform files in tmux?

I use xshell to SSH to a Linux remote server—running Red Hat Enterprise Linux AS release 4 (Nahant Update 3)—without root. There aren’t any problems to use sz, rz to transform my files until I start ...
0
votes
2answers
17 views

Jumping to previous prompt in terminal

In a terminal, are there any shortcuts to jump to a previous/next prompt? Scrolling up and trying to find the start of a log slows down my workflow. I'm using iTerm on OSX, but this should be ...
2
votes
0answers
137 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 ...
0
votes
1answer
5 views

How to source a script in every panes and windows of a specific tmux session

I have a shell script specific for a project which create environment variables, aliases and run some commands. I want to create a tmux session for this project which will source my shell script ...
3
votes
6answers
5k views

Messed up keys in vim when running inside tmux

I have been playing with tmux and I'm loving it. However, there's an annoying issue when running vim inside it. Somehow the arrow keys get remapped, but only on certain times, like when firing up ...
2
votes
2answers
3k views

Option key does not work as Meta in Tmux

I am using Mac OSX Lion. I have checked "Use Option key as Meta" in Terminal preferences. Although the Option key seems to work fine as Meta in Bash, when I use it in Tmux (over SSH) it does not work ...
0
votes
3answers
2k views

TMUX key bindings

I have a problem with TMUX key bindings. When I'm working on a terminal pane, if I press ctrl+pgup, it should scroll the screen one page up, as a normal terminal, but it doesn't. Also, while using ...
0
votes
0answers
13 views

tmux copy-mode page up with M-v on OSX

For some reason, C-v pages down no problem. However, when I hit Alt-v, nothing happens. Here's my config: # Make C-a escape unbind C-b set -g prefix C-a bind C-a send-prefix # Make it like emacs ...
0
votes
0answers
11 views

In tmux, is it possible to list all panes in all windows?

Say, I got two windows, Window 1 contains 2 pane (1, 2), Window 2 contains 3 panes(1,2,3), and I'm in pane 1 in Window 1, and I want to jump directly into the pane 2 in Window 2, PREFIX w which is ...
0
votes
0answers
15 views

tmux very slow on Mac OS X Yosemite

When I run tmux very slow on Mac OS X Yosemite, it takes a few seconds to load, then the input is very delayed. This seems to have been a recent issue. It's occurring on both Terminal and iTerm2. Has ...
38
votes
4answers
26k views

Byobu vs. GNU Screen vs. tmux — usefulness and transferability of skills [closed]

So far I have used Konsole to manage multiple shell sessions but I haven't tried Byobu, GNU Screen, and tmux, which offer better support for multiple shells. They all share one main feature, which is ...
2
votes
2answers
113 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 ...
4
votes
2answers
338 views

Proper Format for Byobu's windows.tmux?

In Byobu 5.17 (using tmux 1.6), how ought I format the windows.tmux file? I've poked around a bit, but have been unable to find a proper answer. For reference, here's the screen version of what I ...
1
vote
1answer
11 views

How to make byobu output the complete history directly to buffer?

It is possible to enter some sort of scrolling back mode with some keys. But I wonder if we can directly output to the buffer and use the scrolling of the terminal app. I noticed it is possible, ...
1
vote
2answers
100 views

How do I shove a pane to the left in tmux?

Suppose I have three horizontal panes stacked up vertically and I would like to push one of them to the far left, such the other two panes are still stacked but on the right. Current Setup: Pane 1 ...
1
vote
1answer
9 views

Is it possible to close the ssh session without closing byobu or the window?

If I use byobu, exit only closes the current shell. And I have to close all the shells to terminate the session, which is terrible, because I want to keep all the shells, which is why I use byobu. ...
4
votes
2answers
178 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
1answer
417 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 ...
0
votes
1answer
6 views

tmux server being killed when shell closes

Tmux server and my tmux sessions are being killed at the end of my SSH sessions. SSH session: # timepoint 0 $ tmux # timepoint 1 # ^D [detached (from session 0)] # timepoint 2 $ tmux a # ...
1
vote
0answers
17 views

gitk not working inside of tmux

I have a weird issue where gitk does not run when I use it inside of a tmux session. If I run gitk from tmux, I get: Error in startup script: 58:102: execution error: An error of type -10810 has ...
6
votes
2answers
1k views

Difference between tmux and shell split options on iTerm2?

I currently switched to iTerm2 + VIM for my dev environment. I noticed that the last version of iTerm2 supports tmux and there were people using tmux to split the window into several sessions. I also ...
0
votes
1answer
18 views

Change to Virtual Console 2-4 on target system via PuTTY and screen

I am trying to figure out how to change to Virtual Consoles 2-4 on a target system using PuTTY and screen. I have read the screen man pages and the replies here, but I still can't figure it out. ...
3
votes
3answers
573 views

How to capture session name into tmux variable?

I want to execute an external command based on the value of my session name. I know that the :display-message '#S' will give me the session name, but I want to have that name automatically sent to my ...
5
votes
3answers
3k views

Can I get tmux split screen to retain the pwd?

Say my present working directory is /home/abc/documents/xyz. Now in tmux, when I split my screen, the new pane defaults to the /home/abc directory. I want the pwd to be retained upon splitting.
4
votes
1answer
256 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
15 views

iTerm2 + TMUX closing behaviour

I've just discovered tmux integration with iTerm2 and it's fantastic! The only thing that I'd love to change is the exit behavior on closing the window. The current behavior exit's the tmux session. I ...
0
votes
1answer
45 views

bash error when starting shell from tmux

When I open a new shell in tmux I get an error message. This error message does not show up when I start a new shell in GNOME terminal. What might tmux be running at startup that I need to check? ...
1
vote
2answers
88 views

Emacs cursor is invisible in tmux in iterm2

When I try to use emacs -nw inside a tmux pane under iterm2, the cursor is invisible. This behavior is present regardless of which theme I use in iterm2. I'm using emacs version 24.5 on Mac OS X ...
0
votes
1answer
32 views

Swap Left Alt and Right Alt on Kinesis Keyboard (or Any Keyboard)

Let me back up my problem a little bit for context. I am trying to use the same modifier-key-plus-letter combination between both vim and tmux so that, if I have a vim pane/whatever on one side and a ...
0
votes
2answers
34 views

Persistent tmux session with shared socket

I would like there to always be a tmux session on a socket in /tmp/shared with a session of 0. That way I can always attach to the session via SSH: ssh user@www.example.com -t tmux -S /tmp/shared ...
1
vote
1answer
64 views

Consequences of 'escape-time 0' tmux setting?

I find that when running (neo)vim inside tmux, the escape-key is delayed. This is fixed by putting set -sg escape-time 0 in my .tmux.conf. Presumably, this disables the possibility of using ESC as ...
21
votes
6answers
26k views

How do I get tmux to open up a set of panes without manually entering them?

So, I want to make a project-specific tmux session that pops up certain commands in certain panes automagically. Following an online tutorial and the tmux man page, this is what I come up with for a ...
69
votes
4answers
13k views

How to convert 2 horizontal panes to vertical panes in tmux?

After doing join-pane on 2 windows, you have 2 horizontal panes. How do I rearrange the panes to be vertical panes instead?
1
vote
2answers
221 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
28 views

Can tmux display pretty pane corners?

I'm in the process of picking up tmux, and I'm sure I'll get used to it, but this pointy edge is bothersome. Is there a way to make the corner flush, like this (fixed with gimp)? I know that the ...
1
vote
1answer
38 views

Copy text without exiting copy mode

tmux's copy-mode offers the ability to scroll up through a window's history, visually select text, and copy it to the clipboard. As soon as text is copied, copy-mode exits and tmux returns to insert ...
1
vote
1answer
25 views

How to access tmux session created in an ssh session locally?

After I created a tmux session and detached in an ssh session, running tmux attach at a local terminal does not bring me the session I created (tmux ls also lists nothing). ps shows tmux is still ...
0
votes
0answers
30 views

Tmux + Vim split screen artefacts

I recently switched my whole workflow to tmux + vim and so far it was awesome; However I have on very frequent problem: There are artefacts after scrolling around in a file. Note that on the right ...
1
vote
1answer
27 views

what does the 'set -g' command do in tmux?

I see references to set -g <command> in tmux, for example set -g status-right ' #[bg=colour33] Branch #[(git branch)] ' I have googled and looked in man tmux and also info tmux but cant find ...
5
votes
2answers
791 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 ...
0
votes
0answers
15 views

Tmux per-window priority

When using gnu-screen, I can set per-screen-session CPU and I/O priorities: sudo /usr/bin/nice -n 15 ionice -c2 -n7 sudo -i -u $user -- 'screen -dmS build' sudo /usr/bin/nice -n 20 ionice -c3 sudo ...
0
votes
1answer
28 views

tmux create panes programatically

I want to create tmux panes programatically. e.g. I have a list of commands to execute, and I'll create a shell script that will invoke a tmux command along with the commands to execute in each pane, ...
0
votes
0answers
16 views

tmux hangs when closing terminal

When I open 2 terminals with 2 different tmux sessions and close one (without exiting the session), the other one hangs. I am using tmux 2.0 (compiled from source) with zsh and testing with no conf ...
-2
votes
1answer
46 views

Alternatives to byobu as a tmux distribution?

Are there good alternatives for byobu as a tmux distribution?. Minimal, stable and that just works? or most tmux users just learn tmux specifics and configure it all by themselves?
0
votes
1answer
51 views

How to dynamically set window titles in Tmux?

I want to set the title of Tmux windows dynamically to the path of the first pane. How do I set a title dynamically?
45
votes
15answers
29k views

What's the best prefix/escape sequence for screen or tmux? [closed]

Screen goes with Ctrl+A.  tmux, as developed within screen, uses Ctrl+B.  Both are also keystrokes in other editors, shells, etc.  What do you suggest? which one conflicts least with other programs?
58
votes
4answers
26k views

How does the tmux color palette work?

I'm trying to set something to gray, but can't figure out how. The only bit of info in the man page about colors I can find is: message-bg colour Set status line message background colour, where ...
0
votes
1answer
17 views

What's the relationship between multiplexer and terminal?

Recently, I learned there's this tmux tool. in wiki, it defines tmux is a terminal multiplexer and I kinda get the idea of what it is capable of. But I'm a little confused about the relationship ...