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
1answer
16 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
0answers
5 views

Missing xterm-256color and screen256-color entries in terminfo

The results are confusing when searching for xterm-256-color and screen-256-color in terminfo. Looking for xterm-256color, i get xterm+256color. What's the difference between the two, one with "-" ...
0
votes
1answer
6 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
8 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
13 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
10 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
12 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
2 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
45 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 ...
0
votes
0answers
11 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?
1
vote
0answers
27 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 ...
0
votes
1answer
72 views

How to use Console2 with tmux

I am able to start tmux using the mintty terminal included with cygwin. However, when using Console2 (running on 64-bit windows 7 and using C:\cygwin64\bin\bash.exe as the shell), I get the following ...
0
votes
0answers
28 views

Seamless vim and tmux panes between ssh client and host

This article describes assigning the same key binding to transitions between and within vim and tmux panes, allowing "seamless" transitions. ...
0
votes
0answers
12 views

tmux middle mouse paste

I have the following tmux options set and the selection works fine and I can paste using <bind key> p. But it doesn't seem to paste when hitting the middle mouse. It just does nothing. The ...
2
votes
2answers
43 views

How do I create CTRL key bindings in vim when using tmux?

I use Vim inside tmux, and have recently added the following to my .vimrc file: " easy navigation nnoremap <C-Left> :tabprevious nnoremap <C-Right> :tabnext But this seems to have no ...
0
votes
0answers
36 views

tmux and nano in busybox

When I connect to my busybox'ed synology NAS with ssh, I can run "nano" with just nano Some_File-sh from the cli. But if I start tmux, I need to use the absolute path /usr/bin/nano/Some_File.sh, ...
0
votes
0answers
14 views

Scrolling with shift-control-pageup in gnome-terminal

Is it possible to configure tmux (inside gnome-terminal) so that the key combinations Shift-Ctrl-Page Up and Shift-Ctrl-Page Down can be used to scroll up and down in the terminal's history?
7
votes
5answers
1k views

Cygwin tmux: “failed to connect to server: No error”

Just as the title says, whenever I try to start tmux in Cygwin 64-bit (Win7), with any or no arguments besides --help, I get the following error: $ tmux failed to connect to server: No error I ...
0
votes
1answer
17 views

tmux: Find “my” window, check if it's active

I want to find some way to have a program find the following information: 1) What window am I running in? 2) Is that window the active window? The idea is, in a program like WeeChat, I'll switch to ...
0
votes
1answer
31 views

Tmux ignores window-status-style

I have the following in my tmux.conf file: set -g window-status-style fg=colour234,bg=colour252 set -g window-status-activity-style fg=red,bg=yellow set -g window-status-current-style ...
1
vote
1answer
35 views

Difference between global, server, session and window options

The tmux manual discusses various types of options, for example global options, server options and so on. The question Where's the defaul tmux configuration file? also refers to some of these ...
0
votes
1answer
35 views

How can I copy from Tmux terminal and paste it other application in my OS?

I am using tmux on ubuntu. I read this https://awhan.wordpress.com/2010/06/20/copy-paste-in-tmux/ for copy and paste inside tmux. But I would like to know how can I copy from TMUX terminal and paste ...
0
votes
1answer
21 views

How can I start a totally independentt new instance of tmux?

If I have already a tmux session opened, results that I can't start a new one with another tmux configuration, for ie: $ tmux # loads new session using ~/.tmux.conf In another terminal... $ tmux ...
1
vote
1answer
40 views

How to quickly switch to n.10+ windows in tmux

Tmux by default comes with the following keybinding to quickly switch between windows numbered 0 to 9: C-b + 0-9 With a couple of dozen different project folders, a few ssh sessions and other ...
0
votes
0answers
35 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 ...
0
votes
0answers
29 views

Tmux status sed output different from cli

I've been looking at this for a while now, but I cannot find a reason. When I run the following in a cli, it works as expected: $ uptime | sed "s/.*average: \(.*\), \(.*\), \(.*\)$/\1 \2 \3/g" 0.65 ...
0
votes
1answer
38 views

Tmux printing ^P

My terminal has recently started printing control characters (e.g. ^P or ^N) when I press Ctrl+P (or other combinations). I'm not sure what caused the change. Here is my .tmux.conf file. Any ideas? ...
0
votes
1answer
27 views

Kill tmux when ssh is started

I have a server with tmux and a client with tmux. If I connect to my server I have running 2 tmux sessions, one from the client and one from the server. Is there a way to detach the clients sessions ...
0
votes
0answers
9 views

Tmux does not recognise commands

