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
2
votes
1 answer

How can I find documentation/knowledge/mentorship/ancient tomes for terminal definitions? (getting vim terminal title setting to work with tmux)

I have scoured the internet for an explanation, but the cryptic terseness of t_ts and t_fs makes it impossible to find helpful information about how I can expect systems to work. Here is an overview of my existing knowledge, and I'd love it if…
Steven Lu
  • 41,389
  • 58
  • 210
  • 364
2
votes
1 answer

Does startx need xterm installed

Im linking to a remote linux machine. I want to be able to view the files/ directories on this machine using a GUI. I run xming and ssh and putty.I then stried to start the windows manager. THe output is below. What is happening…
Dave
  • 4,184
  • 8
  • 40
  • 46
2
votes
1 answer

How to identify the Terminal Emulator being used?

I'm developing a library that needs to identify the running terminal emulator in order to output emulator-specific escape code sequences. For example, iTerm 2 uses the following proprietary sequence: ESC ] 50 ; CurrentDir=/path/to/dir BEL While…
David Refoua
  • 3,476
  • 3
  • 31
  • 55
2
votes
1 answer

ncurses detect when mouse leaves window

When I research mouse interfacing with ncurses, I see many options, but I do not see any way to detect when the mouse has left the program window. The window is the window of the terminal emulator, not an ncurses window.
AlgoRythm
  • 1,196
  • 10
  • 31
2
votes
1 answer

How Do I Make Backspace Send ^H In Vim?

I have a problem that is my backspace works in the terminal but not in Vim. It sent '^?' instead of '^H' and I have been trying to figure it out. I have checked my .bashrc and there is stty erase '^?' to remove the '^?' but somehow it is not…
Anthony Kung
  • 1,025
  • 3
  • 12
  • 22
2
votes
2 answers

Redirect output of Xterm to log file

I have not been able to find an answer to this problem. I have three programs kicked off in xterm for a demonstration automation script. I need to log the results of the xterm windows. Right now, my script looks as follows: #!/bin/bash/sh echo…
artemis
  • 6,857
  • 11
  • 46
  • 99
2
votes
2 answers

How to open terminal window for debug output in Linux?

I am porting some app from Windows to Linux. By default is has no window, but could open one for debug output. I need to do something similar on Linux. I found that XTerm could be used from it, however without any details how to do this. This new…
Daniel Frużyński
  • 2,091
  • 19
  • 28
2
votes
2 answers

Embed a konsole or gnome-terminal inside a Tkinter Frame

I am able to embed a xterm into a Tkinter GUI Frame: Frame2 = Frame(master) Frame2.pack(fill=BOTH, expand=YES) wid = Frame2.winfo_id() os.system('xterm -into %d -hold -geometry 300x10 -sb &' % wid) But this doesn't work: Frame2 =…
user6223678
2
votes
1 answer

How to use GNOME Terminal instead of XTerm here?

I have the following variable defined in ~/.vimrc. This works well with XTerm but I can't get it working with GNOME Terminal. Please help. let g:slimv_client = 'python /home/dumrat/.vim/ftplugin/slimv.py -r "xterm -e sbcl --core…
nakiya
  • 14,063
  • 21
  • 79
  • 118
2
votes
2 answers

Automating xterm using Expect

I am trying to automate xterm window using Expect (though I already knew Expect cant control such GUI applications, but there is a tweaked mechanism explained in Exploring Expect) package require Expect spawn -pty stty raw -echo <…
Dinesh
  • 16,014
  • 23
  • 80
  • 122
2
votes
1 answer

Mobaxterm, "Execute Command" Configuration

I have a to ask about Mobaxterm, I see that I can configure to my sessions, commands in the field execute command on the settings, but I can't send an enter. I need to execute commands like a cd, or an sh, and also send an enter, but the system…
luisascoobydoo
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

Mac Terminal "reset"command

** How to use command reset -w to get a new resized window? ** sheng:~ Mck$ reset -h reset: illegal option -- h Usage: tset [options] [terminal] Options: -c set control characters -e ch erase character -I no initialization…
2
votes
1 answer

Open Multiple XTerm Windows Simultaniously

I am working on a Raspberry Pi powered Magic Mirror project and to start the program I execute a shell script that runs in the background continuously. To make the AI part of my project work I need to open a second shell script in the background…
Joe Hays
  • 17
  • 5
2
votes
1 answer

Bash script to automate a VPN from vpnbook.com

I wrote a bash script that reads a username and password from www.vpnbook.com/freevpn and then cleverly automates the vpn. Following is a code segment. I want the Stack Community to hide my xterm -e -hold ./Overflow.sh I have tried nohup and…
ASK Arjun
  • 111
  • 1
  • 18
2
votes
1 answer

An xterm-compatible TTY color query command?

Here is some shell code extracted from https://github.com/rocky/bash-term-background to get terminal background colors. I'd like to mimic this behavior in Python so it can retrieve the values too: stty -echo # Issue command to get both foreground…
rocky
  • 7,226
  • 3
  • 33
  • 74