Questions tagged [terminal-emulator]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Why terminal display in Win10Terminal is treated differently? [telnet to a remote Linux] vs [run WSL2 natively] [migrated]

I'm very baffled with a such a question. I believe it relates to those esoteric "Terminal" working details, so I hope I can get concrete technical answer here. I have two lab machines: An ...
Jimm Chen's user avatar
  • 113
-1 votes
1 answer
117 views

How to Add Space or Padding to Terminal Output?

I don't really know what would be responsible for this. I would bet on my terminal emulator itself (mine is Kitty), but it might be a Zsh (or Oh My Zsh) or Powerlevel10k responsibility. Anyways, what ...
Philippe Fanaro's user avatar
-1 votes
1 answer
90 views

How does a terminal produce accurate colors?

Background I am using terminals in various settings. Often the color output of programs is not correctly rendered on the screen. The internet is full of recipes for fixing the colors for specific ...
sjdh's user avatar
  • 231
1 vote
0 answers
47 views

Coloring man pages doesn't work anymore? [duplicate]

I've had this for more than 3 years in my bashrc: man() { LESS_TERMCAP_md=$'\e[01;31m' \ LESS_TERMCAP_me=$'\e[0m' \ LESS_TERMCAP_se=$'\e[0m' \ LESS_TERMCAP_so=$'\e[01;44;33m' \ ...
Enlico's user avatar
  • 1,493
0 votes
1 answer
95 views

Are there any terminal emulators that support enhancing the stdout output with interactive UI widgets?

I think it would be great if we have a more interactive terminal which could speedup some actions by adding the interactiveness to the output of the programs, by converting the elements of the text to ...
Volodymyr Buell's user avatar
0 votes
0 answers
105 views

Problems with my TTYs key bindings in Fedora 38

I am trying to configure my .inputrc file as I always did for key bindings (bash and Fedora 38). It works perfectly for urxvt/xterm, but my TTY's (virtual consoles) do not take into account modifiers. ...
Luis A. Florit's user avatar
7 votes
1 answer
2k views

How should I interpret the fact that a Unicode code point is shown in two completely different ways in two different terminal emulators?

This is kind of a spin off from an older question I asked. Here's the screenshot from that question: In the bottom left is URxvt, and you can see a lighting bolt-like icon at the beginning of the ...
Enlico's user avatar
  • 1,493
1 vote
2 answers
140 views

Issue with weird visible right and bottom Borders inside Terminal programs

For quite some time I'm "struggling" with the problem I wish to present in pictures down below. The problem is that I have weird borders around programs I open in the Terminal Emulator. ...
Noa's user avatar
  • 19
2 votes
0 answers
72 views

Terminal with advanced copy paste capabilites

Kitty terminal has a feature where one can run a python script that captures text via regex and allows copying directly to clipboard (see https://sw.kovidgoyal.net/kitty/kittens/hints/) The matches ...
Miguel Ping's user avatar
1 vote
0 answers
103 views

Terminus (or any other bitmap font) blurry on HiDPI

I'm using an UHD screen and have everything set to be 2x scaled (Cinnamon DE, Arch Linux). I would like to use a bitmap font that is not anti-aliased, i. e. pixelated, for my terminal emulator (gnome-...
Lyxodius's user avatar
  • 111
1 vote
1 answer
277 views

Which terminal emulators for Linux support VT320 / VT420 soft character sets?

It' s about the Dynamically Redefined Character Set (DRCS) feature supported by the Digital VT320 terminal (and later models). Do any of the well-known terminal emulators like xterm, Konsole, or gnome-...
Neppomuk's user avatar
  • 316
1 vote
1 answer
347 views

Change Default Directory in Gnome Bash Terminal

I use the bash terminal on Ubuntu Ubuntu 20.04.5 LTS, with the GNOME terminal emulator. When using the terminal, this is the current (default) behavior: When I open a new terminal session, it starts ...
Jonathan Scholbach's user avatar
-1 votes
1 answer
64 views

Looking for GUI layer on top of terminal emulator

Does it exist, a GUI that enhances the command line interface? I see myself constantly doing the same thing like typing out paths, executing the same commands, making the same typos, having to look up ...
bart's user avatar
  • 99
0 votes
1 answer
709 views

st (Simple Terminal) doesn't show up when selecting alternative x-terminal-emulator

Apologies for the absolutely terrible title, I had no idea how to phrase it. So, when I run the command sudo update-alternatives --config x-terminal-emulator in an attempt to change my default ...
AdamFra's user avatar
0 votes
0 answers
156 views

Stuck w/ xterm on Xfce

I want to run a terminal application and created a desktop entry in /usr/share/applications. For some reason, Terminal=true in the entry fires up xterm even though: TERM=x-terminal-emulator exo-...
jaam's user avatar
  • 226
1 vote
4 answers
135 views

Sed delete everything before and after characters

I'm running on android this Command: dumpsys activity activities | grep mFocusedApp Output: mFocusedApp=ActivityRecord{273535b u0 com.any.some/.app.AnyActivity t5595} Expected: com.any.some I need ...
Name F's user avatar
  • 5
2 votes
1 answer
414 views

Why does TERM variable not reflect True Color support in terminal emulators

So using the st terminal emulator the TERM variable is set to st-256color, even tput colors gives me 256. But from multiple sources and the tests I have run, it seems like ST does support TRUECOLOR. ...
Vikash Balasubramanian's user avatar
1 vote
0 answers
294 views

How to make Windows right-click - Paste work in Linux vim?

When using MobaXTerm on Windows, I ssh into a Linux server, start vim and I can right-click into the terminal window and can choose Paste and it pastes text from the Windows clipboard. When I use git ...
Gergely's user avatar
  • 804
1 vote
1 answer
358 views

Does ssh give access to the virtual console, to a terminal emulator, or what? [duplicate]

As far as I've understood, a terminal emulator is a GUI-based program which gives me a terminal-like viewport and allows me to interact with it just like I'd do with a terminal, except that it has all ...
Enlico's user avatar
  • 1,493
0 votes
0 answers
16 views

less: do not display "filename (END)" at the end of page [duplicate]

I need less to display a file without any additional formatting characters. I found the --tilde option, which got rid of the ~ characters. Now I only need to get rid of the: (END) or <filename> ...
Martin Vegter's user avatar
0 votes
1 answer
311 views

Given Size in Terminal Row and Column units, how to calculate equivalent number pixels

I have a program which makes available 2 shell variables $width and $height, which are the desired width and desired height in "rows" and "columns" of an output (in this case a ...
Guilty's user avatar
  • 133
1 vote
1 answer
509 views

Change color of title bar in Konsole terminal emulator

I'm using Konsole terminal emulator in Debian bullseye. And with the default color setting, I think the active tab is not distinguishable, so, I want to change the color of active tab to other color ...
Hardguy's user avatar
  • 49
1 vote
1 answer
8k views

Arch, Gnome - how to change the default terminal?

I want to change my default terminal emulator, that is, the terminal that opens when I Right Click -> Open in terminal So far, I've tried: sudo update-alternatives --config x-terminal-emulator ...
aurelia's user avatar
  • 121
2 votes
2 answers
3k views

Kitty terminal: I don't have any colors on PS1 bash prompt

Unlike other terminal emulators with kitty terminals I have no colors on bash prompt. I am using ubuntu, my PS1 is \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ What have I to setup ...
res1's user avatar
  • 258
3 votes
1 answer
338 views

Two Enter Keys are behaving Differently

I am using the alacritty terminal emulator under Zorin 16. My two enter keys are giving different output. % showkey -a Press any keys - Ctrl-D will terminate this program ^M 13 0015 0x0d ^J 10 ...
Ahmad Ismail's user avatar
  • 2,560
0 votes
0 answers
613 views

Weird issue occurs when using the Alacritty terminal emulator

I have tried asking this on Alacritty's GitHub issues tab and just got this: This is an issue with your system, likely related to _TERM_ or your _PS1_. The issue is as follows: SOMETIMES, when a ...
Finxx's user avatar
  • 3
0 votes
2 answers
260 views

Is there a terminal emulator like powershell or Windows Terminal, for Linux?

Say what you will about Windows, but there are a couple of features of powershell that I found immensely helpful: Suggestions for autocompletion: If I type cd my then hit CTRL+SPACE, not only do I ...
birgersp's user avatar
  • 261
1 vote
0 answers
188 views

set custom wrap column

OS: SLES12, terminal emulator: mate 1.22.1, shell: tcsh $TERM: xterm-256color I want to set the line wrapping in the terminal so that any text that appears on the terminal (stdout or otherwise) wraps ...
Nimrod Weinberg's user avatar
1 vote
1 answer
104 views

Shell scripts: How to copy past outputs of terminal emulator?

I want to make a shell script which copies the past outputs of the GUI terminal emulator (for example, last 20 lines). The motivation is as following: When I execute a procedure which requires long ...
user356126's user avatar
-2 votes
1 answer
296 views

How does the command created by dircolors work?

dircolors on a dircolors configuration file creates bash commands that, when run, can set up environment variable LS_COLORS. What uses the environment variable? A terminal emulator? If so, why isn't ...
Tim's user avatar
  • 100k
1 vote
1 answer
3k views

limit terminal output buffer size

Is there a way to limit the amount of text that will be buffered by a terminal application, to be output to the display? For example, if I were to call an application that writes 2,000,000 lines to ...
user3544936's user avatar
1 vote
1 answer
302 views

When terminal emulator exits, why does shell also exits?

When I start a terminal emulator (for example, qterminal), it starts the default shell (for example, bash). And when I quit the terminal (for example, by clicking the x button or by killing the ...
user356126's user avatar
-1 votes
2 answers
219 views

terminal-emulator settings controlling the rendering of bold typeface

The effect of bold typeface (ANSI: CSI 1 m) seems to depend on the terminal emulator. For example, running the following script on different terminal emulators #!/bin/sh echo "TERM = $TERM" ...
user001's user avatar
  • 3,628
0 votes
1 answer
135 views

Why does xterm-termite print "5~" when I press Ctrl-PageUp?

When I press Ctrl-PageUp while using xterm-termite the characters "5~" appear on the screen. Why is this? When I press the same keys on the linux console it goes backwards in the command ...
Tyler Durden's user avatar
  • 5,511
2 votes
1 answer
116 views

Do programs that create pseudoterminals emulate terminals?

The way I understand it, applications that create a pty (a master/slave pair) can be separated into 2 categories: terminal emulators (xterm, urxvt, ...), which supposedly produce graphical output the ...
x-yuri's user avatar
  • 3,273
2 votes
0 answers
95 views

Prevent the line `load:... cmd:... running ...` upon SIGINFO

Issuing SIGINFO (e.g. by pressing ^T) while a terminal process is running usually results in a printout of a line load: 2.93 cmd: sleep 7826 waiting 0.00u 0.00s If I have written the tool that's ...
Bubaya's user avatar
  • 121
2 votes
2 answers
1k views

Special handling of Ctrl-J

When I press Ctrl-V Ctrl-J in a shell (under urxvt), it starts a new line (positions the cursor at the beginning of a new line), instead of printing ^J. In vim it prints ^@. The same situation is in ...
x-yuri's user avatar
  • 3,273
0 votes
0 answers
66 views

How to blacklist KDE terminal in guake?

I am running guake on Debian testing - $guake --version Guake Terminal: 3.8.1 VTE: 0.66.2 VTE runtime: 0.66.2 Gtk: 3.24.30 Fortunately or unfortunately KDE terminal seems to come in my guake ...
shirish's user avatar
  • 12.2k
3 votes
3 answers
2k views

How can I find out what the escape codes my terminal are sending for certain special ones that cat will not show?

I wanted to find out what my terminal is sending for Ctrl+Backspace and Alt+Backspace, the standard way to do this is to run cat on the terminal and typing stuff usually works, but with certain output ...
Steven Lu's user avatar
  • 2,222
2 votes
2 answers
3k views

Save all terminal output to a file, after the fact

This: Save all the terminal output to a file Except after the fact. Meaning that instead of preparing to record or pipe all output to a file, I am dealing with output that has already taken place, and ...
Jannies - They do it for free's user avatar
2 votes
1 answer
180 views

lesskey: add alt+right keybinding to less

I used cat -vte to see what escape codes my terminal emulator sends when I press alt+right: ❯ cat -vte ^[[1;3C Then I added this escape code to my lesskey file ~/.less: \e[1;3C forw-scroll Finally ...
HappyFace's user avatar
  • 1,523
-1 votes
1 answer
462 views

Terminal emulator that looks like TTY?

Is there a graphical terminal emulator that looks like the tty screen just before the login? I pretty much like the way the tty looks: the font, the high-contrast colors, and the small padding between ...
user avatar
3 votes
1 answer
122 views

Historical reason for function keys having non-consecutive key sequences in xterm

I'm using gnome-terminal as my terminal emulator, which sets TERM=xterm-256color. The key sequences sent when pressing the function keys F1, F2, … are as printed by $ infocmp -L1 | grep _f | sort -V ...
Socowi's user avatar
  • 615
0 votes
1 answer
848 views

Can you run a terminal emulator under a tty?

I would like to know if you can run a terminal emulator under a tty since I just started the program alacritty. If there is a way, no matter how hard it would seem, I would like to try it, a tty is so ...
Comedy's user avatar
  • 1
0 votes
0 answers
179 views

how to parse output ANSI code from script file (scriptreplay)

I'm trying to understand how script log file works So I can implement it in jQuery Terminal to play script files. I've found this JavaScript library. Didn't test it only looked at the code that is ...
jcubic's user avatar
  • 9,742
0 votes
1 answer
5k views

How to remove root@localhost: from termux Command line?

root@localhost:~# username@localhost:~$ There is something like this on the command line when you install Linux distros on Termux. How can it be removed? or atleast reduced to: # $ How to remove ...
user488982's user avatar
1 vote
1 answer
358 views

Is there a way to set changing terminal emulator background images?

Is there a way I can set it up so that my terminal emulator changes its background image every set time interval? Basically something like the accompanying image but for terminal background image (...
オパラ's user avatar
  • 145
0 votes
1 answer
511 views

Can't write tildes on konsole and certain console emulators

So im completely bewildered on this problem, initially two years ago i remember being able to use tildes(~) easily on terminal emulators, but for some reason it suddenly stopped working for this and ...
Imeguras's user avatar
  • 133
1 vote
1 answer
738 views

Why do terminal emulators still need to emulate specific, old terminals?

I more or less understand the distinction between what is called a "terminal" and a "terminal emulator". The former referring to an actual hardware peripheral connected to ...
Thomas.M's user avatar
0 votes
0 answers
51 views

How to NOT show the tags?

wadewayne@Cheetah:~$ man sdcv wadewayne@Cheetah:~$ sdcv GNU Found 28 items, similar to GNU. -->McGraw-Hill Dictionary of Science and Technology -->gnu <BR><BR><b>VERTEBRATE ...
Wade Wayne's user avatar

1
2 3 4 5 6