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

learn more… | top users | synonyms

3
votes
1answer
249 views

Why do I get this 'Erase is backspace' message after I do a reset in xterm?

So when I do a reset in xterm I get something like this: Erase is backspace. [omarg@computer]: I've already checked my .bashrc and .Xdefaults files but it doesn't seem like that message is being ...
3
votes
1answer
1k views

How to tell xfce (or an application) where to put the window when starting?

I have a number of different boxes, all running debian and xfce. When I launch multiple applications (specifically xterm windows) on one machine, they end up all in the center of the desktop, and they ...
3
votes
1answer
1k 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
1answer
379 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
524 views

How can I run byobu from xterm at starting?

I set up byobu auto run with the command byobu-enable. It's great when I log in from terminal or ssh, but how can I make xterm attach to it automatically ? (mate-terminal from Linux mint especially)
3
votes
2answers
751 views

Why use a pts for xterm or anything

I keep reading on multiple sites that pts device files are used for pseudo-terminals which are "not directly connected to the hardware" (ssh, telnet). Since xterm running on you machine is directly ...
3
votes
1answer
369 views

Weird stuff going on in terminal and emacs since upgrade to Ubuntu 10.10

I can't really describe the slightly odd behaviour of my terminal window and occasionally also on emacs, but here's a picture of it happening: If I press CTRL+L, it disappears. What could cause ...
3
votes
1answer
310 views

Xterm is not completely erasing field lines

We are running Windows Clients with Cygwin XServer that has a bash script application running on AIX Unix. We have a login script using expect to ssh into the server and then xterm to create the ...
3
votes
2answers
826 views

Xterm not loading color schemes

I work a lot with vim and decided to switch to cli version, I chose xterm because its the only terminal I know of that properly recognizes Alt shortcuts (and I have lots of those bound in vim). My ...
3
votes
1answer
131 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
1answer
844 views

SSH within SSH displays the wrong machine name in the xterm title bar

I am working on a distributed system connecting to several servers at once. Nothing is started manually in the program I am working on, but this is how to recreate the error manually. I start a xterm ...
3
votes
1answer
776 views

How to configure the terminal so that a mouse click will move the cursor to the current mouse position

What I'm looking for is how to configure the terminal so that it behaves like nano -m. I know that xterm inside fvwm2 running on slackware does this but neither gnome or kde does it. I have tested ...
3
votes
0answers
858 views

How to efficiently use Console2 with screen/tmux/byobu?

I'm using Console 2 and msysgit's bash to SSH into my Linux machines. There, I'm using screen (but considering tmux and/or byobu), but currently simply with one single-terminal session per ...
3
votes
2answers
542 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
2answers
9k 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
1answer
2k 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
349 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
3answers
3k 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
2answers
343 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
311 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
227 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
78 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
8k 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
914 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
74 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
381 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
131 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
204 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
103 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
52 views

How is the display updated when the erase character is typed in a terminal emulator?

As I understand it, when typing characters in a terminal emulator they appear because they are "echoed". We imagine that the terminal is a separate device communicating with the computer via a two-way ...
2
votes
1answer
21 views

`top` not refreshing screen on exit

When I exit top, the prompt reappears at the bottom and I can see the bottom of the last thing it was showing. How can I get top to behave like less i.e. refresh the screen back to when I launched ...
2
votes
1answer
204 views

Opening a terminal other than xterm, running a command on it, and not closing the terminal after it succesfully finished

I have the following script in my arch linux box: #!/bin/bash xterm -e "sudo pacman -Syu;bash" This will fire up an xterm, and run the command sudo pacman -Syu on it. Because of the ;bash part, it ...
2
votes
2answers
525 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
2answers
96 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
707 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
2answers
748 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 ...
2
votes
1answer
327 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
1answer
48 views

What does xterm's Escape Sequence option do and how do I enable it?

xterm's control-right-click menu contains an option named Escape sequence. It is always disabled ("grayed out") in Ubuntu-14.04. What is this option is used for? How do I enable it? I am looking for ...
2
votes
2answers
83 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
1answer
845 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 ...
2
votes
2answers
681 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
482 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
0answers
158 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 ...
2
votes
1answer
130 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
102 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
67 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
152 views

Difference between urxvt -e and xterm -e

Create an executable file file1 as follows: cat > file1 <<EOF #!/bin/bash mutt -e "push '<'" EOF chmod +x file1 Running ./file1 in an existing terminal executes mutt and select the ...
2
votes
0answers
118 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
71 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 ...