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

learn more… | top users | synonyms

3
votes
1answer
387 views

How to set up `screen` to modify the window title and xterm-window title?

I'd like to have my current $PS1 prompt (\u@\h:\w$(__git_ps1 "(%s)")\$ plus some coloring) to be also used as screen's window title (in the hardline) and as the xterm window title. How can this be ...
1
vote
1answer
168 views

C-u leaves ghost characters at command prompt in xterm

I am using bash (v3.2.25) on linux, through xterm, through exceed. When using Ctrlu the cursor is moved next to the bash character prompt ($) but the rest of the line remains and is not erased as ...
3
votes
1answer
531 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)
4
votes
2answers
750 views

Tmux eclipsed colorized output of ls

I'm running Xubuntu 12.04, and when I use the Terminal I get colored filenames from ls. But inside tmux, everything ls prints is white. I know my tmux supports color, though, because I get color ...
3
votes
3answers
461 views

Sed processed file displays differently in vi vs cat

I can't tell if sed is mucking my file up. In vi or less it displays properly, but cat and more insert other characters. why are they showing up differently I am on a redhat linux system with a ...
12
votes
3answers
8k views

How to get VIM to display 256 colors properly

I'm trying to get 256 color theme files to work with VIM under xterm. This is peaksea how it looks for me: How it should look: I've tried following the tips on the wiki page to no avail. set ...
2
votes
1answer
207 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 ...
0
votes
0answers
28 views

Change title on xterm [duplicate]

Possible Duplicate: Display command in xterm titlebar Like konsole's tabs on KDE I want the title on xterm do the same thing (automatically changes). ¿Can anyone teach me? Thanks!
3
votes
1answer
865 views

SSH within SSH displays the wrong machine name in the xterm title bar

I am working on a distributed system connecting to several servers at once. Nothing is started manually in the program I am working on, but this is how to recreate the error manually. I start a xterm ...
2
votes
2answers
776 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 ...
9
votes
3answers
319 views

How can my script know when I'm in a virtual console vs. an xterm?

A few of my scripts (keymap changing, public key adding) need to act differently when in a virtual console vs. in an xterm. What's the real code for #!/bin/ksh if [[ in_a_virtual_console ]]; then ...
3
votes
4answers
2k views

Set tab width in GUI terminal

I found that setterm -regtabs 4 doesn't work in xterm or urxvt. But, this xterm_set_tabs () { TERM=linux; export $TERM; setterm -regtabs 4 } will circumvent the problem. But, I suspect ...
4
votes
0answers
387 views

8-bit input in gnome-terminal

I'm trying to switch from xterm to gnome-terminal but having trouble with alt keys. I have already disabled menu access keys, but I still need 8-bit inputs. In xterm I can set 8-bit inputs in ...
3
votes
1answer
3k views

How to configure the double click behavior in an X terminal?

Under different Unix/Linux systems I've observed different double click behavior in X terminal applications (e.g. xterm). Sometimes a double click selects everything left and right until the next ...
5
votes
2answers
815 views

is it possible to send a control sequence to a terminal emulator using the keyboard

If you type echo -e '\eZ' and hit return in a shell running in an xterm, you'll see that the terminal emulator prints an obscure code 1;2c. This seems to indicate that xterm interprets the VT100 ...
2
votes
1answer
103 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 ...
3
votes
1answer
369 views

Weird stuff going on in terminal and emacs since upgrade to Ubuntu 10.10

I can't really describe the slightly odd behaviour of my terminal window and occasionally also on emacs, but here's a picture of it happening: If I press CTRL+L, it disappears. What could cause ...
2
votes
2answers
701 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 ...
1
vote
1answer
614 views

Control Initial size of xfce4-terminal?

As I didn't see the option to configure start window size of xfce4's terminal program , is it configurable ?
4
votes
1answer
3k views

Run xterm with login shell or not?

Per default xterm starts an interactive shell. But you can also configure it to start an interactive login-shell. That means that with starting an xterm you get the same kind of shell like logging in ...
2
votes
2answers
360 views

using watch with ssh

I have a script: export TERM=xterm watch -t -d -n 1 'netstat -veeantpo | grep 43597 when we run this script though ssh, it does not determine the monitor resolution. so lines are wrapped although ...
3
votes
2answers
544 views