When I hold CTRL and B followed by a command, such as ? nothing happens. Sometimes my MAC picks up the command and for example changes screens. What is the correct way to use Tmux installed on ubuntu ...
0
votes
0answers
41 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 ...
0
votes
0answers
80 views

open Safari and Finder failed in tmux

OS X 10.9.2, tmux 1.9a install via brew. In tmux: $ open /System/Library/CoreServices/Finder.app ...
0
votes
1answer
110 views

Vim colors do not appear correctly in tmux terminal running within rxvt-unicode terminal

I am using Debian (Jessie). My ~/.vimrc file contains the following statement. colorscheme murphy My ~/.Xresources file contains the following properties. URxvt.background: #000000 ...
0
votes
1answer
43 views

What does ps axuwfw return?

I am getting strange output including my old makefile output and process tree when running below command on linux ps axuwfw Also, what is the usefulness of the following command and how does it ...
1
vote
1answer
24 views

How to send keys to “other pane”?

Reading the tmux man page, I would think that the command to send characters from one pane to the other in a two-pane setup would be the following: tmux send-keys -t + "ls -l" But it just sends to ...
0
votes
1answer
191 views

mac os x byobu vertical split using iTerm, tmux, zsh

How to get vertical split on Mac OS X in byobu? Ctrl + F2 is not working. It open new window instead of spliting the current. In oposite spliting horizontaly with shift + F2 works ok.
3
votes
0answers
72 views
+100

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 ...
0
votes
1answer
65 views

tmux Meta-N not working

Recently, M-2 (and the other M-N's) have stopped working for me in tmux. M-Up, M-Down, etc still work. It only seems to affect the M-NumberKey key chords. I can run: select-layout even-vertical ...
1
vote
1answer
64 views

Zsh autocomplete function with sed

I'm struggling to write an ZSH autocomplete function. My goal is to autocomplete ta's and tk's first argument with the projects listed in tmux list-sessions and tmuxinator list. Here's what I have so ...
0
votes
0answers
41 views

Unable to run tmux on OS X

So I got brew on my mac and I had tmux installed and running just fine. Then after I refreshed my system every time I try to run tmux i get this error: "-bash: tmux: command not found" So since I'm ...
0
votes
1answer
61 views

Remote server, iTerm2, and tmux integration

I want to be able to start a tmux session on a remote server, and then use iTerm2's native windows and split screens on my local machine. For example, let's say my remote server has a tmux session ...
0
votes
0answers
43 views

Using <ctrl+arrow> with zsh within (byobu-)tmux within gnome-terminal

I already added the following lines in my profile.tmux configuration file: TERM=xterm-256color set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@" unbind C-Left ...
0
votes
1answer
61 views

Disallowing windows to rename themselves in tmux

I've installed tmux on an OS X system with zsh provided by oh-my-zsh. I usually use quite a number of tmux windows for a whole bunch of ssh sessions, and I like to keep these windows named after the ...
1
vote
1answer
1k views

Attempting to install tmux on CentOS 6.4 or CentOS 6.5 fails with error: ‘EVBUFFER_EOL_LF’ undeclared

I tried compiling tmux using the following steps: yum -y install ncurses-devel libevent-devel wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz tar -xvzf tmux-1.9a.tar.gz cd tmux-1.9a ...
0
votes
1answer
24 views

What is the command for inline help in tmux?

In vim, we have :help. In R, we have ?topic. I seem to remember there is an option inside tmux to get help on tmux commands, but I cannot remember it and could not find it online. Update: I tried a ...
0
votes
0answers
17 views

What do the entries in tmux layouts mean

I have just started to use tmuxp which seems like a great program. Unfortunately it still has some bugs, so the last freeze that I made saved a wrong yaml file. So I'm now trying to reconstruct the ...
1
vote
1answer
86 views

Run function in tmux within bash script

My bash script has some functions and i need one tmux pane to execute function within bash script. For example below code won't work and will be reported that command "internal" not found. common() { ...
6
votes
1answer
87 views

Merging different windows in tmux

my question is simple. I have two windows in tmux session, 1 and 2. How can I merge these two windows into one window split horizontally/vertically? I couldn't find an answer in manpage, so I'm asking ...
1
vote
1answer
37 views

Tmux - select entire lines

I'm using tmux with the following lines in my .tmux.def: bind p paste-buffer bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-selection It works well and I can start copy mode ...
1
vote
1answer
101 views

Launching Applications In Fullscreen From Terminal in OSX 10.9 Mavericks

It's my first venture into the world of tmux, and the end goal is an executable script that directly starts tmux (instead of launching Terminal and then starting up tmux from there) in fullscreen mode ...
0
votes
0answers
19 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 ...