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

learn more… | top users | synonyms

2
votes
1answer
102 views

Windowless xterm? (Faking a terminal for a process)

I'm fighting with a rather odd problem with Matlab. The startup script is located in /opt/matlab_2013b/bin and is called matlab. When I run it in terminal, it works fine. But I want to make a ...
2
votes
1answer
807 views

Terminal: termcapinfo command not found

I added the following line to my .screenrc script such that I can use my mouse to scroll up and down in the terminal when the output is too large and long. However, when I try to source .screenrc ...
2
votes
2answers
1k views

Copy and paste text in Xterm on OpenBSD

I installed OpenBSD 5.5 using the recommended defaults. The OS came with fvwm as the window manager. How do I copy text within an Xterm and paste it into another Xterm? Using the mouse? Using only ...
2
votes
2answers
184 views

Simple terminal emulator (themable) with mark-as-copy with 'universal' $TERM

I have a need for very simple terminal (no multiple tabs, no menu etc. - I use XMonad so splitting windows is not necessary as well). I tried to use xterm but unfortunately I need to be able to ...
2
votes
2answers
218 views

How can a bash script detect support for window titling escape characters?

I have a debug trap that runs every time I enter a command in bash that sets the window title to indicate what command is running. I'm leaving out all the configuration details and boil it down to: ...
2
votes
2answers
1k views

Simple terminal emulator that supports cut/paste with other programs?

Coming from Mac OS X, I've enjoyed being able to cut/copy/paste text to and from its built in Terminal application. Now, I am planning to migrate to a tiling window manager like scrotwm, xmonad, ...
2
votes
2answers
345 views

Xt error: Can't open display!

I am trying to run xterm on my Virtualbox ubuntu VM, but when I run xterm on the VM, I keep getting the message xterm: Xt error: Can't open display!: xterm: DISPLAY is not set When I run xterm ...
2
votes
1answer
137 views

What modern terminal programs are still configurable per-invocation? [closed]

What terminal programs have the following characteristics? Unicode support geometry, fg/bg colours, other options settable from command line on a per-invocation basis actively supported ...
2
votes
2answers
980 views

xterm resizing causes shell to mess up

I'm using reflection x, which uses xterm as the terminal emulator. If I maximize and minimize the window several times, when I try to access previous commands, the text becomes messed up. The issue ...
2
votes
1answer
283 views

Extra characters in XTerm printerCommand output

I've set up .Xresources to be able to print the terminal contents to a file when pressing Alt-P: XTerm*printAttributes: 2 XTerm*printerCommand: cat - > "`mktemp --tmpdir ...
2
votes
1answer
153 views

Make 'CTRL-/' behave the same in vtty and xterm

When I press Ctrl+/ in a graphical terminal (e.g. xterm) I get "undo". However, in a virtual terminal (e.g. Ctrl+Alt+F1) I get "backspace". In practice I run into this when I'm using emacs in a ...
2
votes
1answer
33 views

xterm width and height with regard to number of pixels NOT number of characters

On X window system (TWM) of my Ubuntu 12.04, xterm has width of 484 pixel and height of 316 pixel, and its geometry is 80x24, based on xwininfo. On X window system (TWM) of my LFS 7.9, xterm has with ...
2
votes
2answers
563 views

cluster-ssh: specify terminal font

In my cssh config file, I have: terminal_font=6x13 this default font is too small for me. man cssh says, I can specify other font size with the -f argument, while using "standard X font ...
2
votes
1answer
102 views

How is the display updated when the erase character is typed in a terminal emulator?

As I understand it, when typing characters in a terminal emulator they appear because they are "echoed". We imagine that the terminal is a separate device communicating with the computer via a two-way ...
2
votes
1answer
57 views

`top` not refreshing screen on exit

When I exit top, the prompt reappears at the bottom and I can see the bottom of the last thing it was showing. How can I get top to behave like less i.e. refresh the screen back to when I launched ...
2
votes
2answers
2k views

vim colors not automatically loaded (probable Vundle conflict)

