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

learn more… | top users | synonyms

1
vote
1answer
24 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: ...
2
votes
1answer
49 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
2answers
95 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 ...
3
votes
1answer
58 views

What is xterm's --enable-double-buffer configure option?

When running xterm's ./configure --help there is an option --enable-double-buffer enable double-buffering I've searched the web and came across the X11 Double Buffer Extension, the Introduction of ...
0
votes
1answer
47 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, ...
2
votes
1answer
21 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 ...
5
votes
2answers
1k views

How can I save the Xterm configuration I set at runtime?

I configured my xterm using the CTRL-MiddleClick and CTRL-RightClick. Is there a way to export save these settings?
3
votes
2answers
41 views

Modular $TERM for different terminal emulators

Is there a way to set different $TERM for different terminal emulators. For example if I am in xterm the $TERM will read xterm-256color, in urxvt urxvt-256color, in sakura xterm-256color and in tmux ...
2
votes
3answers
3k views

How can I find the default (font) resource XTerm is using?

If I launch xterm with its default bitmap fonts and then select the 'Large' font from the 'VT Fonts' menu (via ctrl+right mouse), I get a very usable bitmap font with apparently good Japanese ...
2
votes
1answer
189 views

Opening a terminal other than xterm, running a command on it, and not closing the terminal after it succesfully finished

I have the following script in my arch linux box: #!/bin/bash xterm -e "sudo pacman -Syu;bash" This will fire up an xterm, and run the command sudo pacman -Syu on it. Because of the ;bash part, it ...
3
votes
2answers
96 views

Can I make text in xterm looks and feels like gnome-terminal?

The picture on top you can see my xterm, the picture under is the gnome-terminal. Ok This is what I want to get: I use the same font in both but looks different: Xterm*faceName: DejaVu Sans Mono ...
2
votes
0answers
155 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 ...
1
vote
1answer
25 views

Some letters on gnome-terminal can't be typed by specific user

I have a very strange problem on my Ubuntu 14.04 machine. I can't use some letters like r and i in gnome-terminal. Note: when my CapsLock is on I can type R and I in terminal. The problem on my ...
3
votes
0answers
854 views

How to efficiently use Console2 with screen/tmux/byobu?

I'm using Console 2 and msysgit's bash to SSH into my Linux machines. There, I'm using screen (but considering tmux and/or byobu), but currently simply with one single-terminal session per ...
11
votes
1answer
297 views

How to start XTerm with prompt at the bottom?

When starting XTerm the prompt starts at the first line of the terminal. When running commands the prompt moves down until it reaches the bottom, and from then on it stays there (not even Shift-Page ...
0
votes
1answer
111 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 ...
1
vote
1answer
150 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 ...
3
votes
3answers
390 views

How are “xterm” and “screen” related?

I am not quite sure if there is any subtle or wide differences between screen and xterm. I have used screen before and had it being described as kind of like a multiplexer and have tried xterm a few ...
2
votes
1answer
48 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 ...
11
votes
4answers
248 views

support for utf-8 encoding with lpr

While trying to send a text file to the printer via lpr from xterm, the content was corrupted beyond recognition, the cause of which was ultimately traced to the encoding of the file. If I instead ...
3
votes
1answer
53 views

Hindi fonts in xterm

xterm fails to display the Indian fonts (Hindi). Instead, it displays the garbage character. I'm using xterm version 293 on LFS I copied sample hindi text from here
5
votes
2answers
176 views

Escape code 50 in xterm

My coworker has the following in the ~/.bash_profile of many of our servers: echo -e "\033]50;SetProfile=Production\a" The text doesn't seem to matter, since this also works: echo -e ...
1
vote
2answers
109 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
68 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 ...
3
votes
3answers
335 views

How to search XTerm console history?

Is there some way to search XTerm's console history interactively, like Ctrl+Shift+f in GNOME Terminal and Terminator? I could run script in my .bashrc or possibly even patch XTerm, but it would be ...
2
votes
3answers
8k views

How do you display xterm colors with putty/bash?

Putty has this "allow terminal use xterm 256 colour mode" that I'd like to use, but I don't know how. I've been using a color.sh script to output echo statements and commands with colors, and I want ...
0
votes
0answers
41 views

fix ctrl-O in xterm?

I'm trying to investigate the vt100 alternate graphics character-set with xterm. And somehow my setup doesn't allow the examples to work correctly. The sequence "Esc(B" sets the G0 character set to ...
8
votes
2answers
396 views

How can I make unicode symbols and truetype fonts work in xterm/uxterm?

I'd like to use a truetype font in xterm/uxterm (version 278) but I get problems with unicode symbols (é for example displays fine, so I guess it's not a disabled utf8 or a locale issue): $ echo -e ...
1
vote
1answer
211 views

