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

learn more… | top users | synonyms

0
votes
1answer
69 views

How do I change an xterm window color on an already open window?

I have two xterm windows, window titled "A" and window titled "B". I'd like to be able to dynamically change the -bg color of "B" from the "A" terminal. something like: from xterm "A"... set ...
1
vote
1answer
78 views

How can I disable the mouse in xterm?

I would like to disable the mouse on my Xterm, as it is a common source of accidental commands, etc. How do I do this?
0
votes
3answers
5k views

MobaXTerm colors are washed out - how to configure the scheme

Out of the box, MobaXTerm's rendering of the Midnight Commander screen looks like this (ZOC by comaprison to the right; PuTTY looks similar): How can I fix this? Is there some environment variable ...
0
votes
1answer
543 views

Location of xterm fonts on Debian 7

I'm trying to get xterm working on a cloud server that I've just created. I've installed xterm, when run it I get xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-...
2
votes
1answer
93 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. ...
0
votes
1answer
112 views

who / w / logname broken in multiple terminals

I have a strange problem: In a GUI session, depending on the terminal being used the following two (related) problems appear: who and w doesn't list the user's active session logname returns ...
0
votes
1answer
17 views

Why my xterm treat Chinese chars as two?

I am using tinycorelinux 5.2, and compiled xterm 297 myself with --with-x --enable-freetye. Now the display is OK. I could see Chinese chars without problems. But when I input Chinese, there is ...
1
vote
1answer
392 views

Why does my zsh prompt wander upwards when window is too narrow?

I have a weird behaviour that seems to be a combination of zsh and maybe urxvt (?) My setup is this: I start urxvt -e 'tmux' to get myself a terminal which launches zsh as the default shell. I then ...
1
vote
2answers
358 views

xterm equivalent to -hold but only if process terminated with exit code >0

I'm running a sequence of commands in xterm: xterm -sb -bg black -fg white -e "pdflatex --shell-escape -file-line-error-style | && biber | && pdflatex --shell-escape -interaction ...
0
votes
1answer
49 views

Is there a way to Command-N a new term ssh'd into another server?

I'm becoming fond of iTerm2, especially since my dumb mighty mouse doesn't do such a great job at 3-button emulation, or I'd stick with X, but I digress. Some background: In my X environment, I can ...
1
vote
1answer
492 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......
1
vote
1answer
270 views

Define custom escape sequences in terminal

I would like to change the escape sequences used by some keys in my terminal. My goal is to define custom mappings in Vim (terminal version). In the following I use shift-space as an example, but I ...
7
votes
1answer
9k 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) ...
0
votes
1answer
136 views

Terminal auto-complete with @ symbol?

I have multiple directories that include the @ symbol within the directory name. When I do the normal tab to auto-complete a directory name it chokes if there is an @ symbol included in the name; ...
3
votes
2answers
2k 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 ...
2
votes
1answer
705 views

How to get a shell prompt in NX?

I have installed nxserver on a ubuntu machine and am able to connect to this machine via the free NX client on a windows machine. Things seem to be working fine except that the xterm has a weird NX ...
0
votes
1answer
561 views

BitVise (or alternative): SSH double tunneling / session

I would like to create an automatic profile that will: 1) SSH login to a remote server X 2) perform an SSH login (from within server X) to server Y It would be really great if such a profile will ...
0
votes
1answer
440 views

stop the cursor blinking in xterm

how can i stop the cursor from blinking in xterm? i have put the following into ~.Xresources: xterm.vt100.blink: false and run xrdb -merge ~/.Xresources but the cursor still blinks when i open ...
0
votes
2answers
447 views

Set xterm text color

in my gnome terminal i can change the profile preferences to set the text color to green. i'm not talking about the prompt (this is already set up in blue how i want it) just talking about the general ...
0
votes
2answers
70 views

Can dumping binary data in terminal be considered dangerous?

I am thinking of a scenario where unknown stream of data is printed to a terminal, isn't it so that some sequences of characters may be interpreted as commands and corrupt the system state? Or the ...
3
votes
3answers
592 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 ...
2
votes
1answer
2k views

How to increase default xterm buffer size

I understand to create a new xterm with 1000 buffer size I can do xterm -sl 1000 &. How would I do this by default for all xterms? If this cannot be done, how do I do it for the current xterm? It ...
0
votes
1answer
990 views

No entry for terminal type "xterm-256color-256color

