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

learn more… | top users | synonyms

2
votes
1answer
523 views

'less' doesn't clear screen after quit

The default behavior for 'less' is to clear the screen after quitting. This behavior stopped when I started using: export TERM=xterm Now 'less' leaves the last page I viewed on the screen, and I ...
1
vote
2answers
489 views

Ubuntu lucid not reading etc profile for new XTerm

I've added abc.sh to /etc/profile.d When I start a new XTerm the environment variables in the abc.sh are not being set in the new XTerm. This works fine if I su - in an existing XTerm.
2
votes
4answers
247 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?
1
vote
1answer
1k views

xterm fonts and font size

I am using Cygwin on Windows 7 with Xming (Xming 6.9.0.31). I have also installed the Xming fonts (Xming-fonts 7.5.0.34). I tried more or less all possible combinations from the "VT Fonts" menu in ...
0
votes
1answer
191 views

double click/click-drag-release on terminal to select a text results CTRL-C

When I double-click in a terminal, for example xterm, konsole, to select text, it'll select text and then the cursor return. It's not expected because the cursor should be not be moved. I meet this ...
4
votes
2answers
634 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 ...
7
votes
3answers
6k 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 ...
0
votes
3answers
889 views

Creating dotfiles for iTerm.app and Terminal.app — how to detect 256 color support?

I’m creating custom dotfiles (.bash_profile and the like) for use with OS X’s Terminal.app and iTerm.app. I’d like to configure some settings conditionally, based on whether the active application ...
0
votes
2answers
738 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 ...
2
votes
1answer
328 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 - ...
0
votes
1answer
650 views

Cannot type backquote or backtick in xterm

Ubuntu 10.10, XTerm(261), Keyboard layout = Canadian Somehow, the backquote (backtick = `) character can't be input does not get entered in XTerm. I type it and nothing happens. The cursor does not ...
2
votes
1answer
236 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? ...
0
votes
1answer
514 views

Disable the bell in xterm (X11/XQuartz) on OS X

I can't seem to figure out how to disable the bell when starting an xterm in XQuartz (X11) on OS X. Once my xterm window is up I can use xset -b but I don't know how to do this by default. As far ...
3
votes
1answer
640 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 ...
0
votes
2answers
997 views

xterm font color (and ubuntu rgb.txt)

I tried xterm -fg gray and xterm -fg grey but both gave Warning: color name... is not defined. I am on ubuntu and there is no rgb.txt in /etc/X11/rgb.txt How can I launch xterm with custom fg/bg ...
0
votes
1answer
372 views

In xterm the numpad 1 and 7 buttons does not work properly

I use VNC, open an xterm, and for example when I press "NumPad7", it completes "Home" command. Also "NumPad1" is mapped to "End". How to fix this? In fact there is a code for .cshrc that does the ...
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
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 ...
0
votes
3answers
1k views

kill a hung xterm

I used to rlogin/telnet a server and use xterm& to create several xterm sessions. But from time to time, the xterm may hang there and not responding at all(window can't be closed), leaving just a ...
1
vote
4answers
4k views

Compiling vim with xterm_clipboard support

I checked out latest vim7 from cvs repository. cvs -z3 -d:pserver:anonymous@vim.cvs.sf.net:/cvsroot/vim checkout vim7 I tried: ./configure --enable-xterm_clipboard but I got - WARNING: ...
9
votes
2answers
6k 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 ...
0
votes
1answer
3k views

how to copy text from xterm based terminal to some other gui application on linux

i use uxrvt ( for those who dont know, its terminal emulator based on xterm). i know its easy to copy/paste stuff from terminal to itself is a trivial thing. it can be done by mouse left click to ...
2
votes
1answer
813 views

TWM: Bring xterm to front on clicking anywhere in the window

Can someone tell me what should I put in my .twmrc, so that an xterm window is brought to front (raised) when I click anywhere in the window. Currently, I have to click on the title bar to bring it to ...
0
votes
1answer
648 views

How can I pause console output in rxvt?

I'm running rxvt in Cygwin on a Windows box. This is how I invoke it: rxvt -sr -sl 2500 -sb -geometry 90x30 -tn rxvt -fn "Lucida Console-14" -e /usr/bin/bash --login -i Anyone know how to pause the ...
5
votes
1answer
377 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 ...
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 ...
0
votes
1answer
488 views

Mac OS X Terminal.app Ubuntu 9.10 SSHD and incorrect keyboard mapping

Does anyone have any Idea how to handle this? I can't stand connecting to certain Ubuntu boxes via Mac OS X because of issues with keyboard layout etc. I have set TERM=vt100 and TERM=xterm-color in ...
2
votes
2answers
2k views

how to insert unicode characters in xterm

... assuming it supports Unicode ?
1
vote
2answers
480 views

What xterm clone should I use to add background images inside my xterm windows?

I am monitoring an application running on a couple of servers. I've already color-coded the xterm backgrounds in order to make it more clear which shells are running on which server. I'd like to ...
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 ...
0
votes
1answer
405 views

.Xresources syntax

This is a sample line from my .Xresources: XTerm.vt100.geometry: 80x64+240+120 It works, but I'm concerned about style. One thing is that I see people use things like xterm*background. What's the ...
5
votes
3answers
2k 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 ...
3
votes
2answers
272 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 ...
0
votes
1answer
44 views

Xterm is not completely erasing field lines

We have a SSH tunnel to a remote unix box from Windows clients using Cygwin. It launches a terminal program from the unix box locally on the Windows box for data input. The xterm window is launched ...
2
votes
3answers
726 views

How do you kill a Xterm instance in Tiny window Manager using mouse pointer?

The only way I know is to use exit command to come out. Is there some way to close the Xterm windows using the GUI (the mouse pointer)? Killing a lot of windows would be easier that way. I am ...
0
votes
2answers
986 views

Cygwin: xterm not starting in user $HOME…?

I've got a working Xming / Cygwin installation set up on my Windows. Well, mostly... I did set my home directory to /cygdrive/d in /etc/passwd. When I start the Cygwin Bash Shell (the pimped-up DOS ...
2
votes
1answer
1k views

Missing glyphs in Terminus font, how to setup a fallback font?

Most of my work happens in a terminal, so I need a clear, readable font. I've settled a while ago on Terminus (http://sourceforge.net/projects/terminus-font/), which works wonders for me. I added ...
1
vote
0answers
443 views

No more anti-aliased fonts in cygwin xterm?

I just recently updated my cygwin/xterm installation, and all of a sudden I don't have any more AA fonts in x-term. gVim works perfectly: I have absolutely no idea what's changed or how to fix ...
2
votes
1answer
317 views

Cygwin X start up config file location

I can't find the config file I need to modify for my install of Xwin via Cygwin. Currently when X loads it fires off and Xterm window. Essentially all I want to do is comment out/delete this line ...
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 ...
1
vote
2answers
1k views

True middle click on Mac trackpad under Leopard

The answers here: How to "middle-click" on new macbooks seem to give solutions that work for older versions of OSX, and one works for Snow Leopard. But none of them seem to work for ...
3
votes
1answer
631 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 ...
2
votes
1answer
233 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
4answers
17k 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
3answers
881 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 ...
4
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 ...
0
votes
1answer
6k 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 ...
4
votes
3answers
981 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 ...
12
votes
6answers
5k 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 ...
1
vote
1answer
317 views

Problem with single quotes in man pages

When I ssh into my Debian Lenny server and open a man page, single quotes appear to be messed up. Example from the man page of apt-get: If no package matches the given expression and the ...