Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [terminal-emulator]

The tag has no usage guidance.

4
votes
2answers
8k views

Terminal vs Terminal emulator [duplicate]

I am trying to clarify my understanding of terminal here. Terminal is actually a device (keyboard+monitor). When in CLI mode, the input from your keyboard goes directly to shell and also displayed on ...
4
votes
2answers
69 views

Echoed escape sequences doesn't interpreted in Linux tty

Prerequisites The Linux virtual terminal (tty) is an emulation of VT102 - Virtual terminal subsystem source. The real VT100 (nearly the same as VT102) has the following behavior (I suppose): In the ...
0
votes
1answer
42 views

Can I make characters uncopyable in a terminal emulator?

I run fish (in gnome-terminal) with a custom style that gives me information about the current Git repository: That's all very fine, but when I want to copy-paste some command with its output like so:...
0
votes
1answer
48 views

What can I do to fix occasional lagging of terminal emulator?

My terminal emulators are lagging occasionally. It's not heavy a lag. May be once in 20-30 mins( I think). The terminal becomes unresponsive and all the characters I typed during lag appears suddenly. ...
5
votes
1answer
426 views

How important is it that $TERM is correct?

I recently switched from rxvt-unicode to st. This means I went from $TERM=rxvt-unicode-256color to $TERM=st-256color. I'm happy with the switch and want to continue to use st. However, I've noticed ...
1
vote
0answers
52 views

Is there a Linux terminal emulator with equivalent functionality to iTerm2 triggers?

iTerm2 has this really useful feature called triggers. It means I can set up regex's for anything on the terminal that I want to change the formattting of. For example, I can set the string Error to ...
-1
votes
0answers
16 views

Terminal extension to open links from output using keyboard only

Background I remember watching a video a while back where the user ran some command that produced, among other things, some hyperlinks in the output. Now, my terminal handles this quite well in that ...
3
votes
3answers
869 views

shell command `tmux` throws `can't use /dev/tty` error

I just switched from using terminator to termite today. I also Installed Fish and oh my fish, Spent a couple hours configuring everything, but when I went to start a tmux session to get some work ...
26
votes
3answers
17k views

What is making my cursor 'randomly' disappear when using gnome-teminal?

It happens often that my cursor on gnome-terminal disappears, forcing me to work on a new tab/window. It seems like a random occurrence. Does anyone else experience this? What about other X terminal ...
1
vote
2answers
117 views

How to key bind 'backward-kill-line' to Ctrl+Shift+Backspace?

I have used answer of zsh kill Ctrl + Backspace, Ctrl + Delete to configure following key binding: Ctrl+Backspace: delete until the beginning of current word, Ctrl+Delete: delete until the end of ...
-1
votes
1answer
47 views

Recommended mutli-tab terminal

I'm using Ubuntu 18 default setup with GNOME Terminal. I can do New Tab, but I'm not finding a way to name/title an existing tab: there is no Set Title option in the Terminal menu, and I can't find a ...
2
votes
2answers
2k views

automatically copy the selected content to clipboard

In one of my friend's system I have seen a very interesting feature. Whenever he selects a text/command from the terminal, the selected portion of text gets copied to clipboard automatically (without ...
0
votes
2answers
93 views

WSL: Keeping ssh private key accessible as long as I don't restart Windows 10 (like the behaviour of pageant)

So far on Windows 10 I used mainly the PuTTy bundle (PuTTygen, Pageant and PuTTy, etc) to SSH into remote Linux machines. I use Pageant as a private key holder to hold to private key (and possible ...
3
votes
0answers
82 views

XFCE - Blank text in terminal

I've just performed a fresh install of Arch Linux on my laptop (ThinkPad A485, though that's probably not relevant here), and installed XFCE4. Everything seems to be working with the exception of one ...
1
vote
1answer
277 views

Is there any way to let urxvt support sixel?

Recently there is a popular github repo called lsix, and it's using sixel graphics to display images inside a terminal. Currently I am using rxvt-unicode as my terminal emulator, but it seems not to ...
1
vote
0answers
61 views

Can I display terminal output on the website? [closed]

