Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following shows how these built-in variables can be used:

...

Panel

...

open remote=mymachine port=10000 user=me pwd=mypwd
if $(_lastrc EQ 0)
  print msg="Connected to $(_remote.host):$(_remote.port)"
  print msg="    as $(_remote.user) from $(_local)"
end

...




This example produces the following output:

html-bobswift
Panel
<pre>
Connected to mymachine:10000
   as me from (local)
</pre>

...