I recently added the following (below) to .mycshrc to allow 256 color xterm and allow command line vim to operate in 256 colors, however certain command line tools like less have thrown errors xterm-...
4
votes
1answer
280 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 ...
10
votes
1answer
341 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 ...
1
vote
1answer
2k 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 ...
0
votes
0answers
156 views

Running a Command in xterm Without the Window Closing [duplicate]

I am trying to figure out how to open an xterm and execute a command in the new window without the window closing. Ideally, I would like to be able to open an xterm, switch users, and source a .cshrc ...
0
votes
1answer
1k views

set GNU screen background color

I would like screen to change the background color of the terminal (xterm) when started. I want to have a quick way of determining whether I am in screen or not. I often work over shh and it often ...
0
votes
1answer
818 views

Change XTERM change background color without clearing the screen?

Is there a way to change the background color an an xterm window without clearing the screen? I want to have a prompt that changes the entire screen's color, but I don't want to clear the screen
0
votes
1answer
1k views

Load .Xdefaults for VcXsrv (open Xming alternative)

I would like to run xterm with my Xresources. I have the .Xresources file in the user folder to which I connect through VcXsrv and also in my local PC, inside program files/vcxsrv (both .Xdefaults ...
1
vote
0answers
69 views

How iconify xterm when it loses focus?

I am attempting iconify a xterm terminal when it loses focus in fluxbox. I am following this wiki: http://fluxbox-wiki.org/index.php?title=Make_xterm_act_like_a_PC_game_console And so far, I've got ...
5
votes
1answer
442 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 ...
48
votes
4answers
11k 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 ...
1
vote
0answers
116 views

How to use Terminal.app for an xterm session

I am on Mac OS X 10.8. When I open Terminal.app and connect to a remote machine with ssh -X user@remote.machine.net the XQuartz application launches. When I type xterm into Terminal.app, an X11 ...
1
vote
0answers
716 views

Home and End keys doesn't work in vim inside tmux

I can't use home and end keys in vim, when in Tmux. I've got this strange stuff: H F H sample text my .tmux.conf: set-option -g mode-mouse on set-option -g mouse-select-pane on set-option -g mouse-...
0
votes
1answer
329 views

how to disable truetype fonts in xterm?

When Xterm starting, true type fonts enabled by default. I have to disable them everytime in xterm menu bar. Maybe there's some parameter for .Xdefaults to disable them permenantly?
2
votes
2answers
883 views

Clearing screen after quit in Windows vim with ConEmu/Cygwin

I'm trying to bring to work together 3 things: ConEmu, Cygwin and vim. The vim in question is not Cygwin vim, but the native Windows vim from gvim package (chosen because Cygwin vim does not support ...
3
votes
1answer
2k 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
3answers
4k 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 ...
4
votes
1answer
2k 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 ...
1
vote
1answer
365 views

Can I input Chinese in my xterm?

I have Chinese input working. I have xterm working. I have utf-8 working in my xterm. For example, I can see the lightning bolt unicode character. But when I input Chinese characters, I get those ...
9
votes
3answers
16k 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 ...
1
vote
1answer
2k views

What sequence does PuTTY send for ALT + DEL

When I connect to my Debian Wheezy Beta 4 server with PuTTY 0.62 on Windows 7 I'm experiencing a problem. My login shell is Zsh and it is configured to handle ALT + DEL for the action delete-word (...
2
votes
1answer
542 views

Up key for XTerm, Korn shell (while vt100 through telnet/putty works) dont work

I am using xterm on korn shell. I have defined in .kshrc as follows: set -o emacs alias __A=`echo "\020"` # up arrow = ^p = back a command alias __B=`echo "\016"` # down arrow = ^n = down a ...
1
vote
1answer
1k views

Home and End keys in Emacs don't work when run from Tmux

When I run Emacs from Tmux, the Home and End keys do not work (Home key runs the Search command as if C-s was pressed). The problem started when I added this in my ~/.bashrc file: TERM="xterm" export ...
2
votes
1answer
143 views

Line wrapping issues in bash/php

I am writing a program that prints colored lines, and the more I do with it the more I find myself working around line wrapping issues that come up. It is a sort of terminal written in php, here is ...
4
votes
1answer
1k 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 ...
2
votes
1answer
1k 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 -...
3
votes
4answers
244 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' ...
2
votes
2answers
628 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 ...