Package: bash
Version: 4.3-11+b1
Severity: minor

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

I was trying to understand why xfce4-terminal's titles never seemed to change.
After digging around a bit I found that gnome-terminal's title also was not
changing. it was stuck on user@host:dir

I found that it's hard coded in /etc/skel/.bashrc
http://bazaar.launchpad.net/~doko/+junk/pkg-bash-
debian/view/head:/skel.bashrc#L66

One problem with this is that if you open many xterms you end up with them all
being named the same thing and its hard to navigate between them using context
switching.

   * What led up to the situation?

I see the benefit of titling the term in this way, but there is also a downside
to it.


   * What outcome did you expect instead?

I expected the title of the term to reflect the commands I'm executing in the
term.

Please consider commenting out these lines in /etc/skel/.bashrc
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

or perhaps finding a way to include the user@host:dir and the current command
in the term title?


*** End of the template - remove these template lines ***



-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash depends on:
ii  base-files   8+deb8u2
ii  dash         0.5.7-4+b1
ii  debianutils  4.4+b1
ii  libc6        2.19-18+deb8u1
ii  libncurses5  5.9+20140913-1+b1
ii  libtinfo5    5.9+20140913-1+b1

Versions of packages bash recommends:
ii  bash-completion  1:2.1-4

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information

Reply via email to