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

How to start xterm in a directory containing .rvmrc file

Preface: I'm writing a tmuxinator clone based for i3, and I'm a zsh user. I want to open a xterm window (or any other terminal) in a given directory, where a .rvmrc file is present, and launch a (ruby-related) command. Here an example scenario: ➜ …
Enrico Carlesso
  • 6,818
  • 4
  • 34
  • 42
0
votes
3 answers

How to make xterm command line works like vim

I'm working on RHEL environment, and using xterm. My question is that how to make the xterm command line works like vim instead of emacs (eg, selection, copy, paste, keyboard shortcuts) Thanks!
Edward Wang
  • 345
  • 1
  • 3
  • 13
0
votes
1 answer

capture, get line from terminal with perl Term::Screen module or escape sequences

I use Term::Screen to put string in xterm. $scr->at(2,0)->puts("this is some stuff"); But I would like to capture, get the 2nd line (offset 0 until eol), something like that: $scr->at(2,0)->gets(); Or how can an escape sequence do that? Thanks…
user1334149
  • 161
  • 1
  • 7
0
votes
3 answers

Xterm control sequence to 'T' output to a file

I swear there used to be a way in X to start capturing all terminal traffic to a file on your host. It may have been a HummingBird extension, but I thought it was standard. Now, I can't find the trick. Am I hallucinating (happens when you get old),…
Kevin Little
  • 12,436
  • 5
  • 39
  • 47
0
votes
1 answer

End of input in XTerm usnig keyboard

How can I signal XTerm terminal to end of input. In my case, I run a C++ program in XTerm console and I want to signal the program the end of input by pressing some combination of keyboard buttons.(I tried Ctrl+D Ctrl+Z ).My program goes like this…
KNU
  • 2,560
  • 5
  • 26
  • 39
0
votes
2 answers

c++ input till end of input signalled through keyboard

I want to write a C++ (C, if it provides easy solution to my problem) program where one may input until he chooses to signal end of input by pressing such combination of buttons as Ctrl+D. I have two questions regarding this. Which…
KNU
  • 2,560
  • 5
  • 26
  • 39
0
votes
1 answer

Retrieving Selection Data from Applications other than xterm

I am trying to build up an XClient that monitors clipboard selections, namely the PRIMARY Selection. With the attached code, the selections from running xterm windows are being retrieved satisfactorily. However retrieving the selections from other…
Jumik
  • 1
  • 1
0
votes
1 answer

How to run another java process with console in java (in Linux)

How can I run an another java process (with a console) in Linux? I know I should use ProcessBuilder or Runtime.getRuntime().exec() to execute a command, but I want to know how I can show an separate X-window command terminal (ex. /usr/bin/xterm) or…
minmaxavg
  • 686
  • 6
  • 21
0
votes
1 answer

bash redirection via xterm and mpg123

Here is a part of my .fluxbox/startup file (a=($(grep "^1 " $HOME/Documents/4.n3u|awk '{print "/home/g" $2}'|sort -R|head -20)); \ xterm -e mpg123 -C ${a[@]} &>$HOME/Documents/mpg123.dat &) As written, the redirection fails, all such output…
user985675
  • 293
  • 3
  • 10
0
votes
1 answer

How to run "hg clone" command in xterm shell from java application?

I want my application to run xterm shell and run a command "hg clone". I can't understand why the same command works perfectly when I type it directly to xterm and doesn't work when my program uses: Process p =…
Peters_
  • 597
  • 2
  • 8
  • 28
0
votes
0 answers

Can't make work ScrollWheel map in vim

I have a little problem with mapping vim shortcuts for my mouse wheel. I can't make this work : set mouse=a set nowrap noremap 3zh noremap 3zl On the other hand, the following is working (but not convenient, i…
Bamban
  • 107
  • 2
  • 14
0
votes
0 answers

Linux, Xterm, and VIM localization behavior of setenv LANG vs. setenv LC_CTYPE

I am writing some perl scripts to process some files with Japanese names and contents. I wanted to see the file names when I do ls in xterm, instead of garbage characters. Here is my configuration: Client OS: Windows XP Japan Server: Red Hat…
frank
  • 1,283
  • 1
  • 19
  • 39
0
votes
1 answer

Access an xterm window open on local machine , remotely via ssh

I have an xterm window open on a computer. I want to access this xterm window remotely using ssh. Is it possible? By access I mean, I should be able to run commands on that open shell.
0
votes
1 answer

bash: if statement works one way, but not with added process

This command works as expected. if [[ "$fsb" > "19" || "$fsb" < "06" ]]; then xterm -name Xtermc else xterm -name Xtermd fi But this does not, neither xterm is produced, let alone running the script (x0 or x100) within it. if [[ "$fsb" >…
user985675
  • 293
  • 3
  • 10
0
votes
1 answer

functional keys in vim in xterm

Functional keys (F1-F12) for vim in console don't work. But the worst thing is when I hit such key, vim stays in some "mode" not allowing me to type anything for 2s... Very annoying Another thing is after pressing Esc key vim pause for about 0.5s…
Tomek Wyderka
  • 1,425
  • 1
  • 15
  • 21