How to change key mapping for HOME and END keys in XTERM?

I am working on RHEL 6.4. In my old system running on RHEL 5.3, the Home is mapped to ^[[1~ and End is mapped to ^[[4~. In the new system, Home is mapped to ^[[H and End is mapped to ^[[F, which is ...
5
votes
1answer
1k views

zsh: set TERM=screen-256color in tmux, but xterm-256color without tmux

I need my $TERM to be xterm-256color outside of tmux (in "plain" terminal with zsh), but screen-256color inside tmux. First I tried: add export TERM='xterm-256color' to my ~/.zshrc. add set -g ...
2
votes
1answer
73 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 ...
0
votes
1answer
35 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?
2
votes
2answers
304 views

256 Colors in xterm and tmux [in FreeBSD 10]

So these past few days I am working to make Xterm and tmux show all the 256 colors available in them by default. I reach these conclusions: for tmux to show 256 colors you have to make xterm to ...
2
votes
1answer
129 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 ...
14
votes
2answers
2k views

How to avoid escape sequence attacks in terminals?

Reading the details of CVE-2009-4487 (which is about the danger of escape sequences in log files) I am a bit surprised. To quote CVE-2009-4487: nginx 0.7.64 writes data to a log file without ...
2
votes
2answers
83 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 ...
-1
votes
2answers
121 views

Linux Terminal SSH Username Change

I want to connect via ssh to my Ubuntu server from my Linux PC. Xterm uses my Linux PC username for the login. I've another username on the server. It's not the same name like on my Linux PC. How can ...
4
votes
1answer
131 views

Binding Shift-Enter to insert a newline without evaluating the current expression

I try to bind Shift-Enter to insert a newline without evaluating the current expression in the terminal and in repl modes. Reading through the ArchWiki, I tried setting this in my ~/.Xmodmap file and ...
1
vote
0answers
539 views

Make xterm transparent

I'm going through the process of making xterm transparent, I've followed the steps on this site. I installed transset-df and Xcompmgr and added this line to my .bashrc file [ -n "$XTERM_VERSION" ] ...
0
votes
0answers
84 views

Schemes for linux tty and xterm

I actually prefer the font and colorscheme used when I'm in a tty terminal. After I start up a window manager, the colorscheme and font are completely different when I'm in xterm -- which is expected. ...
3
votes
2answers
123 views

Why whould xterm behave differently than x-terminal-emulator when it points to the same executable?

lrwxrwxrwx 1 root root 14 Apr 19 14:36 /etc/alternatives/x-terminal-emulator -> /usr/bin/xterm Running it using these 2 calls: /usr/bin/xterm /etc/alternatives/x-terminal-emulator First ...
1
vote
1answer
74 views

Why does terminal cursor flash briefly

I am using Fedora 20, and whenever a new line opens in the command line terminal, the cursor, which is a solid black rectangle, flashes on and off about ten times, then remains steady. I think I have ...
1
vote
1answer
104 views

Can I enable framebuffer support in xterm [closed]

Can I enable framebuffer support in xterm? If yes, how can I do it? If no, what terminal emulator have a framebuffer support?
0
votes
0answers
159 views

AiX topas snapshot to web

My script for taking snapshot from TOPAS looks like this: #!/usr/bin/bash whoami export TERM="xterm" (sleep 3; echo q)| topas -Emi 2 | \ tr -d '\r' | \ ...
3
votes
1answer
107 views

After upgrade, X button in titlebar no longer closes xterm

In theory, pressing the close button should close an xterm. It did before I did an aptitude upgrade. (I'm running Debian testing). But now it doesn't—clicking the X does nothing—but only for some ...
3
votes
1answer
86 views

Terminal emulators and btsync behavior

I've downloaded the BitTorrent Sync binary. The program only provides a Web UI interface. I'm trying to create a window for the daemon, using a terminal emulator, because I don't need an always online ...
2
votes
2answers
517 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 ...
6
votes
1answer
203 views

What kind of notification is Firefox sending when a download has finished?

I'm using the dynamic window manager of suckless (dwm). I noticed that firefox is able to send nice notifications when a download has finished. See the two figures When I'm on a different tag, I ...
3
votes
2answers
1k views

How to make the login shell xterm use utf-8?

I use xterm (X-Win32 2012 Build 30 from StarNet Communications Corp) to login from a Windows 7 PC to a Red Enterprise Linux 6 (RHEL6). My problem is that all multi-byte utf-8 characters comes out ...
4
votes
2answers
103 views

How to prevent a specific instance of xterm from title changes?

If you start xterm from the command line giving it a title with the -T option xterm -T "my window title" the window title is likely to be overwritten via escape sequences for the shell prompt, ...