1
vote
1answer
24 views

How to get guake to update background characters?

This is actually a problem that also goes on with screen. Here is what it looks like (in mutt): When running a terminal application that builds an updated interface from Guake, tmux and screen ...
2
votes
2answers
250 views

Getting 256 colors to work in terminal multiplexer

tmux I followed Getting 256 colors to work in tmux: I have alias tmux='TERM=xterm-256color tmux' in ~/.bashrc and also set-option -g default-terminal "screen-256color" in ~/.tmux.conf In konsole: ...
1
vote
1answer
70 views

Combining local and remote terminal multiplexing

I use tmux regularly to easily handle multiple terminals on my local machine. Sometimes, I need to connect to a remote machine and start a script in one the terminals (i.e. a pane or window in tmux). ...
2
votes
1answer
294 views

Byobu - send command to byobu tmux session from commandline (or bash/sh)

I run a script which I would like to print the status to a byobu tmux session. So for example print backup finished \n. Is it possible to do this with the name of the byobu tmux window, which you can ...
0
votes
2answers
140 views

Why do you need screen/tmux to keep a remote program running

When I ssh to a server and start a script that is supposed to run for several days, it stops executing some time after I log off. Why? I suppose the server runs 24/7. And what does screen/tmux do to ...
2
votes
1answer
158 views

Garbled text in tmux menus

I am trying to use the st terminal, but after starting tmux (or screen) in a remote ssh session, the text becomes all garbled. Exiting tmux/screen makes text normal again. Now, I have found that this ...
3
votes
1answer
247 views

Tmux: equivalent command to screen -d -m -S session_name

I'm looking at replacing screen with tmux, currently I use this screen command: screen -d -m -S session_name /root/script Is there an equivalent command for tmux that will do the same thing?
1
vote
0answers
116 views

GNU screen :fit equivalent in tmux

I'm experiencing this problem where I've attached a single tmux session at multiple terminals with differing console sizes. Is there a solution to rid of the view-port without having to disconnect ...
1
vote
1answer
639 views

How to get byobu to start at startup with a command executed, as root?

I want when the computer start, a byobu session is started and a command executed in the first window (windows 0), without requiring any user intervention. It is very important that this doesn't ...
2
votes
0answers
154 views

GNU screen, tmux, dvtm - none work as ordinary user

I bought cheapest vps for teamspeak hosting and I have strange issues with demonizing it's process. None of screen tmux and dvtm work for ordinary user, but they work witout a charm for root. As far ...
1
vote
1answer
336 views

How can I scroll screen or tmux buffer without pausing the application?

