Tagged Questions
2
votes
1answer
46 views
Opening a usable xterm window through bash script
I often have projects for which I need multiple terminal windows open at different locations, and setting up my workspace each time I want to work on this project takes a long time, so I'd like to be ...
2
votes
1answer
52 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:
...
1
vote
1answer
66 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
147 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 ...
4
votes
1answer
151 views
Emacs commands in xterm
I found that the commands I used to use in gnome-terminal/bash, those I learned in emacs, are only partially working in xterm/bash. In some cases, I get strange chars like ÿ, æ, and â instead. Do you ...
6
votes
2answers
934 views
What is bash's meta key?
I tried to use xmodmap to map META_L to the MENU key but it doesn't seem to be accepted by bash as the meta key. So, I am wondering how these components (keyboard, X, xterm, bash) relate to each in ...
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, ...