I wanted to ask you if there is any solution for connecting my terminal with website. I mean... I want to see the output on the website. I tried to find some solutions on the internet and found xterm....
-1
votes
1answer
43 views

Why can I use mouse wheel to scroll man page in xfce4-terminal?

man itself shouldn't know anything about mouse wheel, and the scroll bar of the xfce4-terminal window doesn't change, so... Did xfce4-terminal send something to the pty master fd when the window ...
1
vote
2answers
4k views

Use a different shell by default in each terminal emulator

I would like to change the default shell in each terminal emulator separately. To clarify, I want xterm to use tcsh, pterm to use pysh, gnome-terminal to use bash, etc. Is this possible? If so, how ...
2
votes
1answer
1k views

Permission denied even though I own it and permissions are 777

I'm on Android using Termux and copied a file from my sdcard to my Termux home folder. (I use a file explorer app with root permissions for that..) Now having the file in my home dir I checked what my ...
0
votes
1answer
1k views

Terminal emulator for Android that supports viewing images?

I am planning on logging into my unix desktop via an Anroid tablet. Is there a terminal emulator that will allow me to view images, such as making plots in ipython, via X11 protocol?
1
vote
3answers
130 views

Why does closing terminal emulator window terminate a bash process with SIGHUP trap changed not to terminate?

In a bash shell in a terminal emulator window of lxterminal, I run $ trap "echo hello" SIGHUP $ kill -s HUP $$ hello $ and then I close the terminal emulator window. Does closing the terminal ...
0
votes
1answer
292 views

How to copy/paste text using the mouse from one tmux instance in one terminal emulator to another tmux instance in a different terminal emulator?

How can I copy some text using the mouse, between two terminal emulator instances, each running its own instance of tmux? I've read this: How to copy and paste with a mouse with tmux And various ...
0
votes
1answer
155 views

Keyboard shortcut for renaming tabs in the Terminator terminal emulator?

In the 'Terminator' terminal emulator I can rename windows using: Alt+t Does anyone know of a keyboard short (or how to create one) for renaming tabs: ?
1
vote
1answer
564 views

What type of terminal to support if implementing a terminal emulator? [closed]

I have heard that VT100 is the de facto standard. Does it mean if I can just support VT100 and then my terminal can work for existing commandline applications without big problems? If not, how to make ...
43
votes
8answers
86k views

How can I hook on to one terminal's output from another terminal?

I need to hook onto output of currently running terminal (tty1) from virtual terminal and capture it (running X server).
56
votes
4answers
29k views

Use Mosh without giving up local scrollback / history?

Is there a way to use mosh without giving up the local scrollback? Basically, in some circumstances, IP-roaming is indeed useful and needed, but the extra terminal emulation and key prediction seems ...
0
votes
1answer
253 views

Linux how to get window title with just shell script?

I cannot install any tools like screen or xproc on the box. I dont need to modify the title, I only need to find the window title name. echo -e "\033]0;[title]\07"; modifies the title I know. But I ...
11
votes
4answers
45k views

Copy & paste in a terminal without SHIFT

In all terminal emulators that I know of, Ctrl is used for sending control codes such as Ctrl+C and Ctrl+Z. On most systems this conflicts with common keyboard shortcuts. Thus on all those systems ...
0
votes
0answers
35 views

How to enable process completion notification in yakuake?

I want to make it so that every time a process is complete (e.g. when apt update is complete) a notification would notify me. I don't want to have to add a command after every commands. The default ...
1
vote
1answer
59 views

Why is my terminal emulator process is using d-bus?

$ sudo lsof +E -a -U -p 1480 lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file ...
-2
votes
1answer
71 views

Is a terminal emulator process a server? [duplicate]

Is a temrinal emulator process a server? If yes, what is its client(s)? How can I find out its client(s)? Thanks. netstat output contains lxterminal processes. Does that mean that a terminal ...
1
vote
1answer
55 views

When closing a terminal emulator window, is the last file descriptor of a slave side or master side closed?

The Linux Programming Interface says SIGHUP is sent to the controlling process of a terminal When a terminal window is closed on a workstation. This occurs because the last open file descriptor ...
0
votes
0answers
27 views

