Proxy command formatting now recognises `%proxyhost' and
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Jan 2005 14:22:17 +0000 (14:22 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Jan 2005 14:22:17 +0000 (14:22 +0000)
commitc4190b30d5c70af4aa1d3b57514047ea425bbcc4
tree6b659ea6bef95d046ce303b474de819cdef8f80f
parentbb348ab1eca44e16f1408ce9e6888c56da18a5fa
Proxy command formatting now recognises `%proxyhost' and
`%proxyport' in addition to the other things it interpolates. This
is useful when using the Unix-only `Local' proxy type: it allows me
to, for example, set up a proxy command such as
  ssh %proxyhost nc -q0 %host %port
and then enter the name of the proxy machine in `Proxy hostname',
which makes it marginally more convenient to quickly change to using
a different proxy to get at the same target.

I haven't documented this, because we currently don't document the
Local proxy type at all. Possibly we should, though.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5073 cda61777-01e9-0310-a592-d414129be87e
proxy.c