Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [terminal-multiplexer]

A terminal multiplexer is a software application that can be used to multiplex several virtual consoles, allowing a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session. It is useful for dealing with multiple programs from a command line interface, and for separating programs from the Unix shell that started the program.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Execute command when creating new screen session

With the screen command, the -X option allows you to execute a command in the specified screen session, but when you try to use it when creating a new screen, e.g: screen -dmS -S downloader -X "...
user avatar
2 votes
1 answer
988 views

What are the advantages of hardware-accelerated terminal emulators?

What distinguishes kitty from the vast majority of terminal emulators? It offers GPU-acceleration combined with a wide feature set. It’s targeted at power keyboard users. It’s billed as a modern, ...
user avatar
  • 1,457
0 votes
1 answer
309 views

How to execute a command in tmux and detach using a single line command?

How can I get tmux to execute a command and then detach (That is, automatically in a single line without further input beyond initially starting the session)? I don't know to write sophisticated ...
user avatar
  • 11
0 votes
1 answer
50 views

Are there tools that I can use to obtain a snapshot of terminal or pty state? [duplicate]

Please stop marking this question as a duplicate, it's not a duplicate. Thanks. Consider the sequence of a, followed by \x1b[D ("cursor back"), followed by b. This would produce an output of ...
user avatar
  • 1,939
0 votes
1 answer
184 views

:How to change `Prefix :` (command prompt) to `Prefix ;` in tmux?

I tried to change from prefix - : to prefix - ; in tmux and it doesn't seem to work. Edit 1: Explanation For a tmux prompt you hit, prefix then : (i.e shift + ;). I want to change it to , prefix then ...
user avatar
  • 111
0 votes
0 answers
45 views

duplicated history entries at the same timestamp

For some time I had an issue with my history using GNU bash (version 4 and 5) where commands appeared in duplicates. I assumed this was due to the fact that in my .bashrc I had the following line: ...
user avatar
  • 198
1 vote
1 answer
706 views

tmux copy is slow on macOS

I am having this issue for about 2 years now (since I started to use tmux in Summer 2018) and I have not found a solution to this problem. Any help is greatly appreciated! The copy functionality of ...
user avatar
  • 35
0 votes
1 answer
150 views

How to stop terminal from getting mouse click input?

I was just reading this forum where I found a curious terminal control escape sequence: "\033[?1000h". Naturally, I've tried it to see what could happens. In accordance with the inspiring comment, my ...
user avatar
0 votes
1 answer
1k views

How to create new pane and run command in that pane using TMUX

I have this which is pretty close: tmux new -d -s "$session_uuid" tmux send-keys -t "${session_uuid}.0" "tsc -w" ENTER tmux send-keys -t "${session_uuid}.0" "nodemon" ENTER tmux attach -t "$...
user avatar
3 votes
1 answer
228 views

File/foler permissions & plex

I have an Intel NUC running Kubuntu (based on Ubuntu 18.04.3 LTS \n \l) & Plex server, headless. I used various guidance to set this up. The normal user account to the machine is 'exharris', and ...
user avatar
1 vote
0 answers
58 views

Weird patterns like "OIOI", "OOI" etc in terminal when I use ctrl+Tab in Unix terminal

I see this issue where everytime I press ctrl+Tab or click on any minimized application, I see weird Patterns of I and O in the terminal line. I use tmux. Has anyone seen anything like this? Edit: ...
user avatar
1 vote
1 answer
600 views

How to equalize byobu vertical split screen size

Note: I may be leaning on an XY Problem; feel free to steer me to a more ideal approach. I want to keep an eye on multiple remote log files in a small-yet-legible font, not so much analyzing ...
user avatar
  • 153
-2 votes
1 answer
201 views

On my local machine, what can Screen bring, which a terminal emulator or nohup/disown can't?

GNU Screen is a terminal multiplexer, which provides Persistence: Similar to VNC, many terminal multiplexers allow the user to start applications from one computer, and then reconnect from a ...
user avatar
  • 89.9k
0 votes
2 answers
152 views

Is opening new tab equivalent to opening new window?

