Date: Sat, 26 Dec 2015 01:35:30 +0100 From: Johan Hendriks <joh.hendriks@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Place servername in TAB iTerm Message-ID: <567DE0D2.4080201@gmail.com> In-Reply-To: <56794339.3080106@gmail.com> References: <56794339.3080106@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Op 22/12/15 om 13:34 schreef Johan Hendriks: > Hello all. > > I use iTerm on my mac. > When I connect to a Linux (Ubuntu) machine, in the TAB the name off the > server appears. > If I connect to a FreeBSD machine it just shows me ssh. > How can I change the name off the TAB in iTerm (and other terminal > programs) to show the servername. > I use the standard csh. BTW if i use portmaster then it renames the tab > also to what portmaster is doing. > > I do not know what I need to change to get the same behauviour as Linux > > Thank you for your time. > > regards > Johan Thanks all for your time, With all the answers I came to the following solution. I added the following lines to my .cshrc file alias mytitle 'printf "\033]0;$HOST\a"' mytitle regards Johan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?567DE0D2.4080201>