LeRoy Cressy on 14 Jun 2005 22:58:37 -0000


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

Re: [PLUG] New xterm behavior in Debian


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

Stephen Gran wrote:
> On Tue, Jun 14, 2005 at 05:06:46PM -0400, LeRoy Cressy said:
> 
>>When I commented out the /etc/bash.bashrc block containing the the above
>>mentioned case block, the system returned back to complying to xterm -T
>>creating a title string.
>>
>>When I searched the web I saw this block mentioned as setting the title
>>of an xterm.  I think that it has to deal with \033]0; which might mean
>>where echo puts the string.
>>
>>\033 = ESC
>>]0  Titlebar in the xterm
>>\007 = BEL
>>
>>I tried this in a xterm and the titlebar changes appropriately
>>
>>echo -ne "\033]0;Who Is ${USER}?\007"
>>
>>Also, PROMPT_COMMAND is just a variable being set with an echo string
> 
> 
> Interesting - I just tried it here, and it sets my xterm title, but not
> any of my other terms.  I had assumed they all worked the same so I
> didn't go any farther with it.
> 
> Oddly, I have the same lines in bash.bashrc, and yet xterm -T works
> here.  If I omit the -T, I do not get the title user@host as expected 
> from that snippet.
> 
> Strange.
if $PROMPT_COMMAND is set in ~/.bashrc I think that the setting in
/etc/bash.bashrc is nullified.


- --
 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

iD8DBQFCr2DMP+/m2oUBr+oRAhywAJoDBJIXHzB5nxJDZmpVoEi2P9erwgCfdvXp
q318m/nhNjEYwK5Sg5OXpuA=
=L+5+
-----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