It takes a few steps, because you need the local samterm
talking to the same plumber that your remote B is.
See import(4) (9 man 4 import):

     EXAMPLE
          Suppose you run sam -r to the CPU server anna. Sam wants to
          talk to a plumber on the local terminal, but the file names
          will refer to files on anna.

          To fix this problem, create a new name space directory and
          start a new plumber on anna:

               remotens=/tmp/ns.`whoami`.on.`hostname`
               ssh anna mkdir $remotens
               ssh anna NAMESPACE=$remotens plumber

          Now import that plumber to the local name space before
          starting sam and 9term:

               NAMESPACE=/tmp/ns.anna
               mkdir $NAMESPACE
               import -n $remotens -s plumb anna
               sam &
               9term ssh anna &

In the shell running in that final ssh you will need to set $NAMESPACE too.
(To /tmp/ns.you.on.localmachine)

Russ

Reply via email to