Questions tagged [xterm]

xterm is a terminal emulator for the X Window System.

In computing, xterm is the standard terminal emulator for the X Window System. A user can have many different invocations of xterm running at once on the same display, each of which provides independent input/output for the process running in it (normally the process is a Unix shell).

xterm originated prior to the X Window System. It was originally written as a stand-alone terminal emulator for the VAXStation 100 (VS100) by Mark Vandevoorde, a student of Jim Gettys, in the summer of 1984, when work on X started. It rapidly became clear that it would be more useful as part of X than as a standalone program, so it was retargeted to X. As Gettys tells the story, "part of why xterm's internals are so horrifying is that it was originally intended that a single process be able to drive multiple VS100 displays."

After many years as part of the X reference implementation, around 1996 the main line of development then shifted to XFree86 (which itself forked from X11R6.3), and it is presently actively maintained by Thomas Dickey.

Relevant links

546 questions
1
vote
1 answer

Fixing arrow keys in IEX in TMUX session

I use TMUX and vim for everything, and recently started working with Elixir. Whenever I run an elixir process, including iex -S mix, I cannot use the error keys as it instead prints out ^[[A for the up arrow, ^[[B for the down arrow, etc. How can I…
cadlac
  • 2,802
  • 3
  • 18
  • 34
1
vote
1 answer

How box() is adopting max width after resizing terminal

I don't know how reexecuting the function box() is adopting max width automatically and here is test code : getmaxyx(stdscr,y,x); WINDOW *titleWin = update_title_win(NULL,2,x,0,0); while((ch = getch()) != 27) { if(ch ==…
Golu
  • 350
  • 2
  • 14
1
vote
1 answer

Can I view in which mode I am while using vi-mode for terminal (xterm)?

The question is pretty self explanatory. I've heard from a co-worker there is a way to view in which mode I currently am when using vi-mode in terminal but somehow he forgot how it's done and I couldn't find an answer to that question. How can I do…
Hubert
  • 142
  • 1
  • 12
1
vote
2 answers

configuration of tty on BSD system

For a command like this one on Linux debian-linux 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64 GNU/Linux with xfce I get : alain@debian-linux:~$ dbus-send --system --type=method_call --print-reply --dest =org.freedesktop.DBus…
ctac_
  • 2,413
  • 2
  • 7
  • 17
1
vote
1 answer

Resize: Command not found MacOS Sierra

I am currently running a newly installed copy of MacOS Sierra and noticed that while running the command resize -s 24 86 term says resize: command not found I have tried running brew install resize Even brew's repository does not have it Expected:…
1
vote
1 answer

VIM: set term=xterm changes to , is it reversible?

I have added set term=xterm to my vimrc to be able to use 256-color vim schemes in terminal, but it comes at a price (at least for me). It also replaces (sort of) the BackSpace with Delete (i.e. BackSpace starts to delete forward just like Delete…
Ahu Lee
  • 349
  • 5
  • 15
1
vote
1 answer

"Error opening terminal: vt100." while running a binary with ncurses on ARM

I cross-compiled ncurses for ARM. Wrote a sample application that links to it. While trying to run the binary on ARM, I am getting this error. Error opening terminal: vt100. Looks like I am missing some terminfo installation, but not entirely sure…
user1912491
  • 101
  • 6
1
vote
1 answer

What are the button codes for mouse scroll wheel left/right, in DECSET SGR 1006?

DECSET 1006 The encoding takes the form of CSI < Cb ; Cx ; Cy M when a button is pressed, and CSI < Cb ; Cx ; Cy m when a button is released, where: Each field is encoded as an ASCII integer. Cb is the button & keyboard modifiers. Cx is the…
hyperpallium
  • 571
  • 5
  • 18
1
vote
1 answer

Is there a way to determine if a terminal is focused without asking the window manager?

I want to change some tmux styling when the terminal loses focus/becomes inactive (i.e. when I've clicked on an open Google Chrome window). I know I could check with the window manager to see which application window is focused, but this doesn't…
Christopher Shroba
  • 7,006
  • 8
  • 40
  • 68
1
vote
1 answer

AutoKey Ctrl+Meta bind not working in xterm

This is my AutoKey script: keyboard.send_keys("") It works perfectly in the default Ubuntu terminal and everywhere else. But when I try to use it in xterm nothing happens.
John DeBord
  • 638
  • 1
  • 5
  • 17
1
vote
4 answers

Why '$p' appears at the first line of vim in iterm?

I'm using Mac OS 10.13.4. iTerm2 Version is Build 2.1.1 Vim Version is VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 29 2017 18:37:46) Included patches: 1-503, 505-680, 682-1283 Compiled by root@apple.com And I Installed the Vundle plugin And…
bengxy
  • 119
  • 1
  • 6
1
vote
3 answers

How to determine graphics capabilities of an x11 terminal window

The standard xterm program has a Tek4014 emulation for some simple graphics output. This is however not implemented in most (all?) sucessors, like rxvt, gnome-terminal, or kterm. However, almost all X11 terminals report xterm as (part of) the…
olebole
  • 521
  • 4
  • 17
1
vote
1 answer

How to Build Curses Program That Supports More Than 223 Columns of Mouse Input

I'm trying to get a curses program working with my terminal spanning my monitor. However, the x coordinate can't move past the 223rd column, instead it loops around. In the source, this seems to be due to them being defined as 8-bits, and having the…
Nyarmith
  • 35
  • 1
  • 5
1
vote
0 answers

Sequence of identical characters in Ncurses not displaying properly

New to NCurses, here. I'm having a weird problem when trying to show an array that contains a sequence of identical characters (more than 6 in sequence), where the window only shows a single character from the sequence. It happens with something as…
1
vote
0 answers

Docker GUI app (xterm window) from VNC host

I've built a very basic docker container to try and proof of concept running an xterm window from inside it. In it, I have a basic install of RHEL 7.3 and xterm I build as normal, open xhost xhost + and then run the docker run command like…
DGardner42
  • 31
  • 5