xterm is the standard terminal emulator for the X Window System.
1
vote
2answers
3k 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 ...
1
vote
1answer
236 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. ...
3
votes
2answers
2k 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 ...
6
votes
2answers
712 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 ...
4
votes
4answers
2k 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 ...
6
votes
1answer
366 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;'), ...
0
votes
2answers
817 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 ...
2
votes
1answer
252 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 ...
4
votes
3answers
821 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 ...
8
votes
2answers
670 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, ...
4
votes
2answers
594 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, ...
2
votes
2answers
573 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, ...
3
votes
1answer
338 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 ...
5
votes
2answers
1k 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
763 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
402 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 ...
3
votes
1answer
289 views
Xterm is not completely erasing field lines
We are running Windows Clients with Cygwin XServer that has a bash script application running on AIX Unix. We have a login script using expect to ssh into the server and then xterm to create the ...