Tabbed terminal emulator that has “Save state” functionality

Is there a terminal emulator that will have tabs and once closed and reopened (maybe with some identifier specified on the command line interface) will: open the same amount of tabs name each tab ...
1
vote
1answer
56 views

`less` open editor without immediately triggering a redraw in the terminal

I'm trying to switch to a workflow of mainly using less when I just want to read code and then using v to switch into an editor when I want to edit the document. This is GNU less on OS X, but I think ...
1
vote
2answers
95 views

What is the server-client relationship between a terminal emulator, a window manager and a X server processes?

In APUE (see the figure below), how do a terminal emulator process and a window manager (e.g. openbox) process communicate? Is a temrinal emulator process a client of a window manager process, based ...
0
votes
0answers
82 views

Why do `xwininfo` and `xdotool` give me different window ids?

In a tab of a terminal emulator (lxterminal), I try to find out its window id by clicking in the tab and the process which "owns" the window (I am still not sure what is the word to describe the ...
3
votes
2answers
3k views

How to disable mouse support in terminal?

I'm asking this question while using xfce4-terminal, but I'm interested in a general solution: is there a way to stop a terminal emulator announcing mouse support in consoles? I need mouse-select and ...
1
vote
2answers
126 views

How do I detect whether my terminal has focus in the GUI from a shell script?

Problem/Goal description Ideally, I would like a good way of detecting from a shell script whether or not the window has focus. By a "good" way, I mean some way which requires minimal steps and ...
3
votes
1answer
121 views

Is a virtual console running as a process and implemented based on pseudoterminal?

Linux has 7 virtual consoles, which correspond to 7 device files /dev/tty[n]. Is a virtual console running as a process, just like a terminal emulator? (I am not sure. It seems a virtual console is ...
0
votes
1answer
307 views

What is /dev/vcs* on Linux?

man vcs(4) is Greek to me. I'm running Lubuntu 18.04 with the LXDE graphical user interface. When searching for an answer to my other question, Where is terminal output stored?, I found that /dev/...
0
votes
1answer
122 views

Where is terminal output stored?

I open lxterminal, which shows up in ps output as x-terminal-emulator. I then enter a command which prints it's output to STDOUT, which is visible on my screen. The command finishes, and I am shown ...
-2
votes
1answer
104 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 ...
1
vote
3answers
105 views

Does a terminal emulator execute a program always indirectly via shell?

Does a terminal emulator execute a program always indirectly via shell? For example, when we open a terminal emulator window, it automatically executes a shell, and we can only type commands in the ...
21
votes
1answer
12k views

Do any open source Linux terminals and fonts support ligatures?

The PragmataPro Font has some really killer examples where they render == as a single character and clean up a lot of other stuff. Would any Linux terminals support this? And are there any ...
3
votes
0answers
441 views

Urxvt: how to increase the amount of lines I can scroll back?

In other terminal emulators you can usually control the amounts of lines you can scroll back, but it seems it's a fixed amount in Urxvt. I thought the "saveLines" option controlled that but I tried ...
2
votes
1answer
2k views

How to open and work with terminals using bash script?

I need to open four terminals each will then connect to four different remote pcs and open specific directory locations on those pcs. Each terminal will be opened in different locations on my pc's ...
5
votes
2answers
167 views

Process killed before being launched in background

I'm using a bash script script.sh containing a command cmd, launched in background: #!/bin/bash … cmd & … If I open a terminal emulator and run script.sh, cmd is properly executed in background, ...
1
vote
1answer
245 views

Log Console Output [duplicate]

Is there a way to not only protocol/log the console inputs (like the history), but also the console output by default (without the constant usage of pipes)?
0
votes
1answer
78 views

How to start tmux upon running terminal?

I'm using xfce, and want to create a shortcut Super + t for starting up terminal with tmux. What command should I put it to execute upon shortcut? I tried st tmux attach , however it fails when there ...
3
votes
1answer
1k views

Bind C-i and TAB keys to different commands in terminal applications via .inputrc

For what I have tried, TAB and C-i in .inputrc seems to mean the same thing, whatever I bind to one is bound to the other. I know that originally, it was the same thing and that this behavior is kind ...