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

learn more… | top users | synonyms

3
votes
2answers
496 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 ...
2
votes
3answers
332 views

How are “xterm” and “screen” related?

I am not quite sure if there is any subtle or wide differences between screen and xterm. I have used screen before and had it being described as kind of like a multiplexer and have tried xterm a few ...
2
votes
2answers
7k views

Changing terminal emulators

I have ssh access to a remote machine. In this machine if I run echo $TERM I get xterm. If I want to change my terminal emulator to some other emulator (assuming that it's installed on the remote ...
2
votes
4answers
1k views

Set tab width in GUI terminal

I found that setterm -regtabs 4 doesn't work in xterm or urxvt. But, this xterm_set_tabs () { TERM=linux; export $TERM; setterm -regtabs 4 } will circumvent the problem. But, I suspect ...
2
votes
1answer
1k views

temporary setting the path in an “init” file

I have an "init" file that reads #!/bin/sh export PATH=$PATH:/home/me/morph_numsys/software/bin by which I'd just like to set the path to that folder for only this bash session. However, when I ...
2
votes
2answers
181 views

Maximize xterm via bash script

I have found this answer providing how to manipulate the current xterm window's dimensions, ie: echo -ne "\e[8;30;30t" How can I modify this to maximize the window (xterm's alt + enter shortcut)? ...
2
votes
2answers
269 views

using watch with ssh

I have a script: export TERM=xterm watch -t -d -n 1 'netstat -veeantpo | grep 43597 when we run this script though ssh, it does not determine the monitor resolution. so lines are wrapped although ...
2
votes
2answers
92 views

256 Colors in xterm and tmux [in FreeBSD 10]

So these past few days I am working to make Xterm and tmux show all the 256 colors available in them by default. I reach these conclusions: for tmux to show 256 colors you have to make xterm to ...
2
votes
2answers
126 views

Is it correct to set the $TERM variable manually?

I set the $TERM variable adding the line XTerm*termName: xterm-256color to my .Xresources file. When I did it I didn't know what exactly that meant (I was following an online guide to change the look ...
2
votes
2answers
55 views

Simple terminal emulator (themable) with mark-as-copy with 'universal' $TERM

I have a need for very simple terminal (no multiple tabs, no menu etc. - I use XMonad so splitting windows is not necessary as well). I tried to use xterm but unfortunately I need to be able to ...
2
votes
3answers
7k views

How do you display xterm colors with putty/bash?

Putty has this "allow terminal use xterm 256 colour mode" that I'd like to use, but I don't know how. I've been using a color.sh script to output echo statements and commands with colors, and I want ...
2
votes
2answers
820 views

Simple terminal emulator that supports cut/paste with other programs?

Coming from Mac OS X, I've enjoyed being able to cut/copy/paste text to and from its built in Terminal application. Now, I am planning to migrate to a tiling window manager like scrotwm, xmonad, ...
2
votes
1answer
44 views

What modern terminal programs are still configurable per-invocation? [closed]

What terminal programs have the following characteristics? Unicode support geometry, fg/bg colours, other options settable from command line on a per-invocation basis actively supported ...
2
votes
1answer
262 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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
110 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: ...
2
votes
1answer
182 views

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 ...
2
votes
1answer
95 views

Make 'CTRL-/' behave the same in vtty and xterm

When I press Ctrl+/ in a graphical terminal (e.g. xterm) I get "undo". However, in a virtual terminal (e.g. Ctrl+Alt+F1) I get "backspace". In practice I run into this when I'm using emacs in a ...
2
votes
1answer
55 views

How to scroll to the bottom or to the beginning of a terminal session in xterm?

If I want to move up or down in xterm page by page I do it with <shift> + <PgUp> and <shift> + <PgDn>. But how can I completely move to the bottom or to the beginning of the ...
2
votes
2answers
426 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 ...
2
votes
1answer
491 views

How to configure screen-restore in a terminal?

Depending on the terminal/environment following sequence has different effects: $ ls 1 2 $ man ls enter q Either I see last displayed man-page screen above the current prompt or the ls output and ...
2
votes
1answer
710 views

Opening a usable xterm window through bash script

I often have projects for which I need multiple terminal windows open at different locations, and setting up my workspace each time I want to work on this project takes a long time, so I'd like to be ...
2
votes
1answer
312 views

Colors wrong in wine with new x server with 8 bit color

I have an old pc game (win95) that I'm trying to play through wine on my ubuntu box. I got it running and all that pretty jazz using this code; $ xinit /usr/bin/xterm -- :1 -ac -depth 8 Then in the ...
2
votes
2answers
40 views

How to fix the accents in xterm top bar?

I don't have any problem with accent (I'm French) inside xterm. However, like you can see on this screenshot, the top bar of xterm does have some accents issues: However my Debian unstable system ...
2
votes
2answers
145 views

vim colors not automatically loaded (probable Vundle conflict)

