Don't enforce default window title
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash
Bash default /etc/bash.bashrc has these commented lines:
# Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
# If this is an xterm set the title to user@host:dir
#case "$TERM" in
#xterm*|rxvt*)
# PROMPT_
The explanatory comment says it all. But ubuntu .bashrc in the user $HOME has these ones:
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[
;;
*)
;;
esac
So is happily ignoring bash sane configuration defaults. Therefore commands like 'xterm -T mytitle', 'sakura -t mytitle' or 'gnome-terminal -t mytitle' aren't doing what they're expected to do. It'll be different if the PS1 is set by the user to do that. But providing a default PS1 value with a "change window title" escape sequence is plain wrong.
Please comment those lines in the $HOME .bashrc file too.
Changed in bash (Ubuntu): | |
status: | New → Confirmed |
description: | updated |