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

Smarter viewing of program output in terminal - show/hide buttons for lower priority outputs, allowing drilldown of program output

Many of my programs output run-time information to the terminal, things like: running minimisation ----rep 10. val=2.30498 ----rep 20. val=1.98377 ----... ----... ----... ----rep 90. vsl=1.77921 …
osbert
  • 61
  • 1
  • 5
3
votes
3 answers

How to Open xterm window from a terminal and run a command in background from xterm?

My application tries to execute roots command "sudo ifup eth0" and "sudo ifdown eth0". But it returned an error "sudo: sorry, you must have a tty to run sudo". So, it requires a tty to execute the sudo commands. So, I tried to execute the commands…
Rajasekhar
  • 894
  • 5
  • 13
  • 25
2
votes
1 answer

Sending commands from one xterm window to another with Python

So I have a Python app that starts different xterm windows and in one window after the operation is finished it asks the user "Do you want to use these settings? y/n". How can I send y to that xterm window, so that the user doesn't needs to type…
2
votes
1 answer

what does the @d mean in ''xterm -display @d'

An existing .bat script running on Windows XP has a call to xterm with the flag '-display @d'. I need to alter the display value being passed through to xterm, to point to a different IP address. However, it would help to know what the @d currently…
2
votes
2 answers

Execute a Bash Function in new Xterm window

Is there a way one can execute the bash function in the new XTERM window? Below is what I am trying to do function test(){ echo "Do some work" } Then inside my bash script, I am doing the following: export -f test xterm -title "Work1" -e "test"…
Amp
  • 111
  • 5
2
votes
0 answers

How to customize URL interpretation on MobaXterm

I'm using MobaXterm for some time now (it's a really good tool), but i having some issues with the hyperlink interpretation on terminal. Sometimes i receive a link like this: https://XXXXX:1234/4529089718/l/?session=user%12345 But the terminal only…
2
votes
2 answers

how to echo to a newly spawned xterm

I need to write a bash script, which spawn a new xterm window and echo something over there. I have tried echo "hello" | xterm &, which does not work... furthermore, is it possible to do any command on the new xterm?
Richard
  • 14,642
  • 18
  • 56
  • 77
2
votes
1 answer

X11, sending an event with XSendEvent(3)

I embedded a X11 app (xterm) in a Motif window. All seems to work fine, but if I press a key when the pointer isn't above the embedded app, it doesn't get it. Trying to fix this, I changed the main loop of the main app. Now it's like this: …
mghis
  • 517
  • 1
  • 5
  • 14
2
votes
0 answers

Cannot connect to X server (CentOS 7)

I am running a CentOS 7 VM using the AWS and my python code is facing this error: : cannot connect to X server Here are my settings: xterm xterm: Xt error: Can't open display: xterm: DISPLAY is not set echo $DISPLAY sudo cat /etc/ssh/sshd_config…
ksmaurya
  • 91
  • 1
  • 2
  • 10
2
votes
1 answer

How to create specific Qos rules?

I have the topology that is represented in the image: I want the hosts 1 and 2 to have high priority with max bandwidth 8mbps and the host(server) 4 to receive packets at maximum bandwidth of 4mbps. Host 3 is irrelevant for now. I have achieved the…
2
votes
1 answer

speed up my console setup

I work on different branches of a big software project. For each branch I have a gnome-terminal with four tabs open: main shell to execute build commands in various modules (mvn) ./bin folder to re/launch the app-server tail -F sysout tail -F…
Bastl
  • 1,431
  • 3
  • 14
  • 15
2
votes
1 answer

Programmaticaly insert enter in xterm js

I've recently found xterm and node-pty which are great tools and have implemented them into my app. However, when I write to the terminal with xterm.write("something\r\n\") or xterm.writeln("something") the terminal goes to the next line but never…
2
votes
2 answers

Identify xterm fonts being used and corresponding Cygwin package?

Over the decades, I've taken to painstakingly trying different fonts from different families to get a nice progression of sizes for xterm. The six that I found to be good in 2015 are prefixed by ~/.Xresources: below. Since Windows 7 became…
user2153235
  • 388
  • 1
  • 11
2
votes
1 answer

Piping nginx -V to grep doesn't color matches

nginx/1.17.3, GNU grep 2.27 and xterm-256color capable terminal (Xfce terminal) for some reason doesn't provide colored matches in its output. I've tried this: nginx -V | grep brotli -o --color=always -C9999 nginx -V | grep -o --color=always -C9999…
user7921542
2
votes
0 answers

bash: how to take a screenshot of gnome-terminal/terminator/xterm's screen output

I want to capture the output of a linux command in a terminal like terminator/xterm But the output goes 3-4 pages scrolling. Just like in chrome we have an "Full page screen Capture" by https://gofullpage.com/ which can capture a webpage running…
Santhosh
  • 9,965
  • 20
  • 103
  • 243