I've been trying to port my Windows .vimrc to Linux, to use on the command line (on gnome-terminal). Everything works fine, except for the colorscheme. It looks like it's loaded (:colorscheme returns ...
2
votes
1answer
790 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 – ...
2
votes
2answers
591 views

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 ...
2
votes
1answer
467 views

Emacs mode in zsh: M-b M-f etc. show weird symbols

I have set up zsh to use emacs mode. But typing Alt+f or Alt+b inserts weird symbols (accented letters and so on), rather than moving around by word in the shell like it should. Since I don't ever ...
2
votes
1answer
39 views

How to select block of text in xterm

In some terminal emulators like gnome-terminal or terminator, I am able to select a block of text by pressing Ctrl and then clicking the mouse and dragging. This is useful, let's say, to select an ...
2
votes
2answers
80 views

Why is vim not being opened in its own screen?

When I type vim in xterm the program is not opened in its own screen, but in the very same I am writing commands in. Let me explain: for example, lets say I type in the terminal ls -l /usr/bin and get ...
2
votes
1answer
56 views

Specify rows/columns of a fullscreen X terminal?

For presentations it would be convenient to have a X terminal which supports following workflow: make it fullscreen specify how many columns/rows should be displayed -> the terminal then ...
2
votes
0answers
101 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 ...
2
votes
1answer
65 views

Color terminal under USS

I've been using a remote terminal connected to USS under a mainframe for some time. Is there a way to configure this terminal to be colored? I'm using PuTTY and xterm. Added: USS stands for UNIX ...
1
vote
1answer
96 views

zsh: set TERM=screen-256color in tmux, but xterm-256color without tmux

I need my $TERM to be xterm-256color outside of tmux (in "plain" terminal with zsh), but screen-256color inside tmux. First I tried: add export TERM='xterm-256color' to my ~/.zshrc. add set -g ...
1
vote
1answer
697 views

Running an xterm remotely with ssh -Y, defies the coloring I setup in .Xresources

The xterm seems to not read the colors I set in my ~/.Xresources file when I connect to a Linux PC remotely. Basically, if I'm sitting in front of my PC and I run an xterm from Xsession, the colors ...
1
vote
2answers
266 views

Keeping xterm terminal alive on crunchbang linux debian wheezy

I like to keep a number of terminals open at different locations on my development VM. For this I use terminator because I got a big screen and I can divide the terminals anyway I want. But after ...
1
vote
2answers
122 views

Doubts about creating a .Xresources file.

I want to customize the look and feel of my xterm and have read that the way to do it is creating a .Xresources file and saving there the desired configuration. I've also learned that this file can ...
1
vote
1answer
74 views

Change terminal type for screen over a serial connection

I am connecting to an embedded Linux board using screen over a serial link and trying to change the terminal type, as the default vt100 is pretty restrictive in terms of colours and scrolling etc. ...
1
vote
2answers
1k 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 ...
1
vote
1answer
120 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 ...
1
vote
1answer
562 views

Control Initial size of xfce4-terminal?

As I didn't see the option to configure start window size of xfce4's terminal program , is it configurable ?
1
vote
2answers
627 views

Is there a clipboard on non-GUI Ubuntu / Linux systems? Can I synchronize it with my local (OS X) clipboard?

I spend a lot of time on Mac OS X as a desktop system, and on the Mac there are two nice little utilities for the command line, pbcopy and pbpaste which can accept stdin and write to stdout. Is there ...
1
vote
1answer
52 views

Why does terminal cursor flash briefly

I am using Fedora 20, and whenever a new line opens in the command line terminal, the cursor, which is a solid black rectangle, flashes on and off about ten times, then remains steady. I think I have ...
1
vote
1answer
69 views

Can I enable framebuffer support in xterm [closed]

Can I enable framebuffer support in xterm? If yes, how can I do it? If no, what terminal emulator have a framebuffer support?
1
vote
2answers
182 views

xterm login prompt not gnome login prompt

instead of loading gdm3 when i turn my pc on, i want to load into an xterm with just a window manager (no desktop environment) and i want the xterm to have the login prompt as its first action so that ...
1
vote
1answer
519 views

xterm cygwin setting vtfonts -> truetype fonts, utf8-encoding, utf8-fonts set by default

I'm using cygwin and cygwin X server, I'm having a problem with xterm. Every time I start it I have to set its parameters via the menu. Is there a way to make them set to true by default? I found ...
1
vote
1answer
143 views

C-u leaves ghost characters at command prompt in xterm

I am using bash (v3.2.25) on linux, through xterm, through exceed. When using Ctrlu the cursor is moved next to the bash character prompt ($) but the rest of the line remains and is not erased as ...
1
vote
1answer
365 views

How to set keycodes manually in vim?

Sometimes when I fire up vim, my Insert key doesn't work (need to use i) and my arrows don't work (they give me letters instead). I'm guessing this has to do with my keys not being mapped correctly. ...
1
vote
0answers
158 views

Make xterm transparent

I'm going through the process of making xterm transparent, I've followed the steps on this site. I installed transset-df and Xcompmgr and added this line to my .bashrc file [ -n "$XTERM_VERSION" ] ...
1
vote
2answers
153 views

Is it possible to control xterm (or specifically a process that xterm has started) from another process?

If I start a process with xterm like this (where omxplayer is the process xterm is starting): xterm -fullscreen -fg black -bg black -e omxplayer -o hdmi -r %f Is it possible for me to write to ...