tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.
0
votes
0answers
13 views
vim + tmux: some shortcuts broken?
When I am using vim inside of tmux, some of my shortcuts are broken.
E.g. I have bound Ctrl + up/down and Shift + up/down in my .vimrc and when I'm running vim inside of tmux these shortcuts do not ...
1
vote
2answers
40 views
Is there a program like tmux or screen but only for attaching or detaching a session
I was wondering if there was a program like GNU/screen or tmux that would allow me to attach or detach a session with a running process but would not provide all of the other features such as windows ...
1
vote
0answers
32 views
Bash command history stops working after starting new tmux session
My bash command history stops working after starting a new tmux session. No previous commands when typing up, down, reverse search, no output from running history.
I've confirmed that this happens ...
3
votes
3answers
50 views
persistent ssh sessions without screen or tmux
My work seems to have deliberately crippled screen and tmux such that they destroy all sessions on logout (they didn't answer when I opened a ticket about it). i.e., when I [detach and] log out, ...
0
votes
1answer
61 views
How Do I Make the tmux Rename Window Prompt Empty by Default?
In tmux, pressing prefix + , prompts you to rename the current window:
The (rename-window) prompt is automatically populated with the current window name -- in this case, zsh.
I would rather the ...
0
votes
1answer
29 views
How to change default new window directory from within the tmux
I recently moved from GNU screen to tmux.
I find it quite similar but with bigger support (I switched due to problem with escape-time in neovim- resolution was only for tmux).
Unfortunately in tmux ...
2
votes
1answer
40 views
Capture tmux status bar content
I wrote an addon to tmux, tmux-gitbar, it adds to tmux status bar some information about the current Git working tree (name of local and remote branch, working tree is clean?, etc.). So basically it's ...
1
vote
0answers
28 views
Remapping Caps Lock to ctrl+b [duplicate]
I recently moved to Linux from OSx and in there I had mapped Caps lock to Ctrl+b. This was mostly done because of tmux.
How can I do this in Ubuntu 14?
There is a very comprehensive answer here how ...
1
vote
1answer
16 views
tmux check interfering with scp usage
My .bashrc file on my server is relatively simple, but it has this chunk to ensure that it automatically connects to tmux on login:
echo Checking for tmux
if [ -z ${TMUX} ]
then
/usr/bin/tmux ...
1
vote
0answers
125 views
tmux not executing ~/.bash_profile on start up
I searched the net and many people complained that tmux wasn't executing their .bashrc. The solution thats suggested everywhere was to source .bashrc from within .bash_profile cos tmux launches bash ...
0
votes
0answers
11 views
Launch command in new tmux session alias? [duplicate]
How can i create a new tmux session and run a command in it, without opening the tmux session.
I want to be able to run a background process like grunt serve from the command line but without opening ...
0
votes
1answer
24 views
tmux online command reference
Does tmux have an online (built-in) command reference? I'm looking for something like vim's :help diffput for example.
I realize the man page exists. It's just imperfect for looking up a specific ...
0
votes
0answers
21 views
tmux script to open a new window and run a script, keeping the window open
I am working on porting a script of mine to use tmux. Essentially it takes a text file and executes a command with each line of said file in it. Right now it uses gnome-terminal and opens a new ...
1
vote
0answers
19 views
tmux status bar rightmost few chars disappear
From time to time I saw my status bar rightmost few chars disappear. For instance, the intended one
11:40
to be
11:4
My .tmux.conf is as the following:
# Set status bar
set -g status-bg black
...
1
vote
0answers
50 views
tmux - Catch 22 with “unknown key: WheelUpPane” for osx and Ubuntu
Recently tmux changed a lot of mouse stuff for the better.
I've got a bit stuck however because I need to have
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= ...
5
votes
2answers
297 views
What is the gnome-terminal ANSI escape sequence for “CTRL + arrow/s”?
I am trying to configure my bash ~/.inputrc to these settings
(Note: ←, → mean the left and right arrow keys)
Ctrl + ← - should jump back a word
Ctrl + → - should jump forward a word
Currently I ...
1
vote
0answers
13 views
Tmux: Unzoom pane when switching to another pane
In tmux, prefix + z toggles the active pane between zoomed / unzoomed. Also, the tmux-pain-control plugin allows moving to another pane (same window) with prefix + i/j/k/l.
Now, when from a zoomed ...
1
vote
0answers
13 views
Makikng Alt + h switch to the left pane in tmux
I'm trying to make Alt-h switch to the left pane in tmux. The following does not work:
bind -n M-h select-pane -L
Pressing Alt-h in cat generates the following in my terminal:
$ cat
^[h
That is, ...
1
vote
0answers
23 views
Getting Alt to Work in the Terminal with Tmux and Vim
I'm trying to make Alt + h/j/k/l switch tmux panes and vim windows. Yet for some reason my terminal (xfce4-terminal) and and Alt do not play nicely with each other. I got Alt + h/j/k/l to switch ...
3
votes
1answer
30 views
Tmux line wrap indicator
I would like to see at a glance where my tmux terminal dynamically wraps output lines: A wrapped line currently looks like this:
This is a very long sentence that did not
fit on one screen line.
...
2
votes
1answer
29 views
Get current memory usage of a tmux session
As the title says. I need a way to the used memory of a current tmux session. I am not sure if that is even possible. I am using tmux to start multiple minecraft servers I'd like to know each servers ...
0
votes
1answer
21 views
Why does mutt hang when running gpg in tmux?
I run mutt in tmux and when I run gpg to sign or encrypt, gpg shows a blank screen where I would expect to type my passphrase. I've straced gpg and it shows that it's hanging waiting on a socket ...
1
vote
1answer
41 views
tmux doesn't passes correctly ctrl-shift-arrow sequences
Tmux doesn't passes correctly the ctrl-shift-arrow sequences.
It doesn't work on emacs, and when I use sed -n l, I see it displays the escape sequence of the arrow key alone instead of the full ...
1
vote
1answer
60 views
tmux status line and current path format
Tmux has an option to have the #{pane_current_path} as a name for the current pane in the status line. This is great but has two short falls for me:
$HOME is not displayed as ~.
I only really need ...
2
votes
0answers
40 views
Detach from tmux and rotate to ssh without dropping exec?
I've been using tmux launched by default as part of my shell at all times for some time now and find it very convenient. At the same time ssh'ing from inside tmux to another system is not ideal ...
1
vote
0answers
38 views
Running screen inside tmux
I need to run an instance of screen inside tmux because there's a script I need to run that uses a complex .screenrc to run several commands in parallel and monitor them.
This works on some of my ...
0
votes
0answers
40 views
Why can't I resize my panes in tmux with the current bindings that I have?
I was trying to set up my key binding in tmux so that I can resize my panes without having to type the whole command. Currently I have it set up as:
bind-key -n S-Left resize-pane -L 1
bind-key -n ...
3
votes
1answer
29 views
How to scroll while Holding Shift to copy in tmux?
I have Mouse mode set to on in Tmux so that I can make use of the scroll wheel using set-window-option -g mode-mouse on.
However if I want to copy the output of a particular command which spans more ...
3
votes
2answers
47 views
Remapping Ctrl-P to Ctrl-O for getting the previous command?
I am using zsh with tmux and I like to have Ctrl-P as a shortcut to 'previous pane'. I would however still keep the original 'previous command' functionality of Ctrl-P and map it to Ctrl-O. How can I ...
1
vote
0answers
34 views
tmux status-bar #(pwd) doesn't reload
I have a problem with tmux 2.1 status bar. As the man explain I'd write in ~/.tmux.conf it:
set -g status-right "#(/bin/pwd) %R %d/%m/%g"
set -g status-interval 1
so, after I start tmux in status ...
1
vote
0answers
13 views
Fullscreen TMUX session selection
I've found TMUX's choose-tree command to be quite useful when navigating between sessions, but I dislike it only displaying inside of the current pane. I'd prefer it to overtake my entire screen.
...
1
vote
0answers
24 views
tmux start process if not already running
In my .zshrc, I have a bit of logic that will automatically start a tmux session or, if sessions are already running, prompt to attach to one of them or create a new one and attach to that. This all ...
0
votes
1answer
19 views
tmux detach session remote
I run at first terminal tmux, then I run another terminal with tmux and attach to session which I run at first terminal. First is smaller than second and I can't go to it to do something.
How to ...
3
votes
0answers
38 views
Bind ALT key in Tmux to move across panes
I'm using Ubuntu 14.04 and I would like to bind ALT + <hjkl> in tmux to move across splits.
I've seen this plugin that allows you to move across panes with CTRL + <hjkl> but I would like ...
1
vote
1answer
39 views
Maximizing tmux session shows weird ANSI Sequences
I have a tmux session inside Putty. It was fine for past many months, but now I see a strange thing. When I maximize a normal Putty window, and if cursor is not on a new line, then I get some weird ...
0
votes
0answers
26 views
Getting stuck in overwrite mode in Tmux
I'm connecting to a remote server from Windows using a variety of ssh clients: Putty, MobaXTerm, FireSSH. I'm doing something, I don't know what, that puts me permanently in overwrite (insert) mode in ...
0
votes
0answers
27 views
remote osx split panes in ubuntu byobu
My Problem
I have OSX 10.10, connect to a byobu in ubuntu 14.04 over ssh.
I want to split panes vertically & horizontally.
But ctrl+F2 & shift+F2 just gives me beep sound.
Additional Info
...
0
votes
0answers
34 views
After losing ssh connection to box with tmux running, shell is garbled
I have tmux running on a box I ssh into. From my tmux session, I have various panes and ssh connections open to other boxes.
When I lose my ssh to the box with tmux running, I often see garbled text ...
0
votes
1answer
35 views
Tmux raspbian installation
i have installed tmux on my pi (raspbian jessie) it has installed ok but when I ssh from osx command + b + " doesn't work, or any other command for that matter. Do I need to create a config file?
0
votes
0answers
40 views
Tmux displays “<xzy not ready>” in the status bar
I'm using iTerm 2 nightly and I have the following tmux config setting for the left status bar:
set -g status-left "#[fg=green]#h @ #[fg=cyan]#(extip | awk '{print \"ip \" $1}') ...
0
votes
1answer
23 views
tmux reEnter to a session and save a session
\
I am a new ubuntu user.
kindly, using ubuntu (terminal) I could open tmux session and open my R program then run the script, the script prints text on the scree. my question(s) are:
how to re enter ...
1
vote
0answers
53 views
Copy text in byobu when the mouse is “off”
I recently started using byobu with tmux as a backend. I have learned that AltF12 toggles "mouse mode" off and on. When "mouse mode" is on, I can select text with my mouse and paste it with the middle ...
3
votes
1answer
59 views
Clear to end of line uses the wrong background color in tmux
In ZSH prompt expansion, the command %E is supposed to "Clear to end of line."
This works:
However, it does not work in tmux:
The issue seems to be with BCE (Background Color Erase). In screen, I ...
1
vote
0answers
38 views
Vim losing ability to copy to client clipoard over SSH
I have setup vim to be able to yank text from the server instance of vim to the clipboard on My client's operating system (through the SSH connection).
The basic setup is
Client side
...
1
vote
1answer
35 views
tmux: creating new split window doesn't work
I want a new session with two windows named mutt and offlineimap. the offlineimap window should be split into two using two different offlineimap instances (with different profiles).
tmux new-session ...
1
vote
0answers
8 views
How to see the variables current value of a running matlab process on tmux?
I have a matlab process in tmux which is running for days. Actually I need to see the values of calculated variables till now. I thought that, it is good(if possible) to duplicate the process and then ...
1
vote
0answers
39 views
Tmux has different environment variables? [closed]
I'm on a RHEL 6 system and I recently noticed I was running into proxy issues when running commands in tmux.
When I echo $HTTP_PROXY in tmux, I get nothing. But, if I open a terminal on its own ...
0
votes
0answers
9 views
Tmux spawns unlimited child processes if filesystem (AFS) becomes unavailable
I have a long running tmux process on a linux node (Scientific Linux/CentOS 6.6), and I'm using powerline, in case that is relevant. My home directory is on AFS, and the problem is, when I lose my AFS ...
1
vote
0answers
22 views
Unbind c-n and c-p from tmux
I want to totally unbind the next-window and previous-window command from tmux, here is what I have in my tmux conf
unbind C-n
unbind n
unbind C-p
unbind p
It works well on ubuntu, but on Mac it ...
0
votes
0answers
54 views
Why is tmux starting slower and slower over time?
On my Ubuntu server I run tmux. When I login on the server itself I get tmux, when I login with SSH I get tmux too.
Right after a reboot logging in on the server starts tmux within seconds and when ...