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,422 questions
0
votes
0
answers
15
views
Why wasn't this `ls` bug ever fixed?
I was reading the info file on my 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, ...
0
votes
1
answer
29
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-...
5
votes
1
answer
651
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
392
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
157
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
27
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
164
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
144
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
97
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
79
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
72
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
69
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
49
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] ...
0
votes
0
answers
17
views
Change of behavior mutt when saving sent letters to the server
How do hooks work? Is it possible to use them to change the saved copy of the letter on the mail server (for example, to delete attachments)? For example, to use account-hook and replace the sent ...
5
votes
7
answers
992
views
Why is the output of Device Status Report sent to the standard input instead of output?
On Wikipedia it is explained that "Device Status Report" is an ANSI control sequence that "[r]eports the cursor position (CPR) by transmitting ESC[n;mR, where n is the row and m is the ...