Matt Thompson
2018-10-15 13:34:25 UTC
All,
This is an odd one. So, I'm trying to get the trick "change background
depending on host" and I managed to do it via my home MacBook Pro and on a
work MacBook Pro. I can log into a computational cluster and different
background! Huzzah!
But, I also (mainly) use a Linux workstation at work. Now I obviously don't
have shell integration on that box, but the cluster still had the "source
~/.iterm2_shell_integration.tcsh" in the .tcshrc. Unfortunately, that seems
to not be happy:
(998) $ env | grep -i iterm
(999) $ source ~/.iterm2_shell_integration.tcsh
]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;D;0 ]133;A(1000)
$ ]133;B
It's like some code the shell integration script sets is not something that
my Linux box (using MATE Terminal) likes at all.
So I'm a bit flummoxed. I'd like to use the shell integration, but I can't
source it on the remote I want to use it on automatically. Does anyone know
any SSH or other techniques that can allow a remote to know where the
incoming? I'd love to do "if from macbook, source" but I just cannot see
how.
Or, perhaps, do you think it's just an old tcsh on one of the sides that
can't handle something?
Thanks for any help,
Matt
This is an odd one. So, I'm trying to get the trick "change background
depending on host" and I managed to do it via my home MacBook Pro and on a
work MacBook Pro. I can log into a computational cluster and different
background! Huzzah!
But, I also (mainly) use a Linux workstation at work. Now I obviously don't
have shell integration on that box, but the cluster still had the "source
~/.iterm2_shell_integration.tcsh" in the .tcshrc. Unfortunately, that seems
to not be happy:
(998) $ env | grep -i iterm
(999) $ source ~/.iterm2_shell_integration.tcsh
]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;C; ]133;D;0 ]133;A(1000)
$ ]133;B
It's like some code the shell integration script sets is not something that
my Linux box (using MATE Terminal) likes at all.
So I'm a bit flummoxed. I'd like to use the shell integration, but I can't
source it on the remote I want to use it on automatically. Does anyone know
any SSH or other techniques that can allow a remote to know where the
incoming? I'd love to do "if from macbook, source" but I just cannot see
how.
Or, perhaps, do you think it's just an old tcsh on one of the sides that
can't handle something?
Thanks for any help,
Matt
--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.