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

pasting text to xterm in GNOME using gtk clipboard

I am developing a GTK based application which has to support clipboard. For that I am exporting selection data using gtk_clipboard_set_with_data with the target formats: UTF8_STRING, STRING, TEXT, COMPOUND_TEXT, text/plain, text/plain;charset=utf-8,…
341008
  • 9,862
  • 11
  • 52
  • 84
3
votes
1 answer

How to execute a python program in Mininet environment in multiple xterm windows simultaneously?

I have a python program (mypro.py) in which i want to run on all the hosts of my topology simultaneously (i.e., without going to each xtrem window and typing python mypro.py). Is there a way to do that on the xterm of Mininet environment by using a…
OiaSam
  • 560
  • 7
  • 19
3
votes
1 answer

Launching shell on mininet hosts in terminal

Inside a tmux session on iTerm2, I'm running mininet on vagrant with ubuntu/trusty64 as base box. I'm looking for a solution to start shell on multiple hosts in mininet topology in iTerm2 (ideally as new pane/tab in my existing tmux session).…
system64
  • 909
  • 1
  • 11
  • 27
3
votes
1 answer

How/where are RGB values mapped to xterm color codes? Can they be overridden?

I'm trying to understand exactly how colors are processed in my terminal emulator (iTerm2). In iTerm2 I can configure my "base 16" color palette - in iTerm2 this is done using HSL, not 16-bit RGB values. The colors defined this way are native - they…
nfarrar
  • 2,291
  • 4
  • 25
  • 33
3
votes
3 answers

How to change the xterm icon in xfce4?

To clarify, I mean the icon that is displayed when the app is running (e.g. inside the dock). With trial and error, I found out that it uses "/usr/share/pixmap/xfce4-terminal.xpm" as the icon (tested by replacing this file with some other icon). I…
Sec
  • 7,059
  • 6
  • 31
  • 58
3
votes
1 answer

How to set TERM environment variable for linux shell

I've got very odd problem when I set export TERM=xterm-256color in ~/.bash_profile. When I try to run nano or emacs I get the following errors. nano: .rror opening terminal: xterm-256color emacs: is not defined.type xterm-256color If that is not…
David Crayford
  • 571
  • 1
  • 3
  • 10
3
votes
0 answers

vim not deleting characters in xterm

I have recently reinstalled my gentoo system and am now experiencing a strange problem in vim in an xterm: If I exit the edit mode the "-- INSERT --" still is visible, though the edit mode is not active. Also, if I scroll through text longer lines…
jesterchen
  • 41
  • 4
3
votes
1 answer

how can I redirect output from javac back into the calling program

// this works if ("Show".equals (obj)) { try { String command= "/usr/bin/xterm -e javac panel_1.java"; Runtime rt = Runtime.getRuntime(); Process pr = rt.exec(command); BufferedReader in = new BufferedReader(new…
3
votes
2 answers

Interpreting SSH output

I am trying to create a SSH client for my personal use using the Renci SSHNet library, but I am completely unsure of how I am supposed to interpret the output from executed commands in the terminal. For example, if I were to type simple commands…
TheNotSoWise
  • 869
  • 2
  • 10
  • 15
3
votes
1 answer

How to copy terminal content programmatically?

How can i read the content of a xterm or terminal, only by knowing its device number? Similar to moving the mouse over the text. Redirecting or cloning the terminal output to a file would be an option too, as long it could be done without…
inselberg
  • 549
  • 3
  • 13
  • 27
3
votes
3 answers

Scroll up/down while selecting multi-page block of text in Vim through putty

I'm using vim 6.3.81 on a xterm through putty. When I use set mouse=a , I can scroll through the file , but not select text. When mouse is disabled using set mouse=, I can select text with mouse (automatically copied to a buffer) , but if the text…
TCSGrad
  • 11,898
  • 14
  • 49
  • 70
3
votes
1 answer

xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection

I've tried various ways to coerce xterm (versions 285 and 292) to copy the selection to the CLIPBOARD clipboard whenever I press Ctrl-Shift-C. The most promising way thus far has been, in ~/.Xresources, to put this: XTerm*vt100.translations:…
nacitar sevaht
  • 510
  • 5
  • 15
3
votes
1 answer

Embed xterm into QWidget and communicate with it

I want to embed an xterm into a pyqt4 widget and communicate with it. Especially I want to be able to print to it and execute commands on it (such that it returns to normal user prompt after executing the command just like a normal shell would do).…
student
  • 1,636
  • 3
  • 29
  • 53
3
votes
1 answer

How to know if the output is going to a terminal or not?

Possible Duplicate: Detect if stdin is a terminal or pipe in C/C++/Qt? I want to know if the output of my program is directly going to a terminal or is being redirected to a pipeline or a file. Because if it goes in the terminal i want to output…
LtWorf
  • 7,286
  • 6
  • 31
  • 45
3
votes
1 answer

Line wrapping issues in xterm

I am writing a program that prints colored lines, and the more I do with it the more I find myself working around line wrapping issues that come up. It is a sort of terminal written in php, here is the prompt: $return =…
Mike Fairhurst
  • 626
  • 5
  • 15