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
227 views

How to search tmux in copy-mode

I ran Ctrl+B [ and tried using '/' (just as in vi) to search for text. But, that didn't work. I'm using iTerm on Mac but I login to a remote server and use tmux there (if that makes any difference).
0
votes
1answer
71 views

What's is the equivalent of down-pane command in tmux 1.4

In tmux 1.2, I have a configure line in tmux.conf bind -n C-o down-pane so that remote user can press Ctrl+O to switch between panes. But in tmux 1.4, down-pane is no longer valid. What's the ...
16
votes
2answers
6k views

How do I know current tmux session name, by running tmux command

I'm writing a script. I really want to know this. I hope tmux executable can tell me this. I find tmux rename <newname> can rename current session. But I can't find a command to fetch its ...
1
vote
1answer
234 views

tmux copy mode search for a Unicode string

In tmux's copy mode, I cannot search for a Unicode (non-ASCII) string, tmux just doesn't show (and just ignore) non-ASCII characters in the "Search Up:" prompt! In ~/.tmux.conf, I have: setw -g utf8 ...
3
votes
1answer
436 views

Is there a tmux version of screen's zombie mode?

screen has a feature called Zombie Mode, which makes it so that when the process of a screen (window or pane, in tmux terminology) dies, the window doesn't close - it just stays there until restarted, ...
2
votes
1answer
589 views

Display escape characters in tmux

I have a script on my mac that displays the battery level with some color output. The color is based on the battery leve. As the level goes to zero, the color goes from green to red: #!/bin/bash ...
0
votes
1answer
75 views

How can I set up a “remote pair-coding” environment linux to linux?

I did some research on how to enable a pair-coding environment remotely so someone else on their MacOx/Linux box could view my screen (I code using vim + the rails plugin). I read Evan Light's blog ...
6
votes
1answer
3k views

Bind keys for scrolling pages in copy mode in tmux

I'd like to be able to map emacs keys (like C-v/M-v) for scrolling in tmux instead of default PgUp/PgDown, is that possible? Can't see that from the manual at the moment (apologies if its there, seems ...
2
votes
1answer
3k views

How do I bind the tmux prefix key to C-'?

I'd like to set my tmux prefix key to Ctrl-apostrophe, but when I use set-option prefix "C-'" or set-option prefix C-"'", tmux complains that "unknown key: C-'". Similarly for ` and :. Is there a way ...
3
votes
2answers
8k views

tmux keyboard shortcuts not working properly

I've started using tmux of recent, and changed the bindings so that it would respond to C-a instead of C-b. These are the lines in the .tmux.conf file to do this: unbind C-b set -g prefix C-a But, ...
6
votes
4answers
5k views

Launching tmux using gnome-terminal

I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my ...
3
votes
1answer
794 views

tmux equivalent of screen's 'at' command?

GNU screen has a command, at, which lets you control other sessions by sending screen commands to them. Does tmux have something like that? I tried send-prefix and send-keys, but those send keys to ...
8
votes
2answers
3k views

Get current window number for bash prompt

I want to replace status bar with bash prompt displaying window number like ①. How can I get current window number in the shell? There's TMUX_PANE env variable, unfortunately no TMUX_WINDOW. The ...
1
vote
1answer
2k views

Cannot resize tmux pane from bash script

Background and Problem: I have created a tmux script to open a few windows. It works great but then I wanted to place a vertically split pane on one window and resize it to 5 characters tall. I ...
9
votes
1answer
2k views

Looking for non-conflicting cross-platform keybinding consistency

I use Mac OS X and Arch Linux and occasionally log into FreeBSD and Debian servers by ssh. My favoured tools are zsh, ssh, tmux, git, vim and irssi. I use iTerm2 on Mac OS X and unicode-rxvt on Arch ...
3
votes
1answer
3k views

Vim through Tmux looks completely out of whack, is there a way to fix this?

When SSH'd into another machine, I use Vim as my text editor, and I'm trying to add Tmux to my tool set as well. However, when I use vim through Tmux, the colors are completely wrong, and Vim is ...
5
votes
1answer
2k views

Bind Ctrl-Tab to cycle through windows in tmux

I'm trying to figure out how to bind ctrl-tab to cycle through all open windows, I've tried: bind-key -n C-Tab select-window -t :.+ which says Unknown key. What am I missing? Note: I don't want to ...
0
votes
1answer
233 views

Terminal keystrokes confusion

#1 tmux ignores some keystrokes: Ctrl + Delete Ctrl + F* #2 Something similar happens in virtual consoles (even without tmux) with the difference that Ctrl + Delete and Delete behaves the same. ...
2
votes
2answers
2k views

Sending commands to parent tmux session from vim

I have a split window setup with vim and Lynx in tmux. I'm trying to build a script so that I can send a custom command to vim which will save the script I'm working on, switch focus to the Lynx pane, ...
0
votes
1answer
503 views

TMUX: Limit tab's characters

Whenever I listen to music with Music on Console, the tab will display the song’s title, and it is long, it takes up the entire width of my status bar. I want to limit X amount of characters ...
4
votes
1answer
1k views

tmux compilation error in andLinux (Ubuntu)

I'm running andLinux which is based on Ubuntu Jaunty. I'm trying to compile tmux 1.3 on that system and I get the following error message. I've already installed libevent-dev. server.o: In function ...
5
votes
1answer
3k views

Is sharing a tmux sockets between hosts possible?

I'm wondering if it's possible to share a tmux server socket between different hosts. For example, I have a virtual machine (guest) running inside my host, and I'm running a tmux session in the guest, ...
5
votes
1answer
4k views

Can I connect to a tmux session on a server _without_ sharing it with another user or detaching his session?

If I connect to a tmux session with the tmux a command, I end up sharing the session with a friend and we cannot work on our own thing (since we have to work in different windows). On the other hand, ...
1
vote
0answers
129 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
1answer
2k views

UTF-8 Not Working in PuTTY when using SSH Remote command

So. I am using PuTTY to connect to a remote server that has an irssi client running for me constantly through tmux. Connecting to the server, and typing "tmux attach" works fine and everything works ...
14
votes
1answer
4k views

How to turn down the timeout between prefix key and command key in tmux?

My ~/.tmux.conf: set -g prefix C-a unbind C-b bind C-a send-prefix bind-key o split-window -v bind-key e split-window -h bind-key w kill-pane (to make the command keys same as GNOME Teminator) ...
3
votes
1answer
954 views

tmux: Link panes?

Is it possible to do this? I've got a window 'dev' with several panes in it. One of those windows is an irssi process. Is it possible to make that same irssi process appear in window 'play' as another ...
4
votes
1answer
3k views

tmux: sharing current window title (#T) from within nested tmux sessions

I have begun using tmux recently to really improve my terminal sessions. One thing I need to be able to do is connect to a remote server, which is also running tmux. However, I have found that the ...
2
votes
0answers
485 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 ...
7
votes
1answer
4k views

How to enter copy mode on mouse scroll in tmux?

The mouse scroll wheel does not work when not in copy mode. I'm not sure whether it is supposed to be working then? When in copy mode, the scroll wheel does work. The problem is that I still need to ...
1
vote
1answer
256 views

In tmux how should I bind a key in the 'emacs-edit' table?

I find that when I am editing a command in tmux, the M-b and M-f are not bound. I tried the following: tmux bind-key -t emacs-edit M-b previous-word But tmux says that's a unknown command. What ...
10
votes
2answers
3k views

tmux died and says “no sessions” - is there any way to recover?

This sucks. $ tmux attach-session no sessions My sysadmin upgraded tmux and now I can't reattach. My processes are still running according to ps ux. Is there any hope of recovering my session? ...
11
votes
1answer
6k views

tmux and text selection with mouse through putty

I'm running tmux in a putty session. Normally(running just a plain shell or GNU Screen) to select text I'd just left click and drag the mouse across some text. With tmux, I have to hold shift while ...
13
votes
2answers
3k views

tmux status bar messages last only about a second: can I extend this?

I've searched through the man pages several times for a way to set the length of time that status bar messages (what you see if you enter display-message "hello world" at a tmux command prompt) are ...
1
vote
0answers
535 views

Temporarily full screen a pane in tmux [duplicate]

Possible Duplicate: “Maximizing” a pane in tmux In tmux I would like to be able to make the currently active pane either full screen or become the only pane in a new window ...
7
votes
1answer
12k views

tmux Ctrl-b not working

Holding CTRL and B followed by another command key usually gives me nothing. I have no .conf file so I'm not overwriting it.
1
vote
2answers
2k views

Bash scripts with tmux to launch a 4-paned window

Can anyone help explain what's going on with tmux, bash, and exec? I'm trying to set up a tmux session with a 4-pane window. Ideally, I want to run a command in 3 of the panes: e.g. a Ruby Thin server ...
4
votes
1answer
3k views

iTerm2 and tmux integration

I would like to achieve the following behaviour: When I launch iTerm2, if there is a tmux session running, connect to it. If there is no tmux session running, create one and connect to it. Any ...
2
votes
1answer
462 views

Why do I have multiple tmux processes?

I use tmux attach to start tmux and have the following lines in my tmux.conf: new -n TeX bash neww -n Shell bash After starting the terminal emulator and running pgrep I get the following: ~ ...
4
votes
1answer
1k views

MacVim + tmux or: The Copy Paste Riddle [duplicate]

Possible Duplicate: copy-paste not working in MacVim when launched in tmux Now this is weird. Copied a chunk of a text from somewhere into clipboard. Ran mvim from a tmux buffer. Opened a ...
1
vote
1answer
726 views

Is there a way to launch a command within a proper zsh shell? [duplicate]

Possible Duplicate: invoke zsh, having it run a command, and then enter interactive mode instead of exiting I'm not really clear with my question here, let me rephrase it : I've setup a ...
2
votes
1answer
841 views

Binding number keys in tmux

Is it possible to bind C-1 in tmux? When I try it I receive an error: unknown key: C-1 Here's what I'm trying: bind-key -n C-1 select-window -t 1
13
votes
1answer
9k views

Configuring TMUX's status bar

I want my tmux session to show my current ip address in the right hand side of the status bar but I am having the hardest time figuring up the right syntax. The command works perfectly in the shell, ...
3
votes
1answer
1k views

Can tmux be used in multi user environments safely?

I could not find docs on how tmux clients and servers commmunicate. I would like to use tmux but it cannot be deployed if it only uses sockets for this. fifo's or pipes would be ok as long as fifo's ...
3
votes
2answers
1k views

Installing tmux on Ubuntu from source

I've download tmux and am trying to install it on Ubuntu 10.04. $ ./configure Configured for Linux $ make cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o ...