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
5
votes
3 answers

change title of xterm from a bash script

I have a script which does a long build. It takes like hours for this script to complete, and while the build is going on there is no way for me to know how much the script has run. For that I thought of changing the name of the xterm from the…
singleX
  • 375
  • 4
  • 13
5
votes
1 answer

Emacsclient does not respond to mouse clicks

When I run emacsclient it does not respond to mouse clicks. My main Emacs process runs in a terminal and responds to mouse clicks correctly because I have the following code in my Emacs config file: (xterm-mouse-mode 1) Why does emacsclient not…
hekevintran
  • 22,822
  • 32
  • 111
  • 180
5
votes
3 answers

Catalina Operation not permitted in XQuartz/Xterm

After upgrading to Catalina from High Sierra, I can not longer do simple things in my home direction (e.g., ls, etc.) under XQuartz, getting an error: Operation not permitted. I recognize that this is due to the new access controls introduced in the…
kaylimekay
  • 161
  • 1
  • 6
5
votes
2 answers

Best way to add environment variables to MobaXterm

I'm just now setting up MobaXTerm on my local computer and I'm looking to see what is the best way to port over all my environment variables I have on my windows host over to MobaXTerm. The whole goal of this exercise is that I plan to not use…
user7180132
  • 321
  • 2
  • 4
  • 15
5
votes
2 answers

How to delete MobaXterm "Custom sessions"

In MobaXterm, there is a "Custom Sessions" node that contains all the same items as my bookmarked "User Sessions": It's annoying, but there doesn't seem to be any way to delete the Custom Sessions node. Does anyone know how to get rid of it?
ValiShah
  • 109
  • 1
  • 2
  • 10
5
votes
1 answer

IDEA's terminal home/end/crtl+arrows don't work

In IDEA's terminal I cannot use (tried with zsh - /usr/bin/zsh and bash - /bin/sh) Home, End - nothing happens when pressed nor Ctrl+arrow keys - get ABCD characters. But these keys work in other terminals, like Treminator or Guake. I'm using…
streetturtle
  • 5,472
  • 2
  • 25
  • 43
5
votes
2 answers

vim in Cygwin replaces first character with 'g' on opening a file

I use vim in Cygwin terminal. It was working fine. Recently, I added a package in Cygwin which caused update of vim and some other components. Now when I open any file in vim, the first character in the file gets replaced with character 'g'. I tried…
geekowl
  • 331
  • 1
  • 6
  • 17
5
votes
3 answers

Which $TERM to use to have both 256 colors and mouse move events in python curses?

Currently if I set the TERM environment variable to 'xterm-1003' I can get mouse move events but I get crappy colors and curses.can_change_color() == False os.environ['TERM'] = 'xterm-1003' ... curses.mousemask(curses.ALL_MOUSE_EVENTS |…
Wulfire
  • 105
  • 3
5
votes
1 answer

How to capture shift-tab in vim

I want to use shift-tab for auto completion and shifting code blocks visually. I have been referring to Make_Shift-Tab_work . That link talks about mapping ^[[Z to shift-tab . But i don't get ^[[Z when i press shift-tab. i just get a normal tab in…
Yogesh Arora
  • 2,216
  • 2
  • 25
  • 35
5
votes
2 answers

Cygwin wraps text back on to the same line, causing text to be overwritten

I have cygwin installed on my Windows 7 box and I have been running into a problem where when I type a command it will occasionally be wrapped back onto the same line, deleting the bash prompt. Here is an example: The command in question is…
Vidia
  • 471
  • 5
  • 17
5
votes
3 answers

Copy text from Vim 7.2 running in xterm to windows clipboard

I'm using Vim 7.2 , compiled with +xterm_clipboard , in a xterm through putty . I've put set clipboard=unnamed in .vimrc , and from what i've read in other threads , this should put all yanks/deletes to the system clipboard. However , when I'm…
TCSGrad
  • 11,898
  • 14
  • 49
  • 70
5
votes
1 answer

Mapping mouse events in vim through putty not working

I'm using Vim 6.3.81 on a x-term through putty. I wanted to map mouse events (like wheel-button click , double click) to specific events using my .vimrc . I've looked at the vim wiki and based on it, defined the following map in my .vimrc: :nnoremap…
TCSGrad
  • 11,898
  • 14
  • 49
  • 70
5
votes
1 answer

How to change xterm colors using .Xdefaults file?

I have created the following .Xdefaults file in my home directory but xterm still have default colors, what might be wrong here? *xterm*background: #101010 *xterm*foreground: #d0d0d0 *xterm*cursorColor: #d0d0d0 *xterm*color0: #101010 *xterm*color1:…
alwbtc
  • 28,057
  • 62
  • 134
  • 188
5
votes
3 answers

Emacs, xterm, mousepad, C, Unicode and UTF-8: Trying to make sense of it all

Disclaimer: My apologies for all the text below (for a single simple question), but I sincerely think that every bit of information is relevant to the question. I'd be happy to learn otherwise. I can only hope that, if successful, the question(s)…
Dervin Thunk
  • 19,515
  • 28
  • 127
  • 217
5
votes
2 answers

How can a shell script tell if it is running in an xterm window with 256-color support?

I'm writing a shell script that I would like to use 256-color support when present. In a just world, xterm would simply set the TERM environment variable to xterm-256color and I'd use tput colors to discover the support. But we live in an unjust…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533