LeRoy Cressy on 14 Jun 2005 18:51:43 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] New xterm behavior in Debian


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

With the latest Debian upgrade I noticed that the bash people altered a
config file in /etc without prompting about the change.

/etc/bash.bashrc has been changed to include the following:

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
   PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
   ;;
*)
   ;;
esac

This means that if you call xterms with -T string the title string
specified in xterm options is overwritten by bash with total disregard
to user preferences.

I always thought that it was Debian policy to prompt before changing any
config file.  Thought this makes upgrading a little slower, the config
files are protected.
- --
 Rev. LeRoy D. Cressy  mailto:leroy@lrcressy.com   /\_/\
                       http://lrcressy.com        ( o.o )
                       Phone:  215-535-4037        > ^ <
                       FAX:    215-535-4285

gpg fingerprint:  62DE 6CAB CEE1 B1B3 359A  81D8 3FEF E6DA 8501 AFEA

For info on enigmail:    http://lrcressy.com/linux/mozilla.pdf
For info on gpg:         http://www.gnupg.org/

Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me. (John 14:6)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFCrybUP+/m2oUBr+oRAqwiAJ9Q/IBmS9vnTF26CAC6s5I8zDNTegCfSf/1
dVMyy8jUwwUgy0rlPrb83vY=
=0Yyp
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug