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

learn more… | top users | synonyms

12
votes
6answers
6k views

How can I automatically update the title in an xterm running screen?

This is a bit of a followup to this question. I'm working in tcsh within GNU screen in an xterm. I have the following in my .cshrc: alias res_t 'xtset -t %h:%d "(%u:%g)" %e' # reset titlebar ...
10
votes
2answers
7k views

Vim copy-paste across terminals

The usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and ...
10
votes
8answers
5k views

How do I make XTerm not use bold?

I like using XTerm, I like its default "fixed" font, and I like using terminal colors rather than having a monochromatic terminal. However, XTerm seems to insist on using a bold version of the font ...
7
votes
3answers
7k views

How can I change the colors of my xterm using Ansi escape sequences?

I would like to change the colors (background, font, foreground) of my xterm from the commandline. I've heard that this can be done using ANSI escape sequences. If this is possible: How is it ...
7
votes
2answers
2k views

How do I prevent Cygwin's XWin Server automatically starting xterm?

Whenever I start Cygwin's X server using the "XWin Server" link in my Start menu, or by running startxwin from a Cygwin shell, I automatically get an xterm window appearing, which I neither want nor ...
7
votes
1answer
627 views

copy and paste tabs between terminal windows in X11

When I copy and paste text using the X11 mouse selection between two terminal windows, tabs are often, but not always, converted to spaces. This appears to depend on the involved terminal ...
6
votes
1answer
10k views

What is the difference between xterm and terminal in Ubuntu?

What's the difference between Terminal in Ubuntu desktop (Applications>Accessories>Terminal) and xterm? They look very similar.
6
votes
1answer
488 views

Native xterm mouse scrolling in tmux

I have decided to try tmux as GNU screen replacement and wonder if there is a way to scroll with mouse as in xterm? It is possible to enable native xterm scrolling with Shift + PageUp in tmux by set ...
5
votes
3answers
3k views

How to switch MiniBufExplorer tabs in VIM when connecting with xterm?

I just installed MiniBufExplorer in VIM on an Ubuntu server, to which I'm connecting using xterm from a Mac (via ssh). From what I gather, after giving the command :set mouse=a I can use the mouse in ...
5
votes
2answers
5k views

How do you change the default TERM value set at console login (Ubuntu)?

The $TERM shell value in Ubuntu defaults to "xterm" for a console login. How can I change it so it defaults to "xterm-color"? I'm asking because it looks like this is the easiest way to turn-on the ...
5
votes
1answer
2k views

Using screen, commands like less and man don't clear the screen afterwards

In contrast to this question I want the clearing of the screen re-enabled for less. It works fine in my xterm terminal under Cygwin/mintty or Gnome Terminal (both xterms). However, when inside a ...
5
votes
1answer
250 views

Vim: Broken colors on start

I'm using uxterm and vim with the following .vimrc: https://github.com/dbrgn/dotfiles/blob/master/.vimrc When I open a file in vim and don't push any key, colored text is rendered using bold font and ...
5
votes
1answer
401 views

get focus only by clicking the title bar of xterm

I've suffered this problem many times and so do my colleagues Sometimes after you stroked some keyboard and mouse combinations this behavior showed up : you have to click a xterm's title bar to focus ...
4
votes
2answers
5k views

Why can't I paste into xterm (XQuartz)?

I'm on a Mac (OS 10.8.2) and I'd like to start using xterm as my default terminal, rather than Terminal.app. Unfortunately, I can't paste text into an xterm window, and this is something that I ...
4
votes
2answers
688 views

alt-d alt-f etc. stops working in my xterm

Something weird sometimes happens on my Debian system. Typically at the prompt line I can use combo like alt-d to delete a word, alt-f to go to the next word, etc. But quite regularly something ...
4
votes
3answers
1k views

How can I invoke a function in bash shell script

I just wonder the distinction calling the function between $(one_function) and one_function in bash shell script. When I set the variable PS1 in ~/.bashrc, I can't invoke the function by one_func ...
4
votes
1answer
903 views

