Date: Mon, 2 Jun 2003 07:04:58 -0500 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: Sergey Akifyev <asa@gascom.ru> Cc: questions@freebsd.org Subject: Re: What ASCII sequence is used to set xterm title? Message-ID: <20030602120458.GW61246@over-yonder.net> 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 Mon, Jun 02, 2003 at 02:17:12PM +0400 I heard the voice of Sergey Akifyev, and lo! it spake thus: > 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? I use a script to set it when I login to a box with some silly config like a prompt that sets it: --- (ttyp1):{507}% cat ~/bin/xttitle #!/bin/sh printf "\033]0;${*}\007" --- You should be able to work that sequence into wherever you want... -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030602120458.GW61246>