Is opening new tab in the terminal window is equivalent to opening a new tab in terms of resources? I need to run 16 scripts in parallel. I do not know whether opening tabs or new terminals is the ...
user avatar
3 votes
1 answer
1k views

Escape keywords with tmux send

Using tmux to send commands along from one terminal to another, I realize that $ tmux send -t mySession "text" ENTER correctly sends text, but $ tmux send -t mySession "up" ENTER sends text again, ...
user avatar
  • 2,281
0 votes
1 answer
1k views

tmux - List output last line of all windows in new window

I am running a tmux session with 40 windows. I need to create an overview window listing the last line of each screen and updating each listing as the output of the respective window.
user avatar
  • 103
5 votes
1 answer
652 views

Multiplex different TTYs with a single instance of screen

I use screen to connect to devices via RS232 with a USB-serial dongle. Currently, I use this command to invoke screen (where 115200 is my baud-rate): screen /dev/ttyUSB0 115200 Usually, I have more ...
user avatar
3 votes
2 answers
179 views

Mark descriptor as terminal for the -t test

One can test if a descriptor is connected to terminal with -t test. if [ ! -t 0 ]; then echo "Stdin is not from terminal" fi Having a descriptor X, pointing to a file or to a process (with >(cmd)...
user avatar
2 votes
0 answers
399 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 ...
user avatar
  • 65.9k
1 vote
1 answer
1k 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 -...
user avatar
  • 712
0 votes
1 answer
576 views

Bash file is unable to execute on linux terminal: Socket Programming

I have written some codes for socket programming namely socket and plug. To execute them together I am trying to use the below bash file but I get the following errors. I did execute the command ...
user avatar
0 votes
2 answers
2k views

Advantages of using linux terminal multiplexers

What are good reasons to use linux terminal multiplexers such as screen and tmux instead of physical terminal?
user avatar
  • 323
3 votes
1 answer
1k views

How do you reset my tmux display? Its stuck in a smaller window

for some reason my tmux is stuck in a smaller box. what is the reason for this? And how can I reset my display? Yes i know i can just kill the pane, but i have a bunch of sessions i want to keep. ...
user avatar
11 votes
3 answers
27k views

ssh from screen leads to unknown terminal error

I'm trying to make an ssh connection (via lsh) from one Ubuntu host to another from within screen. If I try to run mc right after that I get the following error: Unknown terminal: screen-256color-s ...
user avatar
  • 405
26 votes
2 answers
19k views

Set the active tmux tab color

Is it possible to change the background of the active (current) tmux tab? I'm using tmux 1.9 on Ubuntu 15.04. $ tmux -V tmux 1.9 I tried to do: set-option -g pane-active-border-fg red But the ...
user avatar
3 votes
0 answers
381 views

Terminal pty name according to the source IP address

Is possible to have some Unix (either just in Linux) 'engine' mounting the pts'es (terminals) names according to their IP (socket) source ? In the past we could map each physical ports to its tty ...
user avatar
  • 1,099
2 votes
1 answer
344 views

monitor command outputs in separate windows within a terminal [duplicate]

For a list of input text, I want to execute a repetitive command using each element from the list. In addition I also need to monitor the results of each of these commands in parallel. So I am looking ...
user avatar
  • 121
9 votes
3 answers
14k views

How can I resume a screen that I did not manage to detach?

I use the screen Screen visual consoles. To detach a screen I need to press Ctrl+A followed by D but some time a session is closed without detaching it. It appears as (Attached) on screen -list: ...
user avatar
2 votes
1 answer
1k views

Terminal Emulator with CTRL+Scroll Zoom

Are there any Linux Terminal Emulators that offer "control & scroll zoom" (allowing you to adjust the visible size of fonts by holding down ctrl and scrolling your mouse-wheel)? Recently on ...
user avatar
  • 4,315
1 vote
1 answer
440 views

Mosh and terminal multiplexing

Reading this Q&A on the site: Can I re-attach to a mosh session? made me wonder about the use cases for mosh. Say I start tmux on my local client, and then mosh to a remote host from within tmux....
user avatar
2 votes
0 answers
894 views

Tmux hangs on first start

I am running Tmux on a OSX (brewed tmux), and everytime I boot my computer, the first time I start tmux, it hangs. Doing a CTRL + T to check it's SIGINFO, gives me "waiting..". To fix this, I need to ...
user avatar
6 votes
1 answer
3k views

screen & xterm: how to select text with the mouse in one only pane when window is divided vertically

Interestingly enough, this has also been a tmux issue for some: http://daemonforums.org/showthread.php?t=7311 But currently I am sticking to screen, and I'd like to know how I can make screen "behave"...
user avatar
  • 2,166
3 votes
2 answers
211 views

Modular $TERM for different terminal emulators

Is there a way to set different $TERM for different terminal emulators. For example if I am in xterm the $TERM will read xterm-256color, in urxvt urxvt-256color, in sakura xterm-256color and in tmux ...
user avatar
  • 3,199
3 votes
1 answer
2k views

Send text/input to all tabs

I'm using the Gnome terminal and am logged into different servers on each tab. Is there a way to send the same text/command to all the tabs at once?
user avatar
  • 307
1 vote
1 answer
403 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). ...
user avatar
25 votes
2 answers
10k views

