xterm is the standard terminal emulator for the X Window System.
Questions tagged [xterm]
428 questions
10
votes
3 answers
Access xterm's scrollback buffer as a file
Is it possible to, somehow, access xterm's scrollback buffer as a (read-only) file or a character device?
The core issue (to avoid x/y "problemming"), is this:
sometimes the command I've just executed creates non-deterministic output, and I'd like…

John Z.
- 123
- 7
10
votes
2 answers
Enable Ctrl+C for copy and Ctrl+Shift+C for interrupt
I would like to enable Ctrl+C for copy and Ctrl+Shift+C for SIGINT/interrupt in xterm.
I have found the following.
XTerm*VT100.Translations: #override \
Shift CtrlV: insert-selection(CLIPBOARD) \n\
Shift CtrlV:…

William
- 1,061
10
votes
5 answers
Is it possible to obtain the current name of the xterm window?
This LDP Howto demonstrates how to change the title of an xterm.
I know that this is also possible using the xtitle command.
Before invoking a long-running action, my script uses such techniques to change the title of its xterm window.
I would like…

TheGeeko61
- 7,041
8
votes
2 answers
How to prevent a specific instance of xterm from title changes?
If you start xterm from the command line giving it a title with the -T option
xterm -T "my window title"
the window title is likely to be overwritten via escape sequences for the shell prompt, other programs' output, etc. Is there any way to…

RubenLaguna
- 485
- 1
- 4
- 12
6
votes
3 answers
Unable to configure font in XTerm
After a lot of mucking around Xterm, poring through reams of webpages I have thrown in the towel and realized that this isn't something I can figure out on my own.
TrueType vs Bitmap
Is the option xterm*font used to specify only bitmap fonts and is…

kshenoy
- 259
5
votes
1 answer
Autoscroll when selecting text xterm scrollbar
So I do something like the following
cat testfile
Now text has spanned multiple lines.
I could do PgUp+Shift to go up but how do I select such text while moving up? I have the scrollbar enabled like so.
xterm -xrm 'xterm*ScrollBar:…

William
- 1,061
5
votes
4 answers
How to search XTerm console history?
Is there some way to search XTerm's console history interactively, like Ctrl+Shift+f in GNOME Terminal and Terminator?
I could run script in my .bashrc or possibly even patch XTerm, but it would be nice to know if there is already some shortcut or…

l0b0
- 51,350
3
votes
2 answers
Changing xterm font size without a mouse
It's possible to change the xterm font size by holding ctrl and right-clicking the window. Is it possible to do it without a mouse?

Toothrot
- 3,435
3
votes
1 answer
xterm not loading config with -name
I have a xresources file to customise xterm and running xrdb -merge it loads in fine. Starting a new xterm with xterm, I can confirm it has been loaded in OK.
However when I start a new xterm with xterm -name foobar it looses my config and goes back…

pwnyrainbow
- 65
2
votes
1 answer
Extra characters in XTerm printerCommand output
I've set up .Xresources to be able to print the terminal contents to a file when pressing Alt-P:
XTerm*printAttributes: 2
XTerm*printerCommand: cat - > "`mktemp --tmpdir xterm-screenshot.bin.XXXXXXXXXX`"
XTerm.VT100.translations: #override Meta…

l0b0
- 51,350
2
votes
1 answer
Unable to see the menu in xterm
Not sure what the deal is, but I can't see the menu in xterm when I Ctrl+Right Click or Ctrl+Left Click.
My .Xresources file is pretty generic; nothing fancy, so I don't think that's the problem.

John DeBord
- 159
2
votes
2 answers
XTerm not closing using -e option
I have an tcl script running in MWM and it starts xterm terminals with:
.menu.utils.m add command -label {Xterm} -command {
exec xterm -sb -T "Xterm" -sl 10000 -e su - int &
}
Doing this, the terminals can't be closed using Alt+F4 or the…

Alexander Stolz
- 133
1
vote
2 answers
Change the font used by XTerm for its menus
Here I am, using a 185 dpi display, and the font of XTerm menus¹ borders the unreadable small.
Investigating XTerm's XResources, I found a promising name but
$ xrdb -merge
XTerm*SimpleMenu*menuLabel.font:…

gboffi
- 1,394
1
vote
1 answer
xterm does not support osc 52
I use xterm that comes with XQuartz on my macbook. However OSC 52 control sequence doesn't seem to work. Here's how to repro:
open xterm
in the shell, issue printf '\e]52;c;%s\007' $(printf 'test off' | base64)
try to "paste" in somewhere else,…

KFL
- 269
1
vote
1 answer
How to use xterm translations to use level3 shifted KP_Prior for scroll-back?
I am using LWIN key as level3 shift using level3(lwin_switch) symbol.
On this level I am using 'i' and 'm' as KP_Prior and KP_Next, so LWIN+i will scroll page up and LWIN+m will scroll page down in Pale Moon.
How to use the same key combination for…

Kalts
- 11