mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
New formatting directive in logfile naming: &P for port number.
Users have requested this from time to time, for distinguishing log file names when there's more than one SSH server running on different ports of the same host. Since we do take account of that possibility in other areas (e.g. we cache host keys indexed by (host,port) rather than just host), it doesn't seem unreasonable to do so here too.
This commit is contained in:
@ -207,6 +207,9 @@ digits.
|
||||
|
||||
\b \c{&H} will be replaced by the host name you are connecting to.
|
||||
|
||||
\b \c{&P} will be replaced by the port number you are connecting to on
|
||||
the target host.
|
||||
|
||||
For example, if you enter the host name
|
||||
\c{c:\\puttylogs\\log-&h-&y&m&d-&t.dat}, you will end up with files looking
|
||||
like
|
||||
|
Reference in New Issue
Block a user