tmux: shared session, one user in a pane, another in another pane, two different cursors

I've decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor. However, giving 777 permissions to ...
user avatar
2 votes
1 answer
967 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 ...
user avatar
1 vote
2 answers
11k views

Why screen is not splitting my GNOME terminal?

I am working in a remote Linux box using VNC.I have a single terminal with lots of tabs opened in my system. How can I split them using the screen utility? Does the screen utility work with already ...
user avatar
  • 6,088
3 votes
1 answer
2k views

Tmux status bar question

I'm fairly new to tmux and to truly master and learn it, I decided to make myself a fresh .tmux.conf I was wondering, though, if it's possible to hide a path in the status bar. For example, I have ...
user avatar
  • 51
26 votes
1 answer
6k views

How to copy from/to the tmux 'clipboard' with shell pipes?

When working in a shell environment I run fairly often into the need to copy 'intermediate pipe output' around (eg. from/to already running editors, to other shells, other machines, etc.). When in a ...
user avatar
  • 841
3 votes
2 answers
2k views

How to configure vim to interact with interactive command line shells?

From time to time I want to use vim as scratch pad for commands that I would like to send to a command line shell like psql (Postgres), ghci (Haskell programming language), octave ('calculator'), ...
user avatar
19 votes
5 answers
6k 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 ...
user avatar
  • 293
7 votes
1 answer
6k views

What is the difference between a Console, Shell, Terminal, Terminal emulator, Terminal multiplexer, and a Window manager?

For example. What is the difference between a default 'interface/console' of FreeBSD/archlinux, vs Terminal, vs Terminal emulator like Xterm, vs Terminal multiplexer like tmux, vs Window manager like ...
user avatar
  • 257
18 votes
2 answers
38k views

How can I switch between ttys without using screen?

So let's say you boot up your Linux install all the way to the desktop. You start up a gnome-terminal/konsole/whatever so you have a tty to enter commands to. Now let's say I SSH into that same ...
user avatar
5 votes
1 answer
5k 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 ...
user avatar
  • 31k
266 votes
6 answers
137k views

How to create a new window on the current directory in tmux?

Is is possible to open a new-window with its working directory set to the one I am currently in. I am using zsh, if it matters.
user avatar
  • 3,919
27 votes
3 answers
11k views

Is there a tmux shortcut to go read only?

I've been using screen for years now as a way of ensuring that any remote work is safely kept open in after disconnects/crashes. In fact, as a matter of course, I use screens even when working locally....
user avatar
  • 777
5 votes
3 answers
2k 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 ...
user avatar
  • 19.4k
24 votes
4 answers
16k views

How do I bind the tmux prefix to a Super?

I find even Ctrl+b to be very emacs like but I understand the point. I'm wondering if I could bind it to a single keypress of a key I don't other wise use? namely Super_L (also known as the left ...
user avatar
204 votes
10 answers
76k views

tmux vs. GNU Screen [closed]

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.
user avatar