Resuming screen with UTF8 enabled breaks character input

Overview of UTF8 screen re-attachment issues. Problem: Creating a screen that uses UTF8 works perfectly until re-attaching said screen session. Steps: ssh remothost screen -U -S ttytter [detach ...
6
votes
1answer
505 views

emacsclient -t hangs

I'm trying to use emacs (23.2.1) in daemon mode. I started it as emacs --daemon and that works just fine. But whenever I try emacsclient -t somefile I first get a line of garbage (e.g., `1;25C2;'), ...
5
votes
2answers
2k views

how to make XTerm never use bold characters?

I am trying to make XTerm to never use a bold font, and nothing seems to work. I put settings in ~/.Xresources and then run xrdb ~/.Xresources and then start a new XTerm. This is what I try: ...
2
votes
1answer
327 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 ...
6
votes
3answers
1k views

Is it possible to obtain the current name of the xterm window?

This LDP Howto demonstrates how to change the title of an xterm. I know that this is also possible using the xtitle command. Before invoking a long-running action, my script uses such techniques to ...
3
votes
2answers
760 views

Why use a pts for xterm or anything

I keep reading on multiple sites that pts device files are used for pseudo-terminals which are "not directly connected to the hardware" (ssh, telnet). Since xterm running on you machine is directly ...
3
votes
2answers
159 views

Why do different terminals have different values for keys in the .inputrc file?

This question really started from here. I would like to know why different terminals like rxvt and xterm use different values when mapping key combinations? Whilst I am in rxvt or xterm how can I find ...
2
votes
2answers
10k views

Changing terminal emulators

I have ssh access to a remote machine. In this machine if I run echo $TERM I get xterm. If I want to change my terminal emulator to some other emulator (assuming that it's installed on the remote ...
0
votes
2answers
1k views

It's possible to make XTERM and Gnome-keyring work together?

When I'am connecting to ssh with gnome-terminal application opens gnome-keyring dialog, so I am entering password only once per session and I can reconnect to same ssh more than once without asking ...
1
vote
1answer
398 views

How to set keycodes manually in vim?

Sometimes when I fire up vim, my Insert key doesn't work (need to use i) and my arrows don't work (they give me letters instead). I'm guessing this has to do with my keys not being mapped correctly. ...
5
votes
2answers
4k views

xterm colors are too bright

I've just started using dwm a couple days ago and I'm using xterm (uxterm) as a terminal emulator. However, I'm noticing that certain applications (like vi/vim, ls, and others) that output in color ...
13
votes
2answers
2k views

Display command in xterm titlebar

My Bash Prompt is currently setting the xterm titlebar using the following sequence: PS1='\033]0;\u@\h>\w\007' Is there an easy way to display the current command in the titlebar. For example, ...
5
votes
4answers
4k views

How to copy text to xterm

How to paste text in a xterm? Now I can copy text from xterm to an outside application, like Firefox, by highlighting the text there. But I can not copy text from firefox to xterm. I am just normal ...
4
votes
2answers
819 views

How to start an xterm from Nautilus, running in the folder I'm viewing?

This was easy in Thunar, but now I'm on a machine where I'm trying to do everything in the Gnome desktop world. In Nautilus, I'm in some deep-down folder. How do I open an xterm (rxvt, aterm, ...
4
votes
3answers
2k views

Fastest way to get an Euro symbol at a prompt?

First of all I'm working on a keyboard using a QWERTY layout. Now once in a while I need to get the Euro (€) symbol in my terminal (typically in a xterm). If I cut'n'paste the Euro symbol, it shows ...
6
votes
2answers
2k views

How to identify which xterm a shell or process is running in?

I usually use long running X sessions with several virtual desktops and many many xterms. I also use job control in the shell (zsh). Sometimes I wish I could identify an xterm a shell or process is ...
2
votes
1answer
2k views

temporary setting the path in an “init” file

I have an "init" file that reads #!/bin/sh export PATH=$PATH:/home/me/morph_numsys/software/bin by which I'd just like to set the path to that folder for only this bash session. However, when I ...
2
votes
1answer
484 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 ...