Questions tagged [xterm]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
410 views

How to get alias working on server that is connected via ssh?

I connect to another server using command: ssh -Y server1 On server1 I add an alias in .bashrc file: alias gousr='cd /opt/user/myuser' When I try to run gousr command at server1 xterm, it says "...
alwbtc's user avatar
  • 2,945
2 votes
2 answers
4k 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 display ...
Tim's user avatar
  • 183
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,257
0 votes
1 answer
266 views

Precedent for terminal key bindings for Windows or Mac Cmd key

Unix terminals send ASCII codes below 32 for Ctrl + another key, and have at least two ways of sending "meta" (viz. either prefixing code 27 or setting the high bit of an ASCII character). Is there a ...
echristopherson's user avatar
1 vote
2 answers
467 views

PuTTY pastes the terminal selection rather than the clipboard

PuTTY/KiTTY/etc. have an option to bring up a right-click menu with a Paste option in it, rather than instantly pasting. The problem with this is that if there is a selection in the terminal then ...
Coxy's user avatar
  • 2,137
42 votes
1 answer
28k 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
0 votes
1 answer
1k views

ShellScript:dialog inputbox

Somehow to interact with user using shell in Linux you can use dialog. my question about dialog --inputbox where you let user to enter a string as an answer to a question then you can redirect the ...
wisdom's user avatar
  • 497
2 votes
2 answers
2k 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?
morphles's user avatar
  • 199
2 votes
1 answer
1k views

Key repeat X11 xterm & urxvt

I've been trying to get an xmonad development environment setup on my OS X box for a little while right now. I have OS wide key repeating enabled and it's working in other apps, however when I hold ...
jaykru's user avatar
  • 51
2 votes
1 answer
394 views

Set Terminal.app proxy icon with xterm and screen

For quite a while, I've been using the supplied answers for Resume Zsh-Terminal (OS X Lion) to set the proxy icon for Terminal.app while running under zsh, and so far, it's been working quite well. ...
Itai Ferber's user avatar
1 vote
2 answers
2k views

cygwin > xterm > bash > less : MouseWheel scrolling not working

I am trying to get mousewheel scrolling to work in less, within an xterm in cygwin with XMing x-server and fvwm window manager ! I hope I make sense.. I have tried rxvt, urxvt, urxvt-X, aterm, mrxvt ...
Stefanos Kalantzis's user avatar
0 votes
1 answer
4k views

I can not start xterm anymore under Cygwin + Xming under Win 7

I am using Cygwin under Windows 7 with Xming. I can not start xterm anymore, although I was able to do it previously on the same installation. Xming is running. DISPLAY variable is set to localhost:0....
user avatar
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
0 votes
2 answers
848 views

vim txtfmt plugin " italic format not working"

Image URL After executing :MakeTestPage in vim As you can see in the image ... underline(u),bold(b),bold-underline(bu) displays correctly but what is happening to italic(i) ? It shows white ...
emtin4's user avatar
  • 103
14 votes
3 answers
23k 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
  • 963
1 vote
1 answer
934 views

Cygwin - How do I remap X-term keys?

I would like to know how to remap some of the default keys for x-term. Specifically I would like to remap the Cntrl+leftArrow and Cntrl+rightArrow keys to move a word forward or backwards. I would ...
binarycreations's user avatar
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
2 votes
2 answers
72k views

How to get xterm on RHEL6 and CentOS6 stock installs?

I have a library of virtual machines on which I am running product testing, and I am encountering an issue with xterm not being found. Originally I thought xterm was a basic terminal installed across ...
Wylie Coyote SG.'s user avatar
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
1 vote
1 answer
156 views

Finding already-loaded configuration files in Ubuntu (e.g. .Xdefaults)?

I accidentally rm'd my .Xdefaults and naturally would like it back. Normally of course I'd be SOL but I figure it's still somewhere because when I open a terminal it opens with the configuration from ...
Jake's user avatar
  • 11
2 votes
2 answers
2k views

working with graphic interface on ssh linux