I want to have the same behavior as C-A/C-B+[ provides except i want to be able to return to my application to see that it has progressed in her calculations or has not disconnected to the server ...
2
votes
0answers
130 views

Simulating GNU Screen's shelltitle in tmux

I'm trying to simulate GNU Screen's shelltitle feature in tmux. I have the following in my ~/.bashrc: if [[ "$TERM" == screen* ]]; then SCREEN_ESC='\[\ek\e\\\]' else SCREEN_ESC='' fi ...
1
vote
1answer
518 views

Resume bash session in new TMUX or SCREEN? [duplicate]

Sometimes I'll start doing something fast. I've got something to do, and I need to get it done now. Then of course i realize that I need to do something else to help me finish what I started, so I ...
0
votes
0answers
31 views

Pass process ownership to another shell [duplicate]

I didn't hear of anything like this, but It might be possible. I often end up starting a process on a server and midway realizing that I would like to suspend that process and continue it inside a ...
2
votes
1answer
248 views

Launch R code from within vim-r-plugin as separate window instead of inside tmux/screen?

I use the vim-r-plugin to write R code in vim. It is a nice plugin and I love that the plugin lets me run code directly from within vim. However, the R prompt is opened in a console which is ...
2
votes
1answer
154 views

How to set Cols and Lines for a Subprocess

I have a script that runs a series of scripts numbered 001,002,003,004... etc down to 041 right now, will be more in the future - and these scripts them selves use some cursor control to print a ...
6
votes
2answers
737 views

emacs colors based on $TERM environment variable

I want to know if it is possible to make emacs, when running in a gnu screen or tmux session, use the same colors as when TERM=xterm. In a gnu screen or tmux session, TERM=screen and emacs uses a ...
12
votes
2answers
6k views

How do I cycle through panes inside a window in tmux like in screen?

I thought Tmux - move window to pane was the same question but it doesn't seem to be. Coming from using GNU screen regularly, I'm looking for tmux to do the same things. On of the things I do ...
6
votes
2answers
368 views

Execute a process in the current pane, redirecting stdio to/from the pane

GNU Screen has a command called exec that will launch a subprocess and optionally let you do things with its file descriptors, including tying them in your window. I frequently use :exec !! sx -b ...
7
votes
3answers
1k views

Does a terminal multiplexer have any benefit when used with a tiling window manager?

Both terminal multiplexers (screen, tmux) and keyboard-driven tiling window managers (ratpoison, dwm, xmonad) provide similar functionality. Is there any benefit in using both at the same time? What ...
20
votes
1answer
2k views

How do you make tmux count windows starting with 1 instead of 0?

I was able to make GNU Screen start counting windows with the number 1 instead of the default 0 with this code in my .screenrc: # Get rid of screen 0 bind c screen 1 bind ^c screen 1 bind 0 select 10 ...
6
votes
4answers
3k views

Is there a tmux equivalent of “screen -D -R”

I would like to know if there is a way to get tmux to behave like screen -D -R so I could say, have the command as a default command in Putty. These screen switches would force detach of an existing ...
3
votes
0answers
137 views

What do you use to manage your shell history? [duplicate]

Possible Duplicate: Preserve bash history in multiple terminal windows Can I easily search my history across many screen windows? I rely on my shell history a lot, I use Ctrlr and arrow ...
7
votes
1answer
1k views

How do I highlight a search result in tmux?

When I search a terminal window in tmux, it sets the cursor the keyword search, but doesn't highlight the matching word. Screen used to do this, and it was much easier to visually find a match. ...
4
votes
2answers
2k views

Convert gnu screen status line to tmux status line

I am using the following screen status line, configured in my screenrc: I configured it using the following line: hardstatus alwayslastline hardstatus string '%{= kG}[ %{G}%H %{g}][%= ...
4
votes
1answer
907 views

How to run streamripper and mplayer in a split-screen X terminal, via a single script

I want to run streamripper in its own X Terminal (window), then split the terminal horizontally, and then run mplayer in the lower half. This is simple enough to do manually, but getting a script to ...
84
votes
5answers
24k views

Moving tmux window to pane

How do I move an existing window into a pane in another window in tmux when I have multiple windows, and vice versa? I'm coming from screen, where I can switch to the pane and then switch windows ...
4
votes
2answers
412 views

What are the virtues of multitasking with traditional job control vs Tmux/Screen?

tmux and screen let you run different processes (e.g. vim, a bash script, mysql, psql, etc) in different virtual windows. But traditional Unix job control (using CTRL-z, fg, bg, and jobs) seem to give ...
4
votes
2answers
1k views

Terminal and web browser combination

I often use only two applications, terminal and web browser. I like the tmux application which enables to split a terminal window into more regions. I noticed that I can open lynx in another region ...
1
vote
1answer
366 views

Tmux viewport caused by multiple concurrent sessions

When attaching to the same tmux sessions from multiple computers using ssh and tmux attach, my screen looks like: ------------------------- $> |........ |........ ...
5
votes
3answers
1k views

Scrollability of text when using tmux?

Scrollability of text in some terminals: | tty | xterm | urxvt | guake | terminator screen | Y | Y | Y | Y | Y tmux | N | N | Y | N | N I notice in this ...
4
votes
1answer
1k views

Running several commands in a screen-split

I have a few long running commands that I would like to run together in the same screen (same tab in the terminal app). My current setup is like this: tmux new-session -d 'cmd1' tmux split-window ...
8
votes
2answers
5k views

How do I bind to Shift+{Left,Right} in tmux?

I'm looking at tmux from screen, and have hit a bump while configuring the (highly configurable!) tmux key bindings. Problem is, in my .screenrc I have bindkey ^[[d prev bindkey ^[[c next bindkey ...
23
votes
4answers
8k views

Is there an equivalent of GNU Screen's “log” command in tmux?

I make heavy use of screen's "log" command to log the output of a session to a file, when I am making changes in a given environment. I searched through tmux's man page, but couldn't find an ...
127
votes
10answers
26k views

tmux vs. GNU Screen

Browsing through questions I found about tmux (I normally used GNU Screen). My question is what are pros and cons of each of them. Especially I couldn't find much about tmux.