Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 13:51:15 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Place servername in TAB iTerm
Message-ID:  <56794743.5040808@gmail.com>
In-Reply-To: <20151222123933.GA3974@c720-r285885-amd64>
References:  <56794339.3080106@gmail.com> <20151222123933.GA3974@c720-r285885-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks that works, can this be automated when I log in

regards
Johan

Op 22/12/15 om 13:39 schreef Matthias Apitz:
> El día Tuesday, December 22, 2015 a las 01:34:01PM +0100, Johan Hendriks escribió:
>
>> 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.
> I can only speak for xterm and urxvt terminals (and maybe for iTerm on
> Mac you should consult its documentation or mac user forums); I have a
> script 'ti.sh' which says:
>
>
> #!/bin/sh
> printf "\033]0;$1\007"
>
> and when I run this as '~/ti.sh blabla' it puts 'blabla' in the titel
> bar of the terminal.
>
> HIH
>
> 	matthias




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56794743.5040808>