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
7
votes
2 answers

Filename completion in vim with xterm doesn't work as expected

Something funny is going on with my vim. I'm using it through xterm. I want to be able to autocomplete filenames that I try to open. For example: # Cursor is | character :o exam| :o exam| :o examplefile.txt| I was sure vim supported this, but…
nfm
  • 19,689
  • 15
  • 60
  • 90
7
votes
2 answers

How to run a command on the startup of an xterm?

How can I run a command on xterm startup i.e. when an xterm terminal is launched a the command is already executed? I have edited the .bashrc file to add this line: xterm "ls" But this does not work. Please suggest what should I do to acheive…
user189942
  • 351
  • 1
  • 3
  • 12
7
votes
4 answers

How can I launch multiple xterm windows and run a command on each, leaving each window open afterward?

I'm lazy, and I prefer that computers do my work for me. I ssh into several machines on a daily basis, so I created a simple script that launches some xterm windows and places them in positions I want (as you can see, I'm using…
user3609282
  • 115
  • 1
  • 1
  • 6
7
votes
5 answers

Xterm -fa works, but not xterm*faceName

I have the font (listed by fc-list): /usr/share/fonts/misc/Inconsolata-dz for Powerline.otf: Inconsolata\-dz for Powerline:style=dz that I am trying to get to display with xterm. As it stands, running xterm -fa "Inconsolata\-dz for…
Qix - MONICA WAS MISTREATED
  • 14,451
  • 16
  • 82
  • 145
7
votes
2 answers

Guake terminal with 256 colors?

Is it possible to make Guake terminal to use 256 colors instead of just 8? The only info that I found on the internet is this post https://bbs.archlinux.org/viewtopic.php?id=173707 but it didn't work.
vasilakisfil
  • 2,279
  • 4
  • 24
  • 31
6
votes
2 answers

How to enable paste keyboard shortcut in Mac X11 xterm?

On my mbp, I open xterm under X11 and I want to paste from the clipboard. However, command+v doesnt work and there isnt even an option from the edit menu. Is this not possible? If it is, how do I enable it?
chacham15
  • 13,719
  • 26
  • 104
  • 207
6
votes
3 answers

ANSI escape code weird behavior at end of line

Steps to reproduce Consider the following shell command: echo -e "\e[41mTest\nTest2\e[0mTest3" It prints Test and in the next line Test2 with a red background (using an ANSI escape code). Test2 is followed directly by Test3 which is…
Scindix
  • 1,254
  • 2
  • 15
  • 32
6
votes
2 answers

embedding an application (in this case a terminal) within a QT application

I am writing a QT application and I need to embed a terminal (we say,xterm) within a QDialog, like some KDE application (see kdevelop/kate/...). I've been trying with: - QX11EmbedContainer placed into the QLayout of my QDialog - QProcess for the…
JuanDeLosMuertos
  • 4,532
  • 15
  • 55
  • 87
6
votes
2 answers

Terminfo smkx and Application Cursor Keys vs Application keypad

XTerm Control Sequences specifies the following key sequences: CSI ? 1 h → Application Cursor Keys (DECCKM) CSI ? 1 l → Normal Cursor Mode (DECOM) CSI ? 66 h → Application keypad (DECNKM) CSI ? 66 l → Numeric keypad (DECNKM) and the Terminfo…
fornwall
  • 2,877
  • 3
  • 25
  • 38
6
votes
1 answer

How to implement proper mouse support in a terminal / terminfo entry?

I've implemented a terminal emulator and a corresponding terminfo entry that allows me to run ncurses programs like emacs, mc (midnight commander) or tig (git browser). I want to add mouse support to the terminal, most notably to position the cursor…
tesche
  • 61
  • 4
6
votes
1 answer

Why do we have max. 256 colors in terminal emulators?

I was just fiddling around with a 256 color VIM theme and noticed that 256 colors are just not enough sometimes. I would love a terminal that supports at least the HTML color range from #000000 to #FFFFFF (65536 colors). So i asked myself... Is…
Patrick Oscity
  • 53,604
  • 17
  • 144
  • 168
6
votes
1 answer

Where xterm Escape sequences like "Esc | 112 m" are defined?

While implementing xterm-256-colors in ConEmu I have discovered some unknown for me Escape sequences (used by Vim) like Esc | 7 m Esc | 15 m Esc | 112 m From Vim sources I realize that these codes are used for changing bold or inverse attributes,…
Maximus
  • 10,751
  • 8
  • 47
  • 65
6
votes
4 answers

Block selection in xterm

Is it possible to have a block (as in "rectangular") selection in xterm? If yes, is it assigned by default to a key/mouse binding or does it have to be assigned separately? Thanks :) Sorin
Sorin Mocanu
  • 936
  • 5
  • 11
5
votes
2 answers

xterm keep page from less in terminal after exit

I often view files using less and want to remember what i have just seen in the file. However when I quit less by pressing the q key my xterm window removes the page of less showing the file and only shows my command prompt. How do I keep the less…
Paul
  • 6,572
  • 2
  • 39
  • 51
5
votes
2 answers

Redirect xterm to a background for a headless machine

I have a application that launches xterm and dumps uart logs. I am able to see it launch and dump the logs in the GUI. However, Using a remote session I want the xterm output to be running as a background process somewhere so that I can switch back…
Tom Iv
  • 409
  • 1
  • 5
  • 21