Date: Tue, 04 May 2010 16:00:32 +0200 From: Alex Huth <a.huth@tmr.net> To: freebsd-gnome@freebsd.org Subject: tiel xterm in ssh sessions Message-ID: <1272981632.1483.17.camel@borusse.ewmr.base>
next in thread | raw e-mail | index | archive | help
Hello! IŽd like to set the titel of a gnome-terminal dynamic, even when it is a ssh session. For the "normal" local session i use the following: --------------- if echo $TERM | egrep -iq 'xterm|vt100'; then PS1='\[\033]0;\h:\w\$\007\]'$PS1 fi -------------- But how can i do that for ssh sessions, with the name of the remote host? Thanks in advance Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1272981632.1483.17.camel>