Place servername in TAB iTerm
Johan Hendriks
joh.hendriks at gmail.com
Sat Dec 26 00:35:34 UTC 2015
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
More information about the freebsd-questions
mailing list