Hi, >> I'm sorry, but that won't ever work. There is no X-server in OS X by >> default (unless you install one) so the client/server code in MacVim >> is implemented using distributed objects and this is not "compatible" >> with ssh X forwarding. > > I think I might not have explained what I'm trying to do well. I am > *not* trying to use ssh X forwarding - I was using it as an analogy. > What I'm trying to achieve is basically this: > > On my Mac, I have a script called 'edit-remote' which is basically > this one line: > "gvim --servername `gvim --serverlist | head -n1` --remote-tab $@" > > On my Linux box I want to do this: > ssh Mac "edit-remote scp://$HOSTNAME/$file" > > The problem is that when I enter my Mac via ssh, it does not seem to > have access to the existing MacVim server session. Running 'edit- > remote' locally works perfectly fine, its only when I try to run it > via ssh from a remote machine that it cannot find the existing MacVim > session, and instead spawns a new one.
Just an idea (not tested): If you have a screen session which was started from Mac OS X, and you continue it from the Linux Box per ssh, the command should work. Frank -- frank hellenkamp | interface designer [EMAIL PROTECTED] | mail +49.30.49 78 20 70 | tel +49.173.70 55 781 | mbl +49.1805.4002.243 912 | fax
signature.asc
Description: OpenPGP digital signature