Correct way to get emacs 16 color support inside tmux?

I'm trying to get a custom color-theme (solarized) setup for my emacs that utilizes a 16 color palette, which I've already set up for my terminal (gnome-terminal). When running emacs from a normal ...
4
votes
1answer
1k views

What is the difference between screen-256 color and xterm-256color

I've just started using tmux and I'm having trouble with my colorscheme in vim. I've using the zenburn color scheme and it works fine with the default terminal settings in Ubuntu 10.04. However, ...
4
votes
3answers
2k 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
3answers
1k views

programmatic access to current xterm background color

I would like to setup the prompt colors in .bashrc depending on the colors it is using for foreground and background. For example, blue prompt if background is light and beige if it is dark. Is there ...
3
votes
3answers
1k views

XFCE not restoring xterm position on login

I really like xterm and could really like XFCE, but the two don't seem to play well together. In KDE if I log out and back in, my xterms will be restarted in the same position as when I left. It ...
3
votes
4answers
2k views

What are the advantages of using xterm over any other terminal emulator? [closed]

I've seen a lot of terminal emulators as a programmer - PuTTy, Gnome Terminal, KDE Konsole, Terminal.app, iTerm, etc. Someone showed me an 'xterm' for the first time today. I've used these other ...
3
votes
2answers
244 views

Xterm control sequence to get RGB value for ANSI color

The meat In (some) terminals you can use a sequence like this; printf "\e]4;3;rgb:cc/78/33\e\\" to set the third color in the ANSI color palette to the RGB values represented by #CC7833. Can you ...
3
votes
1answer
673 views

Vim enable mouse scroll only - not cursor positioning

I want to enable the mouse wheel for scrolling like ^e and ^y do. I don't want clicking in a buffer to move the cursor though, so :set mouse=a does not help me. Reason is that I have a bunch of gui ...
3
votes
2answers
2k views

How to scroll the terminal emulator window in smaller steps using the keyboard?

How could I scroll up and down the bash shell window (without the mouse or scroll bars, just using the keyboard)? Shift+PageUp and Shift+PageDown acts like page up and page down. But how could one ...
3
votes
1answer
690 views

How to change background/foreground color on “all” existing terminals

I am looking for a command line way to change the background & foreground colors of all open terminal (and also for any new terminal, the new settings should be applied). Using something like ...
3
votes
2answers
278 views

Vim/Cygwin: No linebreaks in :! output

I'm using Vim via MinTTY under Cygwin. When I issue a command like :!ls -la the displayed output doesn't show newlines correctly. It rather just jumps to the virtual column of the next line, where ...
3
votes
1answer
650 views

How can I change the color of xterm titlebar?

I want to automatically change the color of my xterm titlebar. I would like to put code into my .bashrc so that the color changes automatically (say depending on the directory I am in). I know how to ...
3
votes
4answers
149 views

When using screen, I see me as logged in twice through 'who'

I've been using Gnu screen for some time now, and I absolutely love it! I installed it on a second RHEL server of mine, and I'm seeing odd behavior when I issue a 'who' on the new server. 'who' ...
3
votes
0answers
494 views

Enabling Italics, Underline on Emacs, Xterm and Putty

I'm using a Ubuntu (11.04 Server Edition) virtual machine as my development environment. It doesn't have a desktop environment since I don't think its necessary and I want to keep it lightweight. I'm ...
2
votes
4answers
18k views

PuTTY or xterm for Mac?

I am using a MacBook Pro running Mac OS X 10.5. I am new to this development environment, and previously worked on Windows. Are there similar tools on Mac like PuTTY or xterm used on Linux/Windows ...
2
votes
2answers
2k views

Leave xterm open after task is complete

I have an automated test that I run with the xterm -e command: xterm -e RunMyTests At the end of the test-run, it prints out a summary of the results and some statistics to stdout. I'd like to ...
2
votes
4answers
275 views

Prevent vim from clearing the clipboard on exit

If I copy text into the xterm clipboard from vim, it is cleared when I exit vim. How do I prevent this?
2
votes
1answer
364 views

