Questions tagged [xterm]

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

244 questions
78
votes
3 answers

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) with xterm and a really basic setup, and I can't…
52
votes
4 answers

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 as suggested here without any…
Max Cameron
  • 1,601
47
votes
1 answer

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
  • 3,085
  • 13
  • 35
  • 43
46
votes
1 answer

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, when I run vim in a tmux session the colors don't…
39
votes
4 answers

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 frequently want to do. When I try, it pastes strange…
Gregory
  • 563
  • 2
  • 5
  • 13
36
votes
6 answers

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? Can I use color names or must I use their RGB…
26
votes
3 answers

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 scroll just one line up or down? Shift+Up and…
23
votes
3 answers

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 paste in another) and if so, how?
JP19
22
votes
4 answers

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

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//.fonts directory. Upon running XQuartz several files including fonts.dir are created. This file has X11 font names of…
21
votes
3 answers

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 screen to execute ./script_x.sh. Now, for whatever…
19
votes
8 answers

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 whenever it's displaying a bright color: I hate…
mike
  • 410
17
votes
2 answers

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 a way to find out the current settings in a…
16
votes
6 answers

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 res_t #…
15
votes
1 answer

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 alternate buffer they use, so that on exit nothing…
dnlgl
  • 151
  • 4
14
votes
3 answers

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 have the xterm remain open and visible so I can check…
abelenky
  • 993
1
2 3
16 17