xterm is the standard terminal emulator for the X Window System.

learn more… | top users | synonyms

10
votes
3answers
1k views

How to start XTerm with prompt at the bottom?

When starting XTerm the prompt starts at the first line of the terminal. When running commands the prompt moves down until it reaches the bottom, and from then on it stays there (not even Shift-Page ...
-1
votes
2answers
93 views

cannot launch konsole from xterm

I installed lxde & kde (along with konsole). now I launch xterm from a Windows host using Xlaunch(Xming) which works fine but when I want to launch konsole(my preferred shell) I get this error: :~...
4
votes
1answer
178 views

screen & xterm: how to select text with the mouse in one only pane when window is divided vertically

Interestingly enough, this has also been a tmux issue for some: http://daemonforums.org/showthread.php?t=7311 But currently I am sticking to screen, and I'd like to know how I can make screen "behave"...
1
vote
1answer
38 views

xterm not loading xresources properly

There are similar questions out there, however, I was not able to figure out the flaws in my .xinitrc file which causes .Xresources not to load. The respective .xinitrc #!/bin/sh [[ -f ~/.Xresources ...
0
votes
2answers
2k views

How to redirect output of a 'xterm -hold -e' command

I know you can use tee to log output from a command in a terminal, e.g.: df -h | tee ~/log.txt However, how can I do this with a more complex command like this: xterm -hold -e program arg1 arg2 ...
1
vote
2answers
176 views

How to use Ctrl-Insert to copy from XTerm?

In applications like Firefox Ctrl-Insert and Shift-Insert work like Ctrl-c and Ctrl-v (modifying the secondary clipboard), but in XTerm they do not work like the common Ctrl-Shift-c and Ctrl-Shift-v: ...
3
votes
4answers
3k views

How can I copy text from xterm (Awesome, Debian, VirtualBox)?

I ran the minimal Debian installation inside a VirtualBox instance, installed X11 and Awesome window manager manually (without any custom configuration yet) and installed VirtualBox additions as well (...
4
votes
2answers
545 views

“Xterm” or “xterm” in configuration file

After starting to use Arch I switched to xterm and urxvt terminal and enjoyed the flexibility of them (esp. scaleHeight resource). However, I don't understand why sometimes configs work with Xterm and ...
2
votes
2answers
68 views

How terminal emulators handle Shift+FKeys?

This question is inspired by another question on vi.SE. There, OP has issues with the Shift+F8 key combination when running vim inside urxvt. That key combination will never work in vim because the ...
3
votes
2answers
37 views

Can terminal window titles be updated while a process is running?

I'm trying to set a little pomodoro/countdown timer for myself in the terminal. This comment on Superuser offers a handy little shell function that will act as a countdown timer, which printfs the ...
1
vote
1answer
27 views

Ranger file manager - Open gnome-terminal instead of xterm

I recently started using Ranger as my default file manager, and I'm really enjoying it. Right now, I've managed to change rifle.conf so that when I play audio or video from Ranger, mpv opens in a new ...
3
votes
3answers
692 views

Resuming screen with UTF8 enabled breaks character input

Overview of UTF8 screen re-attachment issues. Problem: Creating a screen that uses UTF8 works perfectly until re-attaching said screen session. Steps: ssh remothost screen -U -S ttytter [detach ...
1
vote
2answers
166 views

Unable to use correctly Powerline with xterm

I am trying to set up Powerline in my xterm. Im running ArchLinux. I have followed the steps from here and I am at this point here: So basicaly it works but I just cannot make the arrows appear. This ...
3
votes
2answers
115 views

Setting the title for Xterm with long paths

I have the following code in my .profile: case $TERM in xterm*) HOST=`hostname` PS1='^[]0;${USER}@${HOST}: ${PWD}^Gksh$ ' ;; *) PS1='ksh$ ' ;; esac ...
1
vote
2answers
200 views

White terminal cursor and yellow Vim searches

I have a blinking block cursor in the XTerm. The goal is to always be able to tell my current position. It usually works fine, but it fails when I place my cursor on a background similar to the cursor ...
6
votes
3answers
2k views

xterm not displaying unicode

i have never been able to get my terminal to display unicode symbols. for example, before i had my present os, i mapped ctrl+a to the greek mu in vim, and it works on other computers, but not on my ...
0
votes
1answer
24 views

xterm windows not displayed after vnc

When I create vnc for my linux box, its showing desktop when I login. I want only xterm windows. I see xterm under /bin/xterm. Please help.
2
votes
0answers
726 views

How to pass multiple commands via pssh and multiple xterms

I'm attempting to open multiple xterms and run a command as an SAP user via sudo using pssh. So far, I'm able to run PSSH to a file of servers with no check for keys, open every xterm in the servers ...
5
votes
4answers
9k views

How can I find the default (font) resource XTerm is using?

If I launch xterm with its default bitmap fonts and then select the 'Large' font from the 'VT Fonts' menu (via ctrl+right mouse), I get a very usable bitmap font with apparently good Japanese ...
2
votes
1answer
159 views

Disable colours at runtime in xterm

I would like to disable colours in my xterm at runtime. Reason being that some programs lack the sanity to use them in proper way. For example: $ sane-program color output $ disable-color $ less-...
1
vote
1answer
116 views

Does X11 still have a hardcoded limit for application resource strings?

The xterm(1) manual page states: Due to a hardcoded limit in the X libraries on the total number of resources (to 400), the resources for 256-colors are omitted when wide-character support and ...
0
votes
1answer
210 views

How do I prevent pointer from jumping when tapping touchpad?

I'm running i3 with xterm in Arch Linux on a laptop. My issue is that whenever I try to move the mouse cursor, it seems to initially register it as a tap, causing the cursor to teleport to the spot on ...
2
votes
2answers
1k views

Copy and paste text in Xterm on OpenBSD

I installed OpenBSD 5.5 using the recommended defaults. The OS came with fvwm as the window manager. How do I copy text within an Xterm and paste it into another Xterm? Using the mouse? Using only ...
17
votes
3answers
3k views

Display command in xterm titlebar

My Bash Prompt is currently setting the xterm titlebar using the following sequence: PS1='\033]0;\u@\h>\w\007' Is there an easy way to display the current command in the titlebar. For example, ...
2
votes
3answers
705 views

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 ...
4
votes
1answer
91 views

XTerm doesn't display *some* unicode characters properly?

I don't have a general problem with XTerm and Unicode. For the most part, things are working. This works great: $ echo "¿dónde está la llama?" ¿dónde está la llama? As does this: $ echo -e "\xE2\...
1
vote
2answers
222 views

keybinding in xterm to shift one line up using shift+up

follow urxvt: scroll just one line How can we set keybindings so that shift+up can scroll one line up in xterm?
4
votes
2answers
143 views

How do I type arbitrary unicode characters in xterm?

Moving away from using gnome-terminal and terminator since they are excruciatingly slow. (20-30 seconds to change focus to them for whatever reason) xterm is nice and fast. However, I need to be able ...
2
votes
3answers
3k views

xterm warning: Tried to connect to session manager

I am writing a quick script to read user input and put into commands of a couple different programs. I'm using xterm -e to open a terminal for each separate program. The script is working fine, but ...
3
votes
1answer
52 views

Specifying fonts in xterm

I'm having difficulty gettings fonts to display correctly in xterm. The situation is complicated by this being a headless server which I'm connecting to from a Macbook Pro via xpra, with no desktop ...
5
votes
4answers
2k views

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 ...
1
vote
0answers
12 views

Linux terminal Alt+Arrow word delimiter [duplicate]

In an SSH session or local terminal session (xterm), using Alt+left or right arrow allows me to skip forward and backward one word. In the example below, when using Alt+left arrow, the cursor stops on,...
2
votes
1answer
52 views

xterm width and height with regard to number of pixels NOT number of characters

On X window system (TWM) of my Ubuntu 12.04, xterm has width of 484 pixel and height of 316 pixel, and its geometry is 80x24, based on xwininfo. On X window system (TWM) of my LFS 7.9, xterm has with ...
1
vote
0answers
54 views

Configure xterm to use ctrl+shift+c/ctrl+shift+v for copy/paste?

I was using terminator for my terminal emulator, but I'm seeing huge performance issues with it. ie, launching a new terminal session takes 20-30 seconds on my netbook. gnome-terminal is better, but ...
2
votes
1answer
212 views

Tmux is not able to distinguish between insert and shift-insert

Insert when in xterm, gives ^[[2~ and, Shift+Insert gives ^[[2;1~ All this is good until I start tmux. Note that the $TERM variable remains the same, so this issue should not be related to terminfo....
1
vote
2answers
563 views

How to change key mapping for HOME and END keys in XTERM?

I am working on RHEL 6.4. In my old system running on RHEL 5.3, the Home is mapped to ^[[1~ and End is mapped to ^[[4~. In the new system, Home is mapped to ^[[H and End is mapped to ^[[F, which is ...
2
votes
2answers
1k views

xterm resizing causes shell to mess up

I'm using reflection x, which uses xterm as the terminal emulator. If I maximize and minimize the window several times, when I try to access previous commands, the text becomes messed up. The issue ...
6
votes
2answers
646 views

GNU Screen weird characters on click

I have a small problem in GNU screen. A GNU screen session runs on my RaspberryPi. Now sometimes, when I join it, if I click in the terminal (I'm using terminator on Fedora) I see weird characters ...
1
vote
1answer
26 views

CapsLock breaks Eterm keybinds

In my Ubuntu Server 14 with FluxBox i use to bind actions on Eterm. This is my user.cfg file: [...] begin actions bind ctrl shift button3 to string '^[]6;14^G' bind ctrl button3 to menu "...
2
votes
2answers
221 views

How can a bash script detect support for window titling escape characters?

I have a debug trap that runs every time I enter a command in bash that sets the window title to indicate what command is running. I'm leaving out all the configuration details and boil it down to: ...
0
votes
2answers
68 views

Increase font size on Eterm terminal

How I can increase the font size of my terminal. I need to use the terminal only as a telnet client, and I'd like to make the content of the windows fits perfect the windows it selfe. But it's ok ...
3
votes
2answers
259 views

Why does insert-mode map “<F4>” unpredictably inserts itself or executes intended key strokes?

In Vim 7.3.1-762, mintty 1.1.2 (xterm), cygwin, Windows XP, the insert-mode map <F4> executes the intended key strokes at one time but inserts itself at another time. This undeterministic ...
3
votes
2answers
2k views

How to fix the shifted function keys in vim in xterm in gnome-terminal?

When I hit the <s-f2> key to execute my nnoremap <s-f2> :set number! mapping Vim opens its "Insert" mode above (O) and types the 1;2Q string. In order to see the entire terminal key code – ...
3
votes
2answers
623 views

How to set up `screen` to modify the window title and xterm-window title?

I'd like to have my current $PS1 prompt (\u@\h:\w$(__git_ps1 "(%s)")\$ plus some coloring) to be also used as screen's window title (in the hardline) and as the xterm window title. How can this be ...
3
votes
1answer
53 views

i3 xterm menu (ctrl+mouse) too small

I've recently started to use the i3 window manager. I configured i3 and xterm to fit my needs, but whenever I start xterm and want use the menu (ctrl+mouse_button), the menu gets displayed as a small ...
4
votes
1answer
628 views

8-bit input in gnome-terminal

I'm trying to switch from xterm to gnome-terminal but having trouble with alt keys. I have already disabled menu access keys, but I still need 8-bit inputs. In xterm I can set 8-bit inputs in ...
0
votes
1answer
42 views

xterm highlighting always white, not reverse

I'm running Debian on my desktop, laptop, and netbook. On my desktop and laptop, I am using Gnome desktop environment; whereas my netbook is using i3wm (installed after a text-only install initially). ...
0
votes
1answer
145 views

xterm no absolute path found for shell

I am trying to run a script in SUSE Linux Enterprise 12 from java using ProcessBuilder. Codes for this follows: ProcessBuilder pb = new ProcessBuilder("xterm", "-e", "script_path"); Process pr = pb....
0
votes
1answer
65 views

Xterm Set Title?

I know i can set the title of Xterm using something like: xterm -xrm 'XTerm.vt100.allowTitleOps: false' -T windowname Is it possible to create this like a GUI, so Windowname is a prompt BOX. i.e. ...
9
votes
3answers
5k views

What is bash's meta key?

I tried to use xmodmap to map META_L to the MENU key but it doesn't seem to be accepted by bash as the meta key. So, I am wondering how these components (keyboard, X, xterm, bash) relate to each in ...