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

learn more… | top users | synonyms

2
votes
2answers
209 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)? ...
1
vote
2answers
191 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 ...
14
votes
3answers
3k views

Which terminal type am I using?

I have tested this with both Ubuntu 12.04 and Debian 7. When I do echo $TERM I get xterm But if I use the dropdown menu "help" > "about" then it says gnome terminal 3.4.1.1. Does this mean I am ...
5
votes
1answer
506 views

What's the right value of $TERM for emacs' ansi-term, especially if 'eterm-color' isn't available after SSH?

I'm currently setting $TERM to xterm-256color: if [[ -n "$EMACS" ]]; then export TERM=xterm-256color alias emacs="emacsclient --no-wait" export EDITOR="emacsclient --no-wait" export ...
2
votes
2answers
490 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 ...
3
votes
2answers
501 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 ...
1
vote
0answers
131 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 ...
1
vote
1answer
590 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
0answers
106 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 ...
5
votes
3answers
136 views

Getting unexpected colorized output on several commands

I just added this to my .bashrc to get colorized output with less: # Colorize less man pages. export LESS_TERMCAP_md=$'\e[01;34m' export LESS_TERMCAP_us=$'\e[01;33m' export ...
3
votes
1answer
336 views

TERM=(linux|xterm) vi in an xterm or the AAABBBBBBCCDDD-problem

Usually when I want to run vim in a desktop konsole session, I make sure the TERM variable is set to linux as the arrow keys don't work in insert mode with TERM=xterm. They show capital A..D instead ...
3
votes
1answer
541 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 ...
6
votes
1answer
285 views

Emacs commands in xterm

I found that the commands I used to use in gnome-terminal, those I learned in Emacs, are only partially working in xterm. In some cases, I get strange chars like ÿ, æ, and â instead. Do you know how ...
0
votes
1answer
96 views

VNUML - 'brctl' command doesn't work in xterms

I have installed vnuml and bridge-utils on my machine, but am unable to run the brctl command on the xterm terminals that popup after building the simulation. I get a 'command not found' error. I am, ...
1
vote
0answers
125 views

How to setup keyboard shortcut that enters predefined text into X11 xterminal via SSH from mac OS?

I do a lot of remote programming on my CentOS linux server by opening an X11 xterminal window on my Mac OS, and SSH into the server. I'm looking for an easy to use method to enter a predefined text ...
2
votes
1answer
285 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
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 ...
3
votes
1answer
307 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 ...
0
votes
1answer
650 views

RHEL6: system default font

When I fire up urxvt or xterm, by default the font is a sans-serif monospace unaliased font. I would like to make this my font in other applications, but I can't find it in my system font list (i.e. I ...
2
votes
1answer
766 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 ...
1
vote
0answers
66 views

How iconify xterm when it loses focus?

I am attempting iconify a xterm terminal when it loses focus in fluxbox. I am following this wiki: http://fluxbox-wiki.org/index.php?title=Make_xterm_act_like_a_PC_game_console And so far, I've got ...
3
votes
4answers
4k views

Xterm with Solarized only showing dark background without font colors

I am trying to get the Solarized color scheme for xterm, but have not had much success with it. I am running Debian 6 and downloaded the Xresources to ~/.Xresources. After loading the new settings ...
3
votes
1answer
687 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 ...
0
votes
1answer
310 views

How to change keyboard speed in the Linux console? [duplicate]

When I press Ctrl + Alt + F1 the desktop environment disappears and a terminal window appears. Pressing Ctrl + Alt + F7 brings me back to DE. This terminal is useful when the DE hangs for some reason ...
-2
votes
2answers
3k views

Desktop Manager doesn't start with xorg

I've just installed Arch and I have installed gnome, but when I type startx I have the following problem waiting for X server to shut down Server terminated successfully (0). Closing log file.c: ...
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
116 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: ...
3
votes
1answer
115 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
201 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 ...
1
vote
1answer
716 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 ...
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 ...
2
votes
1answer
833 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
323 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 ...
1
vote
1answer
147 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 ...
3
votes
1answer
477 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)
4
votes
2answers
651 views

Tmux eclipsed colorized output of ls

I'm running Xubuntu 12.04, and when I use the Terminal I get colored filenames from ls. But inside tmux, everything ls prints is white. I know my tmux supports color, though, because I get color ...
3
votes
3answers
357 views

Sed processed file displays differently in vi vs cat

I can't tell if sed is mucking my file up. In vi or less it displays properly, but cat and more insert other characters. why are they showing up differently I am on a redhat linux system with a ...
11
votes
3answers
7k views

How to get VIM to display 256 colors properly

I'm trying to get 256 color theme files to work with VIM under xterm. This is peaksea how it looks for me: How it should look: I've tried following the tips on the wiki page to no avail. set ...
3
votes
0answers
755 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 ...
2
votes
1answer
192 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 ...
0
votes
0answers
28 views

Change title on xterm [duplicate]

Possible Duplicate: Display command in xterm titlebar Like konsole's tabs on KDE I want the title on xterm do the same thing (automatically changes). ¿Can anyone teach me? Thanks!
3
votes
1answer
739 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 ...
1
vote
2answers
653 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 ...
9
votes
3answers
296 views

How can my script know when I'm in a virtual console vs. an xterm?

A few of my scripts (keymap changing, public key adding) need to act differently when in a virtual console vs. in an xterm. What's the real code for #!/bin/ksh if [[ in_a_virtual_console ]]; then ...
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 ...
3
votes
0answers
341 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 ...
3
votes
1answer
2k views

How to configure the double click behavior in an X terminal?

Under different Unix/Linux systems I've observed different double click behavior in X terminal applications (e.g. xterm). Sometimes a double click selects everything left and right until the next ...
5
votes
1answer
1k views

How can I save the Xterm configuration I set at runtime?

I configured my xterm using the CTRL-MiddleClick and CTRL-RightClick. Is there a way to export save these settings?
5
votes
2answers
708 views

is it possible to send a control sequence to a terminal emulator using the keyboard

If you type echo -e '\eZ' and hit return in a shell running in an xterm, you'll see that the terminal emulator prints an obscure code 1;2c. This seems to indicate that xterm interprets the VT100 ...
2
votes
1answer
97 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 ...