output to file different than console. (ssh and zfs )

Johan Hendriks joh.hendriks at gmail.com
Thu Mar 10 18:41:30 UTC 2016

Op 10/03/16 om 19:18 schreef Brandon Allbery:
> On Thu, Mar 10, 2016 at 1:12 PM, Johan Hendriks
> <joh.hendriks at gmail.com <mailto:joh.hendriks at gmail.com>> wrote:
>     ^[]0;storage2.server.mydomain.com
>     <http://storage2.server.mydomain.com>
>     ^Gstorage/home/datadir1 at 15min_2016-03-09_22.20.00--1h
>     storage/home/datadir2 at 15min_2016-03-09_22.20.00--1h
>     storage/home/datadir3 at 15min_2016-03-09_22.20.00--1h
>     storage/home/datadir4 at 15min_2016-03-09_22.20.00--1h
> The ^[ .. ^G stuff is trying to write the hostname to a terminal
> emulator's status bar. Check for the shell on that machine having some
> kind of precmd (zsh) / $PROMPT_FUNCTION (bash) or just an echo like
> that in its dotfiles.
> -- 
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com <mailto:allbery.b at gmail.com>                      
>            ballbery at sinenomine.net <mailto:ballbery at sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonad      
>  http://sinenomine.net
Now you mention this, after the command, the tab in xterm was changed to
the remote machines name, I saw that but did not see the link.

The remote machine uses csh, and I have for that machine set the
following in .cshrc

alias mytitle 'printf "\033]0;$HOST\a"'

I use this so I have my server name in TAB, not in my 9.x machines, so
that is the reason I do not see it there.
Is there a way around it? I like the named TABs :D

Thank you for your time


More information about the freebsd-stable mailing list