I've been trying to port my Windows .vimrc to Linux, to use on the command line (on gnome-terminal). Everything works fine, except for the colorscheme. It looks like it's loaded (:colorscheme returns ...
2
votes
2answers
1k views

Keeping xterm terminal alive on crunchbang linux debian wheezy

I like to keep a number of terminals open at different locations on my development VM. For this I use terminator because I got a big screen and I can divide the terminals anyway I want. But after ...
2
votes
2answers
2k views

How to scroll to the bottom or to the beginning of a terminal session in xterm?

If I want to move up or down in xterm page by page I do it with <shift> + <PgUp> and <shift> + <PgDn>. But how can I completely move to the bottom or to the beginning of the ...
2
votes
1answer
819 views

Change terminal type for screen over a serial connection

I am connecting to an embedded Linux board using screen over a serial link and trying to change the terminal type, as the default vt100 is pretty restrictive in terms of colours and scrolling etc. ...
2
votes
2answers
1k views

Is there a clipboard on non-GUI Ubuntu / Linux systems? Can I synchronize it with my local (OS X) clipboard?

I spend a lot of time on Mac OS X as a desktop system, and on the Mac there are two nice little utilities for the command line, pbcopy and pbpaste which can accept stdin and write to stdout. Is there ...
2
votes
1answer
374 views

Colors wrong in wine with new x server with 8 bit color

I have an old pc game (win95) that I'm trying to play through wine on my ubuntu box. I got it running and all that pretty jazz using this code; $ xinit /usr/bin/xterm -- :1 -ac -depth 8 Then in the ...
2
votes
2answers
57 views

Parse terminfo u6 string

Looking at terminfo and Parameterized Strings. Some examples from infocmp -1 xterm: cud=\E[%p1%dB, given argument 13: \E =><ESC> [ => [ %p1 PUSH parameter 1 (13) onto stack %d POP and print ...
2
votes
1answer
68 views

Strange characters after pressing numeric keyboards in VIM editor

I'm running VIM under GNU screen. When I'm in insert mode and press e.g. asterisk symbol on numeric keyboard, instead of asterisk I get <F3>, when I press e.g. 4 I get t followed by newline. My ...
2
votes
1answer
80 views

What does xterm's Escape Sequence option do and how do I enable it?

xterm's control-right-click menu contains an option named Escape sequence. It is always disabled ("grayed out") in Ubuntu-14.04. What is this option is used for? How do I enable it? I am looking for ...
2
votes
1answer
648 views

How to select block of text in xterm

In some terminal emulators like gnome-terminal or terminator, I am able to select a block of text by pressing Ctrl and then clicking the mouse and dragging. This is useful, let's say, to select an ...
2
votes
2answers
256 views

How to fix the accents in xterm top bar?

I don't have any problem with accent (I'm French) inside xterm. However, like you can see on this screenshot, the top bar of xterm does have some accents issues: However my Debian unstable system ...
2
votes
1answer
2k views

xterm cygwin setting vtfonts -> truetype fonts, utf8-encoding, utf8-fonts set by default

I'm using cygwin and cygwin X server, I'm having a problem with xterm. Every time I start it I have to set its parameters via the menu. Is there a way to make them set to true by default? I found ...
2
votes
2answers
999 views

XTerm not closing using -e option

I have an tcl script running in MWM and it starts xterm terminals with: .menu.utils.m add command -label {Xterm} -command { exec xterm -sb -T "Xterm" -sl 10000 -e su - int & } Doing ...
2
votes
1answer
560 views

Emacs mode in zsh: M-b M-f etc. show weird symbols

I have set up zsh to use emacs mode. But typing Alt+f or Alt+b inserts weird symbols (accented letters and so on), rather than moving around by word in the shell like it should. Since I don't ever ...
2
votes
1answer
338 views

emacs text mode UTF-8 characters

I can't get emacs (version 24.4.1) in text mode (-nw launch option) to display Unicode characters directly. It outputs them in escaped form, e.g. ä becomes \344. When I save the file, it is encoded as ...
2
votes
0answers
211 views

launching fish shell to new terminal of tcsh on centos

I have downloaded fish shell on my centos, but when I switch command to /bin/fish or even try to run xterm -e /bin/fish I am getting following error: Standard input: echo $_ " "; __fish_pwd ...
2
votes
1answer
225 views

How do I fc-match font of some particular encoding?

I was having a hard time setting font for xterm to use. I managed to do it with font resourse: xterm*font: -*-terminus-medium-r-*--20-*-*-*-*-*-iso10646-* But I wonder what is the corresponding ...
2
votes
1answer
137 views

Disable colours at runtime in xterm

I would like to disable colours in my xterm at runtime. Reason being that some programs lack the sanity to use them in proper way. For example: $ sane-program color output $ disable-color $ ...
2
votes
1answer
104 views

How do I remove a particular default xterm X11 translation?

I'm using xterm which comes with a set of default translations as enumerated in the man page. To #augment or #override the translations I edit my $XAPPLRESDIR/XTerm file; this works as expected. ...
2
votes
0answers
633 views

How to pass multiple commands via pssh and multiple xterms

I'm attempting to open multiple xterms and run a command as an SAP user via sudo using pssh. So far, I'm able to run PSSH to a file of servers with no check for keys, open every xterm in the servers ...
2
votes
2answers
160 views

Why is vim not being opened in its own screen?

When I type vim in xterm the program is not opened in its own screen, but in the very same I am writing commands in. Let me explain: for example, lets say I type in the terminal ls -l /usr/bin and get ...
2
votes
0answers
309 views

Difference between urxvt -e and xterm -e

Create an executable file file1 as follows: cat > file1 <<EOF #!/bin/bash mutt -e "push '<'" EOF chmod +x file1 Running ./file1 in an existing terminal executes mutt and select the ...
2
votes
1answer
198 views

Tmux is not able to distinguish between insert and shift-insert

Insert when in xterm, gives ^[[2~ and, Shift+Insert gives ^[[2;1~ All this is good until I start tmux. Note that the $TERM variable remains the same, so this issue should not be related to ...
1
vote
2answers
201 views

keybinding in xterm to shift one line up using shift+up

follow urxvt: scroll just one line How can we set keybindings so that shift+up can scroll one line up in xterm?
1
vote
2answers
2k views

Xterm: working with multiple tabs

I am used to working with multiple tabs in gnome. Opening a new tab can be done easily with Ctrl+Shift+T as well as switching between tabs (Left Alt+tab number). What are the Xterm equivalents?
1
vote
1answer
1k views

Running an xterm remotely with ssh -Y, defies the coloring I setup in .Xresources

The xterm seems to not read the colors I set in my ~/.Xresources file when I connect to a Linux PC remotely. Basically, if I'm sitting in front of my PC and I run an xterm from Xsession, the colors ...
1
vote
1answer
151 views

How to use Ctrl-Insert to copy from XTerm?

In applications like Firefox Ctrl-Insert and Shift-Insert work like Ctrl-c and Ctrl-v (modifying the secondary clipboard), but in XTerm they do not work like the common Ctrl-Shift-c and Ctrl-Shift-v: ...
1
vote
2answers
108 views

linux terminal transfer control to new terminal [closed]

in one of my shell program, I want start an xterm window from terminal and then the control of next execution should go to the newly opened window (by default the control will be in the terminal). ...
1
vote
1answer
52 views

How can I display image clearly in xterm

All of the open source software that I used,only w3m can display image clearly,I want to try to display image in xterm,how can I accomplish it? I tried 'tput' command to change the color of output ...
1
vote
1answer
193 views

Slow gtk-based terminal emulators vs konsole and xterm

I'm on an atom-powered (read: under-powered) netbook, which is nevertheless sufficient for most of my needs (it has good graphical acceleration for videos and 2D graphics such as the browser, and ...
1
vote
1answer
112 views

Does X11 still have a hardcoded limit for application resource strings?

The xterm(1) manual page states: Due to a hardcoded limit in the X libraries on the total number of resources (to 400), the resources for 256-colors are omitted when wide-character support and ...
1
vote
1answer
35 views

Missing space in `ps` output near EOL

Note the missing space before foo: $ ps wafux | grep foo [....] 21742 0.0 0.0 10688 2296 pts/2 S+ 23:30 0:00 \_ grep --color=autofoo $ echo $COLUMNS 99 Compare with this: ...
1
vote
2answers
660 views

Change key mappings for xfce4-terminal

Hi I'd like to change the key mappings slightly in xfce4-terminal, maybe similar to adding Xterm.VT100.translations to .Xresources. In particular, I want to make ctrl-backspace delete the last word, ...
1
vote
2answers
658 views

kill xterm process in a bash

I would like to kill the xterm process I started this way in a script: #!/bin/bash echo "#!/bin/bash" > /tmp/test0 grep file | awk '{print "xterm -hold -e echo",$1,"sleep 10" && pid=$!}' ...
1
vote
1answer
717 views

Xterm Ctrl+Arrow shortcut keys

I'm using xterm version 293. While navigating in a command, I normally use the short-cut keys as Ctrl+LeftArrow or Ctrl+RightArrow to move back and forth. But while doing so, rather expected ...