Questions tagged [terminal]
A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).
4,424 questions
1 vote
1 answer
45 views
How to test that my terminal can report progress with OSC 9;4; sequences?
OSC (“Operating System Commands” according to ConEmu) 9;4;x;y sequences are codes that inform the terminal of the progress of any task. Each software has to implement this support to report the ...
0 votes
1 answer
39 views
How to jump out of the terminal on Chrome-os with just the keyboard?
Normally to leave the terminal we can do AltTab, but what about the case where the browser etc. isn't running, so there's no other window to jump to? Well, if you didn't start the terminal in the ...
6 votes
2 answers
2k views
Why wasn't this `ls` bug about file sizes on NFS mounts from HP-UX systems ever fixed?
I was reading the info file on my GNU/Linux system for the ls command, when I encountered the following under the -s/--size option: For files that are NFS-mounted from an HP-UX system to a BSD system,...
1 vote
1 answer
86 views
How do I re-enable the USB keyboard after changing the layout/language in GRUB?
I changed the keyboard layout in GRUB on a laptop to German/QWERTZ using the instructions from these posts. How to change grub command-line (grub shell) keyboard layout? Create de layout: grub-...
6 votes
1 answer
684 views
Fool a program it has a pty of specific size
I use nethack with ttyrec to archive my funny deaths. My only issue is that nethack uses as much screen space as possible to print log massages. I would like to limit it to only work with 80x24 ...
3 votes
6 answers
433 views
How can I use sed to chain append lines from a text file, add it as a suffix to the text on the same lines numbers on another file, and so on?
I've tried using sed for this. I've tried putting the lines of interest in variables as well. I have two examples I want to achieve for now. Lets say I have thousands of urls in a file called links....
1 vote
2 answers
172 views
How changing the terminal letters color and its whole background at the same time, using separate RGB or color codes?
It's often that when I am in a subject involving many processes of two or three kinds, I'm noticing that: one terminal I've opened is dedicated for my subject of kind #1, while another is opened to ...
0 votes
1 answer
47 views
Prevent terminal from giving information about its background, so that Vim always sets bg=light (default)
I use Rxvt-Unicode and set background to black in .Xdefaults. Vim detects that, cf. help 'background' : "dark" is used when 'term' is "linux", "screen.linux", "...
0 votes
2 answers
183 views
Ghostty terminal showing "illegal hardware instruction (core dumped)" on Kali Linux
I've been using Ghostty as my daily terminal because I really love its minimal design. However, from the last few weeks it stopped running and shows this error: zsh: illegal hardware instruction (core ...
1 vote
1 answer
166 views
How to have backspace working on SSH connection console?
When opening an SSH console on an already established connection (e.g. LF ~ C), I get ^H instead of backspace regardless of terminal and setup (that I've tried). It is really bad as any mistake ...
-3 votes
1 answer
113 views
Touch pad: can’t enter CTRL + D to exit cat [closed]
iSH on the Apple iPad is a lifeline between my tablet and my Linux workstation. It’s terrific for testing Bash scripting ideas. But several times now I trapped myself in cat because I can’t enter CTL+...
2 votes
1 answer
96 views
socat filter and replace character for modbus ascii
The goal is to get modbus ascii working with a Wallbox from ABL. So I placed a RS485 to TCP converter in the box, created a pseudo tty for my application and got the wrong frame. The answer starts ...
0 votes
0 answers
81 views
How does `/dev/tty` work as a "synonym"? [duplicate]
Context To restore the standard input, standard output and/or standard error (file descriptors 0, 1 and/or 2 respectively) of a process to the keyboard and/or display of an interactive shell (bash) ...
0 votes
0 answers
76 views
How to preset slime target to vim terminal by default?
When I use vim-slime, every time I open a vimterminal I have to reconfigure it. :let g:slime_target="vimterminal" Followed by: SlimeConfig And then I choose the terminal I just opened as ...
0 votes
0 answers
57 views
phosh gives me an error and phoc opens up empty black screen or few apps which I try to open hence onwards
As far as I know pho stands for phone I think,- When I run phosh I getting following error :~$ phosh (phoc:9139): phoc-wlroots-CRITICAL **: 16:28:35.127: [libseat] [libseat/backend/logind.c:131] ...