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

learn more… | top users | synonyms

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
24 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 ...
4
votes
4answers
1k 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 ...
2
votes
1answer
23 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
23 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
195 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 ...
1
vote
2answers
525 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
943 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
540 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
24 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
214 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
32 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
242 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 ...
0
votes
2answers
1k 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 ...
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
549 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
29 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
593 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
17 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
47 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 ...
0
votes
1answer
37 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 = ...
1
vote
1answer
36 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. ...
8
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 ...
4
votes
2answers
60 views

What does it mean to set a terminal's “icon title”?

I generally see the syntax for setting the terminal title as (something like): echo -e '\e]0;Some Title\a' But I noticed this answer used 2 instead of 0, which prompted me to do a little more ...
1
vote
1answer
49 views

How can I display image clearly in xterm

All of the open source software that I used,only w3m can display image clearly,I want to try to display image in xterm,how can I accomplish it? I tried 'tput' command to change the color of output ...
3
votes
3answers
183 views

Why do different terminals have different values for keys in the .inputrc file?

This question really started from here. I would like to know why different terminals like rxvt and xterm use different values when mapping key combinations? Whilst I am in rxvt or xterm how can I find ...
4
votes
5answers
2k views

Fastest way to get an Euro symbol at a prompt?

First of all I'm working on a keyboard using a QWERTY layout. Now once in a while I need to get the Euro (€) symbol in my terminal (typically in a xterm). If I cut'n'paste the Euro symbol, it shows ...
0
votes
0answers
51 views

Xterm and User problem on Linux From Scratch

I made a linux system using LFS book 7.8 and then went to BLFS 7.8. I installed lxdm and xfce4 desktop. All the necessary drivers and libraries are installed. Now when I log in as root, I get no ...
0
votes
0answers
20 views

display no longer listends to console after starting X11, not even after shutting down X11

From the console, or another virtual terminal, I launch X11. This is in Free BSD. I cannot return the display to any other terminal afterwards. By using the ctl-alt-F1 key combination, for example. ...
3
votes
2answers
35 views

Run in background but not discarding the output

I use a Git hosting. So I often run git push. I want to run git push in background, in order that me not to wait when it finishes but do other tasks in my terminal. But I don't want to run git push ...
0
votes
1answer
19 views

dynamic window title from command input (TCSH)

I am looking for a way to dynamically set the window title based on the command input. For instance, if I run elinks I want the window title to be set to elinks. I did search a lot, but all the ...
0
votes
0answers
39 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: ...
3
votes
1answer
34 views

How to scroll while Holding Shift to copy in tmux?

I have Mouse mode set to on in Tmux so that I can make use of the scroll wheel using set-window-option -g mode-mouse on. However if I want to copy the output of a particular command which spans more ...
0
votes
2answers
25 views

Specifying X resources for XTerm

Where and how have to be put resources for an X-application (xterm, for instance) in the quoted os ? I tried almost all the tricks I knew: 1) search for a system-wide XTerm file in a directory ...
1
vote
1answer
50 views

Which X Window system is installed on my server that would work with Xming

I would like to use Xming to connect a server and managed to get it to work. I am now trying to get it to connect to a different server but i am not sure which X Window system is installed. I tried it ...
2
votes
2answers
294 views

Xt error: Can't open display!

I am trying to run xterm on my Virtualbox ubuntu VM, but when I run xterm on the VM, I keep getting the message xterm: Xt error: Can't open display!: xterm: DISPLAY is not set When I run xterm ...
0
votes
1answer
335 views

Xterm: No absolute path found for shell: 500

After sshing (using putty with X11 enabled) into my virtual box VM, I tried to open an xterm window. However the following command: xterm -sb 500 or even /usr/bin/xterm -sb 500 returns the ...
2
votes
2answers
1k views

Why pressing Ctrl-h in xterm + tmux sends “^?”?

xterm: $ echo $TERM xterm-256color $ stty -a speed 38400 baud; rows 52; columns 91; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = ...
0
votes
1answer
60 views

Bash file is unable to execute on linux terminal: Socket Programming

I have written some codes for socket programming namely socket and plug. To execute them together I am trying to use the below bash file but I get the following errors. I did execute the command ...
4
votes
2answers
1k views

How do I make the Xterm window title switch between the current running command and the current path?

I want to set the Xterm window title to switch between two states: When a command is running, show the command name (e.g. "less") When no command is running, show the current path (e.g. "src") I ...
1
vote
0answers
14 views

Tab in xterm under KDE always brings up accessibility tool dialog

Using KDE 4.14.13, Fedora 22, kdm desktop manager, if I type Tab to try to do command line completion I get the KDE accessibility tool dialog asking me if I want to enable "Sticky Keys" and "Mouse ...
4
votes
2answers
1k 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 ...
2
votes
2answers
52 views

Parse terminfo u6 string

Looking at terminfo and Parameterized Strings. Some examples from infocmp -1 xterm: cud=\E[%p1%dB, given argument 13: \E =><ESC> [ => [ %p1 PUSH parameter 1 (13) onto stack %d POP and print ...
0
votes
1answer
60 views

Vi buffer contents stay on-screen after using screen commands

In shell terminal, echo $TERM --- prints xterm Now I do vi somedoc and exit, vi contents disappear from the shell screen and the shell's previously run commands are visible. So far, all good. Now ...
3
votes
1answer
85 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 ...
0
votes
1answer
107 views

How to get Xwindows background color information

I tried xrdb -query -all, appres XTerm xterm commands. but i could not get any background color information. I saw the manpage, the default Xwindow background color is white. But when i started my ...
10
votes
2answers
391 views

In xterm, what is “Icon Name”?

Running in xterm (or gnome-terminal) the following command sets the so-called "Icon Name": echo -en "\e]1;some_value\a" What does this do? Note that it is possible to set both "Window Title" and ...
2
votes
2answers
480 views

cluster-ssh: specify terminal font

In my cssh config file, I have: terminal_font=6x13 this default font is too small for me. man cssh says, I can specify other font size with the -f argument, while using "standard X font ...
1
vote
1answer
138 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: ...