Questions tagged [xterm]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

sticky/persistent xterm menus

Is there a way to keep xterm menus in a way that is minimally accessible for users with disabilities? I know I could override every single action accessed via the menus to brand new keyboard shortcuts,...
gcb's user avatar
  • 4,863
0 votes
0 answers
93 views

TERM environment variable not set when running shell script using automator (MAC)

In using mac sonoma. I tried to run my shell script via Automator app. There's a 'diskutil umount' command in the script that will give me this error : TERM environment variable not set. Usage: ...
andio's user avatar
  • 283
0 votes
0 answers
23 views

I am running an app in 'xterm' under MacOS or Linux. Can I disable the middle mouse button paste? [duplicate]

Do you know of an application that runs on xterm, and uses all the mouse buttons with all the modifiers? Or an argument to show this is not possible? I have an application that uses the mouse. I ...
Richard Kirk's user avatar
2 votes
1 answer
239 views

Is it possible to halt xterm scrolling while the program is running

I am trying to make xterm to meet my criteria for a terminal emulator. Most of the features I want are built into xterm but there is one that I can not get working. I'd like to ask if someone knows if ...
ari's user avatar
  • 21
1 vote
2 answers
524 views

How to avoid leaving a cmd terminal when starting an xterm by ssh

On Windows 10, I want to show an xterm window on my PC that runs on my server using ssh into the server. For this I have created a Windows command script, as a file with .cmd extension, with the ...
EquipDev's user avatar
  • 280
0 votes
2 answers
270 views

GNU Screen in XTerm resets cursor shape

In my .bashrc I use printf -- '\x1b[6 q' to get blinking bar cursor in my xterm(1)s. When I run screen(1) then it resets the cursor to non-blinking block and also seems to be ignoring all variants of ...
mjf's user avatar
  • 101
1 vote
1 answer
215 views

Why does FAQ of tmux say that "Inside tmux TERM must be screen, tmux or similar"?

FAQ of tmux says that "Inside tmux TERM must be screen, tmux or similar". Why is that? How about xterm type terminal description, like xterm-256color? Is there any potential compatibility ...
UpbtEZ's user avatar
  • 41
1 vote
1 answer
5k views

Enabling seamless mouse scrolling with tmux

