Questions tagged [xterm]
xterm is the standard terminal emulator for the X Window System.
417
questions
1
vote
1
answer
166
views
How can I get colored output of `systemd` commands run with `watch` inside xterm?
Somehow I'm unable to get this working with color output, it works but no colors are shown.
I'm currently using these alias'es in my bash shell:
alias Xterm='xterm -geometry 132x60 +dc +cm -e '
alias ...
1
vote
1
answer
71
views
Mouse scroll events in the terminal
I am trying to catch mouse scroll events in the terminal for my text editor. I have a couple questions.
Firstly, how can alternate scroll mode be enabled? Am I interpreting it correctly that when the ...
0
votes
0
answers
61
views
xterm "No protocol specified Xt error: Can't open display"
I'm running a small Java utility on Debian 10, let's call it startup_util. It recently stopped working - I'm trying to work out why, and how to fix it.
All startup_util does is automate non-...
2
votes
2
answers
54
views
Unicode Supplementary Multilingual Plane (Plane 1) glyphs in xterm
I'm trying to display Unicode Supplementary Multilingual Plane (Plane 1) glyphs in xterm. Those glyphs are in the U+010000..U+01FFFF range (https://unifoundry.com/pub/unifont/unifont-15.0.01/...
0
votes
1
answer
171
views
How am I supposed to configure xterm?
I am trying to configure XTerm terminal and in the Wiki, it says it is done via X resources. I installed xorg-xrdb package then created a ~/.Xresources file and edited and added these lines:
XTerm....
0
votes
1
answer
102
views
Change the font family with a shortcut in XTerm
I'm trying to change the font family on the fly (with a shortcut) in XTerm. At the moment I can change the font size. I tried to do this with the action set-render-font(), but I'm not sure if it's the ...
1
vote
2
answers
87
views
Change the font used by XTerm for its menus
Here I am, using a 185 dpi display, and the font of XTerm menus¹ borders the unreadable small.
Investigating XTerm's XResources, I found a promising name but
$ xrdb -merge
XTerm*SimpleMenu*menuLabel....
0
votes
1
answer
331
views
Start Xterm + run command + keep open and interactive
I'm autostarting (from i3wm) an xterm and running a simple command
exec xterm -hold -e "echo hello"
how do I keep the xterm interactive?
relevant posts:
https://askubuntu.com/questions/...
0
votes
0
answers
125
views
Configure Delete key to delete forward chars in Xterm
When using Xterm alone, I can use Delete and Backspace/ ^H as usual. But I'm using Xterm, invoked by a different program for its terminal, then Delete doesn't work. Delete just outputs ~. Neither does ...
1
vote
2
answers
122
views
Mouse-click stopped positioning cursor in shell (readline) in XTerm after upgrade from Fedora 18 to 36
I am using the following control sequence to set up that when I click in the command line in shell (BASH) in XTerm the cursor moves to the position. At least, it used to worked that way in my ancient ...
0
votes
0
answers
57
views
unable to adjust xterm pointer color
No matter what I set for pointerColor or pointerColorBackground, it remains black foreground and white background when hovering over xterm. I am using AWS Linux Workspace. All other settings are ...
0
votes
2
answers
217
views
write an ascii extended code to xterm
I can copy and paste text with extended codes into xterm (really xfce4-terminal), and they show up just fine. Piping extended characters to a hex editor shows them just fine for example: " ...
0
votes
2
answers
60
views
Make XTerm font bigger with no access to .bash_profile
I have a script.sh that runs xterm, I do not have write access to script.sh , .bash_profile , I cannot change it.
I want to change the font size of xterm, I changed ~/.Xresources as described. No ...
0
votes
0
answers
128
views
slow command output scrolling in xterm + screen
Expected behaviour:
Output of ls /* whizzes by very quick.
Actual Behaviour:
$ time ls /*
...
real 0m21.003s
user 0m0.082s
sys 0m0.095s
It takes 21 seconds for this command to complete. The ...
1
vote
0
answers
97
views
Use altscreen like vim with screen with Ubuntu XTerm
When I exit a screen, I want to be able to return to the terminal looking as I left it. But right now, all I can do is have it clear the screen and put the terminal at the top or the bottom through ...
0
votes
1
answer
33
views
Disable UXTerm has keyboard shortcuts on uppercase letters
I just configured UXTerm in ~/.Xresources. When I wanted to start using UXTerm, I noticed that some keyboard shortcuts are on Shift + , which is a total blocker.
I use Neo2 as my main keyboard layout. ...
0
votes
0
answers
33
views
control-middlemouse no longer brings up xterm menu
For as long as I've used xterm, Ctrl-MiddleMouse has brought up a menu with important items like resetting the scroll buffer.
For some reason Ctrl-MiddleMouse no longer brings up any menu for me. Ctrl-...
0
votes
1
answer
86
views
How to make xterm recognize control-slash?
When I'm using an xterm, the keyboard sequence Ctrl+/ produces Ctrl-_. Here is the result of showkey -a when first hitting Ctrl+Shift+-, then hitting Ctrl+/. I am on a US ANSI keyboard.
[ ~ ] showkey ...
0
votes
0
answers
189
views
Disable cursor blinking on Vi
Even though my terminal emulator (xterm) cursor didn't blink (the cursor blinks on tty), the cursor starts to blink when I opened Vi (both on xterm and tty). Is there are any configurable option ...
1
vote
2
answers
417
views
Xterm cd command not working in launch option
When I launch xterm with the following command:
xterm -e 'cd ~' -hold
A new xterm window pops up saying: xterm: Can't execvp cd ~: No such file or directory
After which the xterm window is still in my ...
1
vote
0
answers
96
views
XTerm: Bitmap font for ASCII, TrueType font for Unicode
I would like to display Chinese characters in the console, with TrueType fonts and normal characters in Bitmap fonts. So far, I have succeeded in displaying:
ASCII TrueType, Unicode TrueType (via ...
0
votes
1
answer
249
views
How to separate Ctrl-i from TAB in WSL?
I am using bash on WSL2 with Ubuntu, and I want Crtl-i and TAB to send different keycodes so I can remap Ctrl-i on emacs while still using TAB for indentation. I tried following the answer in this ...
0
votes
1
answer
727
views
Starting an xterm with 'xterm &' without inheriting the environment of the parent xterm
As I newby, I am facing a challenge with regard to opening a new xterm with the 'xterm' command. The challenge is mostly because of my lack of background knowledge how an xterm is created and not ...
1
vote
0
answers
65
views
Only one xterm window on Kali
I have a Kali virtual machine installed on virtualbox, that I use for some university assignments. One of those assignments required to start a small LAN using xterm, the professor gave us an archive ...
2
votes
0
answers
194
views
Why does OpenBSD consider xterm mouse tracking a security issue?
In the OpenBSD 7.1 release notes:
Security improvements:
Disabled xterm(1) mouse tracking by default.
From the commit:
Disable mouse tracking by default.
This causes extra control sequences to be ...
0
votes
0
answers
72
views
xterm ignores xrdb state unless loaded twice
When I boot up i3, my xterm will be colored and configured as though my Xresources haven't been loaded yet, with default values for everything, but when I query the resource database, all my values ...
1
vote
1
answer
572
views
Why does grep generate "xterm-256color"
I'm working with Ubuntu 16.04.4 LTS. I used Mobaxterm to login remotely.
When I execute grep, something weird happened...
me@mymachine:/data/myserver/log/server$ grep -rnH 23423 ./*log
... # outputs ...
0
votes
1
answer
385
views
Find size of screen in characters (columns and lines)
On geometry the X man page says:
"GEOMETRY SPECIFICATIONS: ... most X programs accept a command line argument of the form -geometry WIDTHxHEIGHT+XOFF+YOFF (where WIDTH, HEIGHT, XOFF, and YOFF ...
2
votes
1
answer
109
views
In .XResources with the VT100 translations resource, what is the difference between <Key> and <KeyPress>
I'm trying to do the classic endeavor of binding key sequences to do copy and paste. In this case, it is xterm and I have my keyboard such that (I believe) I want Super-C to copy and Super-V to paste ...
6
votes
1
answer
2k
views
Failed to start chromium on a X-forwarded ssh connection
When I tried to start chromium, I had error messages :
$ chromium
X11 connection rejected because of wrong authentication.
[10139:10139:0321/173002.675673:ERROR:ozone_platform_x11.cc(234)] Missing X ...
1
vote
2
answers
188
views
What does SP mean in `CSI Ps SP A` xterm escape command?
I am learning ansi escape codes with xterm. And according to this there is the following escape code:
CSI Ps SP A - Shift right Ps columns(s) (default = 1) (SR), ECMA-48.
Could anyone explain what ...
2
votes
1
answer
151
views
xterm*VT100.Translations only when mouse is over the window with focus in FVWM under CYGWIN
xterm*VT100.Translations only when mouse is over the window with focus
Is this a bug or a feature?
For me, it's a serious problem.
(click to focus)
ONLY CYGWIN
In particular, I'm talking about the ...
2
votes
0
answers
108
views
How to start xterm instance which automatically opens nvi in a "complete" environment with ^Z :suspend capability
I am having problems starting a xterm instance that automatically opens nvi in a "complete" environment with job control.
I am referring to xterm specifically here and not a VTE skin or ...
1
vote
2
answers
630
views
How can I get the dimensions of the current font in a terminal?
I am working on an ncurses application that creates some very blocky graphics using alphanum characters. I'd like to be able to detect the dimensions (specifically the aspect ratio) of the font glyphs ...
3
votes
0
answers
2k
views
What are possible values for TERM in a docker container?
The documentation says:
The following environment variables are set for Linux containers:
TERM: xterm if the container is allocated a pseudo-TTY
But apparently it supports 256 colors, or not? So I ...
0
votes
1
answer
863
views
xterm set geometry and then execute script
what I want do to is:
xterm -geometry 93x31+100+350 -e ./script.sh
However, I can't set the geometry and launch a script, only either launch a script or set the geometry of a new window. Is there a ...
2
votes
2
answers
251
views
xterm loss of focus signals vim to exit input mode?
I've been using xterm on a KDE desktop for many years, on one Debian/Ubuntu/Arbian release after another. I use the focus-follows-mouse desktop setting, and ":set mouse=a" in .vimrc. ...
4
votes
1
answer
2k
views
Zsh can't find terminal definitions on Mac
Perhaps it's from updating Brew (I use Homebrew Bash and Zsh on Mac), but Zsh can no longer find xterm definitions.
For instance, in my .zshrc file I have the following:
export TERM=xterm-256color
...
0
votes
0
answers
277
views
xterm is displaying raw escape sequences
I currently have an old Red Hat Enterprise Linux server (release 6.7). From this server I’m able to open an xterm and telnet to an OpenVMS machine. Once connected to OpenVMS I can run LSE (the ...
0
votes
2
answers
263
views
Raspbian running headless doing scripted procedures on a internet page using text browser
I am somewhere between a new and intermediate linux user.
I am setting up a local network for a small group, and I need to configure an automatic sign-in to a webportal when internet connectivity is ...
0
votes
0
answers
177
views
Segmentation fault in vim and vifm
What does this error mean?
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault (core dumped)
Vim: Caught deadly signal SEGV
Vim: Finished.
I get it randomly when I close vifm or vim in ...
0
votes
0
answers
95
views
Terminal Emulator Blinking Words in VIM
I am starting to write LaTeX documents in VIM and here is my code:
\documentclass{article}
\begin{document}
\frac{2x}{2} *
\end{document}
For some reason, the following characters are blinking in ...
3
votes
1
answer
1k
views
Scaling default xterm font to "Large"
In xterm, I would like to increase the default font size to the font5/Font5/"Large" option of the default VTFont. I've managed to do this manually with my mouse via the control menu so far, ...
1
vote
2
answers
244
views
color codes messing up table formatting of printf to xterm
My script-in-progress displays a multi-column colorized table, but the color-codes are interfering with the formatting. The color codes cannot be moved to the format string because the coloring of ...
3
votes
0
answers
95
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
...
1
vote
1
answer
3k
views
how to set xterm to have "Huge font" through .Xresources
This question is related to Unable to configure font in XTerm, however, I have not been able to get it to work.
I want to be able to have the Huge font enabled by default for me when I start xterm.
I ...
0
votes
1
answer
338
views
Which $TERM renders bold text in vim as well as display status line?
I am looking for a $TERM which displays bold text in vim and display airline statusline too. To know what I mean,I have screenshot of two identical files opened by vim but using different terms by ...
1
vote
2
answers
526
views
VT100.Translation key binding in UXTerm
Is it possible to bind CtrlShiftc and CtrlShiftv for copy and pasting to and from clipboard in UXterm in a similar fashion to XTerm, a la
xterm*VT100.Translations: #override \
Shift <KeyPress&...
0
votes
1
answer
629
views
Confused On Colors Xterm Vs Zsh - How to set Xterm without breaking Zsh colors?
I am confused by the color settings for xterm (or uxvt in my case but uses the same) verus the zsh PROMPT colors.
If I change the xterm colors then it changes the zsh prompt colors and I think it ...
1
vote
1
answer
597
views
xterm does not support osc 52
I use xterm that comes with XQuartz on my macbook. However OSC 52 control sequence doesn't seem to work. Here's how to repro:
open xterm
in the shell, issue printf '\e]52;c;%s\007' $(printf 'test off'...