On Thu, 13 May 2004, Eben King wrote:
> I have Redhat 8. At some time in the past (most likely when I was using
> RH 7.2), I wrote a script which would incorporate $PWD into the xterm
> title bar.
> However, /etc/bashrc tests for the existence of
> /etc/sysconfig/bash-prompt-xterm ; I don't have that last one. It's
> not in any of the RH8 RPMs, nor can I find it anywhere among my files,
> including in /usr/share/doc/{bash-2.05b,bash-doc-2.05b}. So, where do I
> find this file?
Turns out I didn't have to create, modify or do anything else to that file
(too late). rxvt sets $TERM=rxvt. Otherwise it's very compatible with
xterm (except no Tek 4014 emulation, and ~830K less memory use (dunno how
much of that is shared)). So what I needed to do was in /etc/bashrc,
change
case $TERM in
xterm*)
to
case $TERM in
xterm*|rxvt)
Voila!
-- -eben ebQenW1@EtaRmpTabYayU.rIr.OcoPm home.tampabay.rr.com/hactarQ: What kind of modem did Jimi Hendrix use? A: A purple Hayes.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:30:24 EDT