Edit: this answer is written with respect to Windows Terminal, but I expect it's an issue for xterm more generally. By default, running tmux in Windows Terminal doesn't show the scroll bar, and doesn'...
1'''s user avatar
  • 229
0 votes
1 answer
259 views

In xterm, how do I bind Ctrl-minus but not Ctrl-Shift-minus?

My .Xresources looks like this: ! Change size with ctrl +- XTerm.VT100.translations: #override \n\ Ctrl &...
Thomas's user avatar
  • 579
1 vote
1 answer
399 views

How can I get my Lubuntu system to "beep" via bash script?

Running Lubuntu 20.04LTS, and trying to get a nice beep when a bash script finishes. Before anyone votes this down, I have tried: beep and sudo modprobe snd-pcsp and say and echo -en "\007&...
confused's user avatar
  • 171
1 vote
0 answers
719 views

Could not start Telnet console with command 'xterm -T "R1" -e "telnet localhost 5001"': [Errno 2] Aucun fichier ou dossier de ce type: 'xterm'

This error was produced when trying to telnet on GNS3 on Linux Ubuntu Mint 20.04 Usually, the localhost assume machine IP with the port number link this: R1 telnet 192.168.1.10:5001 Currently, it is ...
Francisco Antonio's user avatar
1 vote
0 answers
135 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 ...
Mast's user avatar
  • 111
1 vote
1 answer
93 views

xterm: circled numbers (U+2460-U+2470) only the left half of the glyph is displayed

I am using the version of xterm that ships with ubuntu 21.04 (package xterm361-1ubuntu3) and some characters such as circled numbers are not displayed correctly: the right half of the character is ...
guv''s user avatar
  • 111
0 votes
0 answers
308 views

How to fix this screen tearing in Vim

I've been seeing this kind of screen tearing with Vim and some other programs. It's intermittent and I'm pretty sure it only happens when a program puts \r on it's stdout, I'm not sure if there's a ...
Dan's user avatar
  • 1
3 votes
1 answer
827 views

Terminal editors (nano, vim, etc) wipe terminal history on exit

I have recently upgraded from WSL (Windows Subsystem for Linux) version 1 to version 2. I am having a problem with using editors; some times, when I exit Nano or Vim, it wipes my history. I still ...
Zags's user avatar
  • 543
1 vote
0 answers
361 views

xterm text wrapping and reverse command search not working properly

My set up is: Arch Linux, i3, xterm. I would be happy to provide other details as well. I have been facing this problem for quite sometime now. Here it is. When there is certain text on the window and ...
user avatar
1 vote
2 answers
20k views

How to use xterm on Mac OS

How to use xterm on Mac OS? I'm quite new to Mac OS and I want to use xterm on it. I found from Why can't I paste into xterm (XQuartz)? and here and here that starting xterm is not much an issue ...
xpt's user avatar
  • 8,611
0 votes
1 answer
1k views

vi command line editing insert mode overwrite

I'm using Windows Terminal (TERM=xterm-256color) in a bash shell under Ubuntu: uname -a Linux xxxxxxx 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux I'...
Dweeberly's user avatar
  • 111
1 vote
0 answers
34 views

on the password prompt, the shell automatically adds a return after entering a character and displays authentication failed

logging in to an ubuntu 16.04 server via ssh. This has never happened before. The other user I asked seems unaffected by this. What could have happened? Also, when I try to enter my git credentials ...
spheroid's user avatar
0 votes
1 answer
374 views

.Xresources file ignored on OpenSUSE Leap 15.2 with GNOME

I have written an .Xresources file with xterm settings, and it is not loaded when user logs in: the xterm has the ugly default settings when launched. This happens on a VirtualBox VM running OpenSUSE ...
badbishop's user avatar
  • 202
0 votes
1 answer
467 views

mintty support for sixel graphics?

I have mintty 3.06 installed, running Ubuntu 18.04 with WSL1. This should support sixel graphics as far as I know, but no graphics have worked. I try: img2sixel png|jpeg w3m -o ext_image_viewer=0 ...
user318904's user avatar
1 vote
0 answers
403 views

How to open a program in different Xephyr Displays?

I have two Xephyr displays created through PyVirtualDisplay, when I try to open xterm in both of them it works just fine, but many other programs will open twice on the same display. So if I do this: ...
Bryan's user avatar
  • 11
3 votes
2 answers
839 views

Remote xterm terminating with an error event BadAccess

I'm logging into a remote server using ssh -x and then running xterm. Whenever the keyboard bell is trying to be run, I get the following messages and xterm exits: xterm: warning, error event ...
Sinkem's user avatar
  • 31
1 vote
0 answers
822 views

Why don't mouse events work in Windows terminals using ConHost?

I was wondering why mouse events don't seem to work on Windows for most terminals while using OpenSSH. Let me explain. Let's say you're using tmux in WSL, via cmd.exe. Mouse events, last time I ...
OmriSama's user avatar
  • 111
1 vote
1 answer
234 views

Vim arrow keys are working as Ctrl+arrows in xterm

I'm stuggling with vim arrow keys. My arrow keys are working as Ctrl+arrows in Vim. But, this is happening only when using xterm + vim. I mean, arrow keys are working exactly as normal arrows when ...
KW Yeom's user avatar
  • 21
2 votes
1 answer
504 views

Xterm escape code to remap Page Up (Shift+PageUp) Command in urxvt

I'd like to bind Ctrl-u to send the Page Up command, but don't know how. URxvt.keysym.Ctrl-u: command:<Shift+PageUp> I have bound Ctrl-j to scroll up line by line in urxvt like this: URxvt....
xoihiox's user avatar
  • 31
1 vote
0 answers
55 views

Setting the xterm window title on Ubuntu sets the wrong title

I'm trying to set the window and icon title for xterm on Ubuntu 17. odin:~% grep PRET /etc/os-release PRETTY_NAME="Ubuntu 17.04" odin:~% printf "\e]0;%s\a" X00X odin:~% xterm -help XTerm(324) usage: ...
Erik Bennett's user avatar
0 votes
1 answer
345 views

SSH to Linux host with an incompatible Terminal Size

I use SSH from MacOS within its built-in Terminal program to login to a CentOS server. For some reasons, after login, this server has some setting that makes it 80 column only. If my Terminal is wider ...
some user's user avatar
  • 2,377
0 votes
1 answer
153 views

No file sourced in non-login shells

In login shells, no problem : /etc/profile and ~/.profile are sourced. But in non-login shells (xterm in XOrg), they aren't. The $HOME variable isn't even set. I'm using Fluxbox and the Bourne shell (...
dpeng's user avatar
  • 181
1 vote
1 answer
780 views

Why doesn't xterm support double-sized characters when using Xft fonts?

Whenever I configure xterm to use core X11 fonts: *.vt100.renderFont: False *.vt100.locale: False *.vt100.font: -monotype-courier new-medium-r-normal--*-...
Bass's user avatar
  • 642
0 votes
1 answer
1k views

What is the difference between `xterm -e $COMMAND` and `$COMMAND` within `xterm`?

I'm surprised that there are differences between running a $COMMAND in xterm and running xterm -e $COMMAND. As an example: if I run tmux as a program within xterm, I get different behavior than when ...
user's user avatar
  • 141
3 votes
0 answers
2k views

How to set scrolling speed of vim like set mouse=a when mouse=v?

I wonder how it's possible to set scrolling speed. As is, when I scroll with my mouse in command or edit mode, it moves only one line at a time. I prefer to move by example 3 line at a time. (speed ...
Mévatlavé Kraspek's user avatar
4 votes
1 answer
6k views

How to switch between terminal, nerdtree and text editor?

I normally switch screen in vim using ctrl+h or ctrl+l to switch between NerdTree and vim main window. Vim8 got :term command to bring up terminal which is great! But I cannot figure out how to switch ...
NewPy's user avatar
  • 153
1 vote
1 answer
634 views

Linux Mint: GNOME Terminal does not show 'message from' in write program

Usually a write command (reference: write) will cause the receiver to see Message from yourname@yourhost on yourtty at hh:mm ... I don't see that... Any idea? In my Windows 10, I have a virtual ...
Just a HK developer's user avatar
1 vote
1 answer
2k views

preprocessor directive #define doesn't work in .Xresources

I'm trying to use a solarized color theme for my .Xresources file. I'm using Arch Linux with i3 window manager. However, it seems that #define preprocessor directives do nothing, and the .Xresources ...
xdavidliu's user avatar
  • 1,180
1 vote
2 answers
3k views

Execute Command with xterm and close

Im trying to execute a program with xterm and then close xterm with program running but it seems this doesn't work like I would expect it. In bash there is the option bash -c [command] is there ...
Nico's user avatar
  • 121
1 vote
1 answer
556 views

How to detach instead of terminate a GNU Screen session inside xterm when pressing C-c?

On X startup the following is ran automatically: xterm -e screen -rS app1 This opens up an xterm session and attaches the screen of app1, which was already running in a detached state. What I'd ...
joueffy's user avatar
  • 11
0 votes
1 answer
137 views

How can the character set for popup menus be controlled in xterm

Somewhere along the way I've changed a setting that has caused the popup windows in xterm to be displayed in Greek characters. The text in the main window is fine, its just the popup windows that are ...
B.A.Cooper's user avatar
1 vote
1 answer
2k views

xterm copy to PRIMARY and CLIPBOARD independently

I want to be able to use both selections in xterm. I would like selecting text and using middle click to copy and paste to and from PRIMARY. I would like Ctrl+Shift+C and Ctrl+Shift+V to copy and ...
Tom's user avatar
  • 123
0 votes
1 answer
308 views

Can't start remote GUI programs using terminal on Rhel.7

Can't start remote GUI programs like gedit, Firefox, and more GUI on RHEL.7 using terminal directly. how to open that direct, not as ssh. XTerm required for that? or what application is required for ...
mmenon's user avatar
  • 11
1 vote
1 answer
966 views

Key mapping on Putty or Xterm

We have a lot of old PC's running Windows XP for the sole purpose of running a terminal emulator. Desperately want to get away from Windows XP, so have tried Ubuntu with Xterm and linux Mint with ...
CR15 BRN's user avatar
0 votes
1 answer
643 views

Run a command in a terminal, then when complete leave the command in the terminal

I have a problem where I need to launch a command from a terminal, and leave the terminal open with the command I used once it is complete. The reason is that depending on certain circumstances I may ...
Otto Nahmee's user avatar
6 votes
2 answers
5k views

How to get rid of error message on ssh login --> "setterm: terminal xterm does not support --blength"

Whenever I ssh into my arch linux box I get this error message: setterm: terminal xterm does not support --blength Also when executing: $ sudo su - Interestingly not when using $ sudo su I have ...
Sven M.'s user avatar
  • 321
0 votes
1 answer
721 views

How to get vimrc colours to fill the screen?

I have a colour scheme set in vimrc. When I set it and set the term variable to xterm-256color I had the background colour only on the text. I then found the solution to set the term variable to ...
kabeersvohra's user avatar
2 votes
0 answers
3k views

Xterm configuration: colors work, font size not?

echo $TERM replies xterm-256color and my .Xresources file looks like this: *dpi: 165 Xft.antialias: true Xft.hinting: true Xft.rgba: rgb Xft....
daniel451's user avatar
  • 121
1 vote
0 answers
143 views

run xterm as subprocess not take startup script/environment

I am using Debian/Jessie linux, When I launch xterm from my project to run external project, xterm here not takes my environments variables, in other way it is not takes the startup scripts .bashrc ...
Zaher Dirkey's user avatar
5 votes
0 answers
2k views

Ctrl+Shift+Page{Up,Down} in tmux

Trying to make C-S-PageUp and C-S-PageDown work in tmux but no success so far. Here are my config steps: bind-key -n C-PageUp previous-window bind-key -n C-PageDown next-window bind-key -n C-S-PageUp ...
Luke Skywalker's user avatar
2 votes
1 answer
4k views

Can't use enter key to execute commands in zsh

I recently installed zsh (v5.1.1) on a new ubuntu setup, but when I switch to it in gnome-terminal, I cannot seem to use to the enter key to execute the command. The only way I can execute commands is ...
Mike A's user avatar
  • 21
0 votes
2 answers
2k views

Why would Esc-p or Ctrl-p not work in one terminal but work in all the others?

Somehow, when I start my X session in Ubuntu 16.04, I get a Gnome Terminal window with 6 tabs and they all works as expected except for the last tab. That one loses the Esc-p / Alt-P functionality. ...
Alexis Wilke's user avatar
  • 1,580
2 votes
2 answers
19k views

bash: $'\302\211[COMMAND]': command not found [duplicate]

I've used bash in xterm on Debian Jessie for about 2 years. Just recently I sometimes get an error bash: $'\302\211[COMMAND]': command not found. The only help I can find on the topic is Piping grep ...
neallred's user avatar
  • 121

1
2 3 4 5