Skip to main content

Questions tagged [xterm]

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

Filter by
Sorted by
Tagged with
70 votes
3 answers
124k views

How to make `ls` color its output by default, without setting up an alias?

I don't want an alias (alias ls='ls --color'), and I had previously set this up on Mac OSX using CLICOLOR environment variable which magically brought colors to ls. Now I am on Linux (Arch x86-64) ...
Armen Michaeli's user avatar
52 votes
4 answers
14k views

How do I get the numpad to work in vim using iterm2 on osx with term=xterm?

My numpad works in iterm2 (bash), but it inserts characters instead of numbers in insert mode for vim. How can I get vim to recognise the correct escape codes. I have tried editing the escape codes ...
J0hnG4lt's user avatar
  • 1,591
47 votes
1 answer
64k 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.
alwbtc's user avatar
  • 2,975
42 votes
1 answer
29k 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, ...
Gabriel Southern's user avatar
38 votes
4 answers
55k 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 ...
Gregory's user avatar
  • 553
36 votes
6 answers
41k 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 done? ...
Nathan Fellman's user avatar
25 votes
3 answers
16k 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 ...
Misha Moroshko's user avatar
23 votes
3 answers
32k 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 ...
user avatar
22 votes
4 answers
36k views

How do you know the correct name to use for X11 fonts for XTerm*faceName or xterm -fa <NAME>?

I am using Mac OS X 10.8 and XQuartz 2.7.2. I have downloaded and placed several TrueType fonts named *.ttf in my /Users/<name>/.fonts directory. Upon running XQuartz several files including ...
Jason Waldrop's user avatar
21 votes
3 answers
3k views

Move a program started in GNU screen out to another terminal

I want to terminate an instance of GNU screen whilst preserving the process running inside it. So I opened my regular terminal emulator program and executed screen. Then I used that instance of ...
voices's user avatar
  • 2,741
19 votes
8 answers
16k 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 ...
mike's user avatar
  • 410
17 votes
2 answers
7k 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 ...
Miserable Variable's user avatar
15 votes
6 answers
14k 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 ...
Nathan Fellman's user avatar
15 votes
1 answer
1k views

How to disable alternate buffer in GNU screen itself but not for vim, less inside it?

What I would like to accomplish is mouse wheel scrolling behavior that I'm used to in a regular ssh session. In bash prompt mouse wheel should scroll my terminal output, and inside less/vim - the ...
dnlgl's user avatar
  • 151
14 votes
3 answers
24k 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 ...
abelenky's user avatar
  • 983
13 votes
2 answers
3k 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 ...
Peter Eisentraut's user avatar
12 votes
4 answers
10k 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 ...
me_and's user avatar
  • 2,256
11 votes
9 answers
19k views

Why do I sometimes get 'sh: $'\302\211 ... ': command not found' in xterm/sh?

Sometimes when I simply type a valid command like 'find ...', or anything really, I get back the following, which is completely unexpected and confusing (... is command name I type): sh: $'\302\211...'...
Armen Michaeli's user avatar
11 votes
3 answers
10k views

Start Xterm Maximized

I want to start xterm in maximized mode. For example: xterm -maximized. Could you suggest me a way (either via command line or via Xdefaults or anything else)? There is a lot of discussion on ...
user avatar
10 votes
5 answers
2k 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?
Clark Gaebel's user avatar
10 votes
1 answer
1k 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 ...
Mikulas Dite's user avatar
10 votes
1 answer
10k views

Increasing scroll back length of xterm

I am logged in remotely to a CentOS 6.6 machine from a Mac with Yosemite running XQuartz 2.7.8. When I run xterm on my CentOS machine, I'm can only scroll back about 1200 lines. How do I increase ...
irritable_phd_syndrome's user avatar
10 votes
1 answer
4k views

I can't get XFCE terminal to display VIM's colorschemes

That's what I have in my .bashrc if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then export TERM=xterm-256color fi In my .vimrc I have: set t_Co=256 echo $TERM prints xterm-256color tput colors ...
Sleeper's user avatar
  • 101
9 votes
5 answers
18k views

Compiling vim with xterm_clipboard support

I checked out latest vim7 from cvs repository. cvs -z3 -d:pserver:[email protected]:/cvsroot/vim checkout vim7 I tried: ./configure --enable-xterm_clipboard but I got - WARNING: ...
user avatar
9 votes
2 answers
14k views

How to get TrueType fonts to display in xterm from a .Xresources file?

I'm trying to get a decent (read: not standard X11 load set) font for using xterm on Mac OS X 10.8. I like Bitstream Vera Mono and it is in a file VeraMono.ttf. I have placed this file in my .fonts ...
Jason Waldrop's user avatar
9 votes
2 answers
8k views

