Date: Mon, 2 Jun 2003 12:34:26 +0200 From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: Sergey Akifyev <asa@gascom.ru> Cc: questions@freebsd.org Subject: Re: What ASCII sequence is used to set xterm title? Message-ID: <20030602123426.5eab882f.sheepkiller@cultdeadsheep.org> In-Reply-To: <1054549031.81939.7.camel@asa.gascom.net.ru> References: <1054549031.81939.7.camel@asa.gascom.net.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02 Jun 2003 14:17:12 +0400 Sergey Akifyev <asa@gascom.ru> wrote: > Hello! > > I just want to make shell prompt with changing gnome-terminal window > title (to show host on which I'm sitting now). Does someone know how? > > thanks in advance hi, for {sh,bash} PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' regards clem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030602123426.5eab882f.sheepkiller>