--hHWLQfXTYDoKhP50
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Michael K O'Brien <[EMAIL PROTECTED]>, 2002-09-18 12:11 -0400:
> Hola~
>=20
> >-- On Wed, Sep 18, 2002 at 04:36:35PM +0100, % wrote:
> > On Wed, 18 Sep 2002, Michael K O'Brien wrote:
> >=20
> > > Hola~
> > >
> > > About two weeks ago, I found that I could no longer set the window an=
d icon
> > > title of an xterm or rxvt window with the following script:
> > >
> > > echo -n "\033]0;$*\007"
> >=20
> > Try echo -ne, make sure you haven't got PROMPT_COMMAND set to something
> > that overrides it, and haven't embedded a similar sequence in PS1 eithe=
r.
>=20
> Thanks, but the -ne didn't fix it. I don't have PROMPT_COMMAND or PS1 set=
to
> anything.
>=20
> MO
Would
if [ "$PS1" ]; then
if [ "x`tput kbs`" !=3D "x" ]; then # We can't do this with "dumb" term=
inal
stty erase `tput kbs`
fi
case $TERM in
xterm*)
PROMPT_COMMAND=3D'echo -ne "\033]0;${USER}@${HOSTNAME}:${PWD}\0=
07"'
;;
*)
;;
esac
fi
do for you if you adjust it?
-Andre
--hHWLQfXTYDoKhP50
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9iKZ2mlbrvn+0waMRAtSsAJ4m3yPTPWidh0OS61GxRr5lV5bARwCaA8RP
d8YbEj3yyEymTh5yvS00gTg=
=87qB
-----END PGP SIGNATURE-----
--hHWLQfXTYDoKhP50--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]