How do you change the xterm cursor to an I-beam or vertical bar?

I want to change the cursor in xterm to an I-beam or vertical bar. From what I can see, there may be support for this. My question is what do I insert into my ~/.Xdefaults or ~/.bashrc in order to ...
Guy with crooked face's user avatar
9 votes
1 answer
3k 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 ...
Matthew's user avatar
  • 1,328
8 votes
2 answers
22k 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 ...
cmcginty's user avatar
  • 3,289
8 votes
3 answers
3k 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 ...
Weezy's user avatar
  • 535
8 votes
1 answer
3k 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 ...
adeandrade's user avatar
7 votes
1 answer
1k 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 ...
sknaumov's user avatar
  • 171
6 votes
3 answers
4k 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 ...
GJ.'s user avatar
  • 9,883
6 votes
1 answer
23k 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 ...
Anachrome's user avatar
  • 103
6 votes
1 answer
5k views

How can I bind two distinct actions to Ctrl-Shift-Key and Ctrl-Key in vi

I am trying to map two different actions to e.g. CtrlShifta and Ctrla: map <C-S-a> :echo "ctrl-shift-a received"<CR> map <C-a> :echo "ctrl-a received"<CR> But all I ...
cfi's user avatar
  • 424
6 votes
1 answer
7k views

What do the 16 definable colors in .Xresources do?

I've found an endless supply of themes availble online that use hex-color codes to change how X windows display, but I can't find any documentation that clearly states what each color does. For ...
Volumetricsteve's user avatar
6 votes
2 answers
5k views

How to get rid of error message on ssh login --> "setterm: terminal xterm does not support --blength"

Whenever I ssh into my arch linux box I get this error message: setterm: terminal xterm does not support --blength Also when executing: $ sudo su - Interestingly not when using $ sudo su I have ...
Sven M.'s user avatar
  • 321
6 votes
3 answers
4k 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)
kissgyorgy's user avatar
5 votes
4 answers
36k 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 (...
George2's user avatar
  • 5,079
5 votes
2 answers
7k views

xterm not wrapping text properly

I'm configuring both my gnome-terminal and xterm columns (i still haven't picked which of these I will be using) and I have a couple of issues I would like to fix: the typing area seems to be smaller ...
mulllhausen's user avatar
5 votes
2 answers
9k views

how to insert unicode characters in xterm

... assuming it supports Unicode ?
Mihai Rotaru's user avatar
  • 2,909
5 votes
3 answers
2k 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. ...
Jonas Schubert Erlandsson's user avatar
5 votes
3 answers
8k views

How to fine-tune TTF rendering in xterm?

I've been trying for the past couple of days to get xterm to display the same font that I have gotten used to in konsole for the last few years – it works for me quite well even with relatively small ...
koniiiik's user avatar
  • 855
5 votes
1 answer
774 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 ...
Danilo Bargen's user avatar
5 votes
1 answer
3k 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 ...
holms's user avatar
  • 3,287
5 votes
0 answers
2k views

Ctrl+Shift+Page{Up,Down} in tmux

Trying to make C-S-PageUp and C-S-PageDown work in tmux but no success so far. Here are my config steps: bind-key -n C-PageUp previous-window bind-key -n C-PageDown next-window bind-key -n C-S-PageUp ...
Luke Skywalker's user avatar
5 votes
1 answer
1k 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 ...
sandyleo's user avatar
  • 153
4 votes
2 answers
31k views

Config files for xterm

Is there any config files for xterm for default settings? For example, on my system, xterm start with black text on white background, and I want it the other way around. I can do it by starting it ...
petersohn's user avatar
  • 2,692
4 votes
3 answers
10k views

Starting xterm under Cygwin from the Start Menu

I'm running Cygwin under Windows 7. How can I create a start menu entry (or desktop shortcut) to start xterm? Currently, I have to start the Cygwin/X server, and each time I want a new xterm, I have ...
PonyEars's user avatar
  • 947
4 votes
2 answers
2k views

Clicking far away in vim in tmux in urxvt

I use vim inside tmux inside urxvt, and the mouse works perfectly well for clicking and selecting text, except when I want to click too far to the right. It seems to be related to the distance in ...
paps's user avatar
  • 201
4 votes
1 answer
6k views

How to switch between terminal, nerdtree and text editor?

I normally switch screen in vim using ctrl+h or ctrl+l to switch between NerdTree and vim main window. Vim8 got :term command to bring up terminal which is great! But I cannot figure out how to switch ...
NewPy's user avatar
  • 153

1
2 3 4 5