Skip to main content

Questions tagged [xterm]

xterm is the standard terminal emulator for the X Window System.

Filter by
Sorted by
Tagged with
1 vote
0 answers
22 views

-fa 'Cascadia Code' → "xterm: no absolute path found for shell"

I have recently installed Cascadia Code (because I love its "4") and I can use it in XTerm $ xrdb -merge XTerm*faceName: Cascadia Code ^D $ but, otoh, if I try using the command line $ ...
gboffi's user avatar
  • 1,454
0 votes
1 answer
50 views

xterm seems to change its "home" key behaviour for emacs

In xterm, when I press the HOME key on my keyboard, it normally sends ^[[H but when I open emacs -nw, it changes to ^[OH; those are home and khome respectively. I figured out while trying to build my ...
Alex028502's user avatar
0 votes
0 answers
15 views

.Xdefaults: How to Target Firefox Only

Trying to modify the .Xdefaults maximumMaximumSize and limitResize properties only for Firefox applications. Is there a way to target Firefox applications when writing to Xdefaults while not affecting ...
Jpg's user avatar
  • 1
0 votes
1 answer
38 views

TERM ANSI escape sequences compatibility between xterm and screen although infocmp does not say so

I am making an script in zsh on mac that uses tmux and after the amazing https://unix.stackexchange.com/users/22565/st%c3%a9phane-chazelas answer, I found out that when I use tmux, it uses a different ...
Whimusical's user avatar
2 votes
0 answers
70 views

How do I disable UTF-8 in an xterm (or X, really)?

I have a system running Debian unstable where I don't want to have UTF-8 in my xterms (or at all). But I recently discovered that somehow I now have UTF-8 in my xterms and other windows. It might have ...
ftpltl's user avatar
  • 21
0 votes
1 answer
165 views

How do I stop xterm from sending backspace when I select "Ctrl+h"

I want xterm to stop converting Ctrl+h to backspace. I use this key combination for other things, but the terminal captures Ctrl+h and send backspace every time. How can I disable this? Note this is ...
Dave's user avatar
  • 621
1 vote
1 answer
74 views

How can I mouse scroll in Xterm when I am selecting the text to copy to clipboard?

I press the left button of my mouse and drag. This way I can select up to one display-size piece of text in Xterm and then copy it (I set up to be able doing it with Ctrl+Shift+C). However, when I ...
JenyaKh's user avatar
  • 346
0 votes
2 answers
140 views

How to set line height on Xterm?

There is already a question on it: How to set line height in xterm? but I don't have the "points" to comment yet, so I have to ask it again. Environment: Ubuntu Jelly i3wm Xterm version 372 ...
Manny's user avatar
  • 1
0 votes
0 answers
32 views

I can't bind Meta-h to backward-kill-word using bash/readline for my xterms

redhat-release: Red Hat Enterprise Linux Workstation release 7.4 (Maipo) bash version: 4.2.46(2) xterm version: X.Org 7.6.0(295) I'm using xmodmap to map my Meta keys correctly. Confirmed this via ...
eh3's user avatar
  • 1
0 votes
1 answer
72 views

How to redirect output to a file which name is the current date and time and current directory name?

I'm trying to redirect with current working directory in xterm. xterm -ls -geometry 80x30 -e 'cd /home/work/test1/; pwd; make | tee test1.log;' xterm -ls -geometry 80x30 -e 'cd /home/work/temp/test2/; ...
Carter's user avatar
  • 136
-1 votes
1 answer
243 views

how to get basic scrolling in xterm

I am using xterm on a remote Linux machine (from a local Linux machine). I just want basic scrolling, meaning that I want use the arrow keys to scroll up and down. What I get is a clunky scrolling ...
user36086's user avatar
1 vote
1 answer
2k views

mate-terminal showing unwanted text when it starts

i'am on parrot OS, after a forced restart my mate-terminal begun showing text from bashrc every time it started, after a "clear" it goes away and the prompt is properly colored and ...
Ar Angelina's user avatar
0 votes
1 answer
101 views

is it possible to have application-specific xterm settings?

I know how to write an .Xresources file to modify the appearance of xterm. However, I wonder if it is possible to have application specific .Xresources, such that I can use the light solarized theme ...
user3236841's user avatar
1 vote
1 answer
1k views

how to change xterm font?

I created a .Xresources file and added the following code to it(I’m demonstrating only a part, because there’s a lot of code): XTerm*font:*-terminus-medium-r-normal-*-16-*-*-*-*-*-koi8-r XTerm*...
Lin's user avatar
  • 11
2 votes
0 answers
184 views

vt100 terminal escape code issue

When I ssh into any arista switch from my mac I get a mysterious n added to the prompt immediately on login. After asking my coworkers about it I found out that it's about 50/50 where some also see ...
jesse_b's user avatar
  • 37.6k
1 vote
1 answer
293 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 ...
Tripple Moon's user avatar
1 vote
1 answer
420 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 ...
user129393192's user avatar
0 votes
0 answers
213 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-...
BugOrFeature's user avatar
2 votes
2 answers
137 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/...
grrr's user avatar
  • 55
0 votes
1 answer
575 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....
SweetScore's user avatar
0 votes
1 answer
176 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 ...
Unix's user avatar
  • 248
1 vote
2 answers
227 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....
gboffi's user avatar
  • 1,454
1 vote
1 answer
1k 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/...
emile's user avatar
  • 11
0 votes
0 answers
284 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 ...
lhnpv's user avatar
  • 1
1 vote
2 answers
263 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 ...
mjf's user avatar
  • 113
0 votes
0 answers
122 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 ...
Jason's user avatar
  • 1
0 votes
2 answers
349 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: " ...
Ray Andrews's user avatar
  • 2,517
0 votes
2 answers
94 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 ...
Emmet B's user avatar
  • 103
0 votes
0 answers
199 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 ...
troubleshoot's user avatar
1 vote
0 answers
135 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 ...
Jeff's user avatar
  • 123
0 votes
1 answer
46 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. ...
Max Görner's user avatar
0 votes
0 answers
52 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-...
Bruce Ediger's user avatar
0 votes
1 answer
196 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 ...
Ajean's user avatar
  • 101
1 vote
2 answers
831 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 ...
Larsinator9000's user avatar
2 votes
0 answers
154 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 ...
xascii's user avatar
  • 21
2 votes
1 answer
473 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 ...
Guilherme Casas Gonçalves's user avatar
0 votes
1 answer
2k 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 ...
LinuxNewby's user avatar
1 vote
0 answers
98 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 ...
Deffo's user avatar
  • 119
2 votes
0 answers
237 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 ...
Sijmen Mulder's user avatar
0 votes
0 answers
103 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 ...
Curra's user avatar
  • 11
1 vote
1 answer
978 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 ...
Yves's user avatar
  • 3,331
0 votes
1 answer
591 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 ...
spinkus's user avatar
  • 491
2 votes
1 answer
170 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 ...
pedz's user avatar
  • 173
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 ...
Philippe's user avatar
  • 1,477
1 vote
2 answers
247 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 ...
ThatsMe's user avatar
  • 1,005
2 votes
1 answer
189 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 ...
n952162's user avatar
  • 21
2 votes
0 answers
151 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 ...
Kajukenbo's user avatar
  • 327
2 votes
2 answers
1k 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 ...
ttyj's user avatar
  • 21
4 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 ...
x-yuri's user avatar
  • 3,453
0 votes
1 answer
1k 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 ...
prismspecs's user avatar

1
2 3 4 5
9