VIM strange behaviour F1-10

Recently I began encountering a really annoying behavior in VIM: No matter if I am in insert or normal mode, if I press one of the F keys, vim does not what it is normally intended to do: F1 - ...
2
votes
2answers
3k views

how to insert unicode characters in xterm

... assuming it supports Unicode ?
2
votes
1answer
236 views

xterm -title “test” doesnt work in Ubuntu 8.04

i am trying to set a title ("test") on the window I am opening with xterm (xterm -title "test"). It isn't working. How can I fix this?
2
votes
3answers
1k views

Terminal IRC client with xterm-256color support

irssi doesn't support 256 colors. WeeChat doesn't support 256 colors. BitchX doesn't support 256 colors. And yet vim, my text editor, supports 256 colors. Am I missing a secret fork of one of the ...
2
votes
1answer
79 views

Alias empty command in terminal

I would like to clear my terminal upon hitting submitting an empty command. In other words, I would like to call clear when I hit Enter on empty line. Is that possible? I understand that is not how ...
2
votes
4answers
3k views

Cygwin X Server configuration

I remember a few years back, I was able to edit some shell script and then create a shortcut to it, so that anytime I needed an xterm I just used to click on the shortcut which would start the X ...
2
votes
1answer
5k views

What is Arch Linux's default terminal?

Using the command echo $TERM, I get the output 'xterm'. However, I have not done anything to install the X Windowing System, and as far as I know, Xterm cannot run without it, and Arch does not ...
2
votes
2answers
1k views

Getting a sane terminal going on OS X [closed]

I am normally a Linux user and my default terminal is urxvt, but because of school (office documents and so) I bought a new laptop - a Macintosh. I think the system itself works nicely, though the ...
2
votes
2answers
4k views

How can I enable xterm 256 in ubuntu 8.04?

How can xterm 256 be enabled in ubuntu 8.04? I was able to get that working in 9.10, but not 8.04.
2
votes
2answers
1k views

GNU screen fails to resize with Snow Leopard xterm

I use 120x80 xterms under X11 (which I start via xterm -geometry 120x80). I also use some constantly running GNU screen sessions on a couple of different hosts -- both local to the mac and on some ...
2
votes
1answer
628 views

Why does xterm retain keyboard layout even after change?

I use Dvorak as my primary keyboard layout, but I like to play nethack, so I change to qwerty and open xterm: alias nhterm="nohup >/dev/null xterm -fa \"Andale Mono\" -fs 20 -fullscreen -fg white ...
2
votes
1answer
709 views

Why are xterm colors different than gnome-terminal colors?

In my work environment I use xterm, and sometimes gnome-terminal. I like gnome terminal, but some of the colors are much harder to read than those of my xterm. I am wondering why the colors ...
2
votes
1answer
254 views

Distinguishing local and remote access in shell (TERM-related)

My default TERM is xterm-color. I would like it to be xterm-256color when I am working on my machine locally, but if I ssh to it I want to have it be xterm-color. How do I distinguish these two cases? ...
2
votes
3answers
898 views

WMII Terminal Width of 80 Columns for xterm (colrules)

I'm trying to get WMII to split horizontally at 80 columns for xterm, but I'm only seeing a way to do this via percentage. It would be nice to be able to set it by something other than percentage for ...
2
votes
1answer
26 views

How do I disable pastying into my xterm?

Many times I have accedentally pasted into my Xterm window, with the result that whatever text is pasted in is executed by my shell (zsh). I would like to know if I can disable pasting into Xterm. ...
2
votes
1answer
563 views

opening vim in tmux, i've got fonts in bold

So I've got a problem, when opening vim in tmux, all fonts become in bold. my in configuration i have: set t_Co=256. Even when this being set to 8, some bolding disappears, on some keywords. I'm ...
2
votes
2answers
389 views

xterm select text with keyboard that is anywhere in window

Is there a way to select and copy text anywhere in terminal(xterm) window(that is, not only current shell line, but also output from previous commands) using only keyboard?