We have a project involving Linux programming. Unfortunately, we have only an ssh interface, and not a convenient graphic one. What can we do? We heard that xterm can solve our problems, but we couldn'...
user avatar
1 vote
1 answer
187 views

bash xterm : redefine "word" for killing word on command line

I want to modify the behaviour of 'backward-kill-word' in xterm command line. I'd like to remove "word" defined as space or / only. For example, if I type $ tttt/tt t@tt_ttt/ttt I will get, after ...
Michel Xavier's user avatar
24 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
2 votes
1 answer
301 views

bash xterm : how to get command line before typing enter

I try to define a custom behaviour of the backward-kill-word function in bash xterm. For that, I need to catch the command line before validate it. For instances, if I type sdcds/edfdD sdf/sdf without ...
Michel Xavier's user avatar
2 votes
2 answers
6k views

How do I change the icon of an xterm?

xterm windows typically don't have an icon. I would like to know what my options are. My immediate need is specifying an icon at xterm launch (cmdline argument or Xresource-style), not dynamically ...
tzot's user avatar
  • 696
46 votes
1 answer
63k 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,945
0 votes
1 answer
565 views

Can I somehow tell an X-program (xterm, xclipboard, firefox) where and at which dimensions it should start up?

Every morning I usually start working with Cygwin like this: First I start Xming. Then I open a cygwin text-console (the one which looks like a dos-box). Then I start two xterms, and from the xterms I ...
user avatar
0 votes
4 answers
747 views

Which window manager is this and how do you get a terminal with tiny borders?

I came over the below configuration and was wondering which window manager he was using, and how you get an rxvt/xterm terminal to look like that.
Carl Seldon's user avatar
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
1 vote
1 answer
1k views

Why do fonts in xterm seem too big in OS X?

I am using xterm on OS X 10.5. If I do: xterm -fa "Monaco" -fs 10 it creates a xterm with much bigger fonts than Terminal.app w/ Monaco 10 point font. In fact, I have to downsize xterm to -fs 8 or ...
Jason Waldrop's user avatar
0 votes
4 answers
3k views

Current window size of an xterm window

I'd like to know my current xterms' window sizes. I'm using Cygwin. Is there a command to just print that to the prompt?
Robb's user avatar
  • 167
1 vote
3 answers
2k views

Arrow keys not working in vim on AIX machine

I'm currently developing some projects on an AIX machine connecting to ir using SSH. I compiled and installed vim in my home folder but I have some problems: When entering interactive mode, vim does ...
Juan Sebastian Totero's user avatar
0 votes
6 answers
2k views

adding keyboard shortcuts for OSX terminal or xterm

Is there a way to add a keyboard shortcut for a terminal command in OSX. Basically most of the times i open the terminal app in MAC in order to ssh into a certain server foo. What I want to do is add ...
I J's user avatar
  • 103
0 votes
1 answer
2k views

XTerm and a bold text

This is my Xterm config: XTerm*saveLines: 512 XTerm*reverseVideo: false XTerm*reverseWrap: true XTerm*fullCursor: true XTerm*scrollTtyOutput: on XTerm*scrollKey: on XTerm*eightBitInput: false XTerm*...
user610378's user avatar
2 votes
3 answers
1k 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 ...
Dana's user avatar
  • 121
1 vote
2 answers
833 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.
bitbucket's user avatar
  • 175
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
1 vote
1 answer
3k 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 ...
user avatar
0 votes
3 answers
1k 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 ...
sandyleo's user avatar
  • 153
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
35 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
1 vote
3 answers
2k 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 ...
Mathias Bynens'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
3 votes
1 answer
1k 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 - ...
Predator117's user avatar
1 vote
1 answer
1k 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 ...
Cocoro Cara's user avatar
4 votes
1 answer
511 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?
Amadan's user avatar
  • 1,867
0 votes
1 answer
1k 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 ...
amicitas's user avatar
  • 304
3 votes
1 answer
1k 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 ...
Jp19's user avatar
  • 33
0 votes
2 answers
2k 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 ...
jp19's user avatar
  • 1
0 votes
1 answer
716 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 ...
Narek's user avatar
  • 1,421