Questions tagged [terminal]
A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, also referred to as a "system console".
4,947
questions
2
votes
0
answers
92
views
Why is `~/.zlogout` not sourced when non-interactive ZSH shell runs `exit`?
My ~/.zlogout contains the following:
echo '~/.zlogout!'
Let's run the following script:
su user -ls /bin/zsh -c 'echo kaasbier; exit'
Nothing is echoed (besides the kaasbier). I am testing this in ...
1
vote
1
answer
59
views
Install Builder - Linux - Prevent confirmation message in Terminal
I created an installer using Install Builder.
When installing from Terminal on Debian it shows this message,
Welcome to the Application Setup Wizard.
--------------------------------------------------...
1
vote
1
answer
38
views
terminal automatically shows user@dhcp instead of user@fedora
my system (fedora 40) automatically shows user@dhcpf196 instead of the usual user@fedora in the terminal whenever I connect to the internet. I think this is my university dhcp server but the machine I'...
0
votes
0
answers
34
views
Unknown terminal: "/tmpERM"
On my Linux headless distro, i have a recurring error where when running some commands ("clear", "nvim", etc.), instead of the expected behaviour of running the command i get an ...
0
votes
3
answers
209
views
How do I jump to the beginning of a command in Windows Terminal?
In Linux, I can skip to the beginning of a command by pressing Ctrl-A , and Ctrl-E for jumping to the end of that. However, it is not compatible with Windows Termianl. How am I going to do that? ...
0
votes
0
answers
77
views
vim "rendering" issue, possible terminal issue?
Recently I've started having a strange issue with the "rendering" of Vim. I say rendering because it only seems to affect what's show on the screen and not the output to the actual file.
I'm ...
0
votes
0
answers
30
views
Is there any way to create a new window terminal (pseudo-terminal) using a command without setting env $DISPLAY?
I am currently building an open-source utility (plugin), which requires a new terminal window (pseudo-terminal) to become more effective whenever it gets executed.
I was using gnome-terminal to ...
2
votes
1
answer
113
views
tmux doesn't instantly update pane's title
I'd like to have tmux "instantly" update the pane's title to match what is currently being executed in the terminal. For an instance:
If the pane contains the shell then its title should be ...
0
votes
0
answers
47
views
Flushing output on interrupt on the Linux cmdline
On a local terminal, the stty -noflsh option allows to discard buffered
output on Ctrl-C and thus prevents from long scrolling delays if one did
accidentally output large amounts of text to the ...
0
votes
1
answer
154
views
Shell prompt colored outside of tmux, but not in tmux; how can I get colored prompt in tmux?
I am a new user of tmux and wondering how I can highlight machine name and working directory? What I mean is below.
In default Ubuntu terminal:
While in tmux:
I know this is a minor, but having ...
0
votes
1
answer
175
views
Terminal in on a MacBook Pro (M2) is not working after setting a path. How can I fix it?
I tried to set Python path in .zshrc and save it. But after saving it, the terminal is not working anymore.
For all commands giving command not found and every time, I can see the path file in the ...
0
votes
0
answers
42
views
How to match PDF okular colors with Terminal colors?
OS: Kubuntu 22.04.4 LTS x86_64
okular 21.12.3
konsole 21.12.3
to display above:
neofetch --stdout |grep 'OS:'
okular -version
konsole -version
outputs:
ok match color Blue in Terminal with ...
1
vote
1
answer
251
views
TO close Tmux along with terminal (if terminal is closed)
I have configured my Tmux to open with i open terminal by modifying the .zshrc file.
[[ -z "$TMUX" ]] && tmux -u
It worked fine, now I want to close the tmux session when I close ...
0
votes
0
answers
95
views
no colors in vi (vim(1)) when ssh from Windows to Linux. How to fix?
Windows Terminal 1.19.10573.0
When I ssh from Windows into a linux machine, I got colored output on the shell just fine. Directories and files are colored when using ls(1). Same with grep(1); results ...
0
votes
0
answers
59
views
Failure to use `/dev/pty` for one outside msys2 `bash` when calling it in `vim` installed inherently by git-bash
Env: Windows 11 pro.
I want to call msys2 bash in git-bash's vim where both shares the same version of vim and bash (although this context seems to be weird).
I asked one origin question in Vi/Vim SE ...