From f9553005766263d8f6c0f9274f23b1d93fd0bb75 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 21 Jun 2020 16:34:09 +0100 Subject: [PATCH] Docs: use less personalised example Windows prompts. The previous prompts were part of transcripts pasted directly from a particular historical cmd session, but that's no reason to keep them lying around confusingly, especially since we keep regenerating some of those transcripts outside that historical context. Replace them all with nice simple C:\> which shouldn't confuse anyone with extraneous detail. --- doc/plink.but | 16 ++++++++-------- doc/pscp.but | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/plink.but b/doc/plink.but index 25139bec..72449293 100644 --- a/doc/plink.but +++ b/doc/plink.but @@ -39,7 +39,7 @@ Once you've got a console window to type into, you can just type version of Plink you're using, and gives you a brief summary of how to use Plink: -\c Z:\sysosd>plink +\c C:\>plink \c Plink: command-line connection utility \c Release 0.73 \c Usage: plink [options] [user@]host [command] @@ -100,7 +100,7 @@ Once this works, you are ready to use Plink. To make a simple interactive connection to a remote server, just type \c{plink} and then the host name: -\c Z:\sysosd>plink login.example.com +\c C:\>plink login.example.com \c \c Debian GNU/Linux 2.2 flunky.example.com \c flunky login: @@ -117,7 +117,7 @@ In order to connect with a different protocol, you can give the command line options \c{-ssh}, \c{-telnet}, \c{-rlogin} or \c{-raw}. To make an SSH connection, for example: -\c Z:\sysosd>plink -ssh login.example.com +\c C:\>plink -ssh login.example.com \c login as: If you have already set up a PuTTY saved session, then instead of @@ -125,7 +125,7 @@ supplying a host name, you can give the saved session name. This allows you to use public-key authentication, specify a user name, and use most of the other features of PuTTY: -\c Z:\sysosd>plink my-ssh-session +\c C:\>plink my-ssh-session \c Sent username "fred" \c Authenticating with public key "fred@winbox" \c Last login: Thu Dec 6 19:25:33 2001 from :0.0 @@ -196,18 +196,18 @@ Once you have done all this, you should be able to run a remote command on the SSH server machine and have it execute automatically with no prompting: -\c Z:\sysosd>plink login.example.com -l fred echo hello, world +\c C:\>plink login.example.com -l fred echo hello, world \c hello, world \c -\c Z:\sysosd> +\c C:\> Or, if you have set up a saved session with all the connection details: -\c Z:\sysosd>plink mysession echo hello, world +\c C:\>plink mysession echo hello, world \c hello, world \c -\c Z:\sysosd> +\c C:\> Then you can set up other programs to run this Plink command and talk to it as if it were a process on the server machine. diff --git a/doc/pscp.but b/doc/pscp.but index c8c5b94d..e6b8eed3 100644 --- a/doc/pscp.but +++ b/doc/pscp.but @@ -37,7 +37,7 @@ Once you've got a console window to type into, you can just type version of PSCP you're using, and gives you a brief summary of how to use PSCP: -\c Z:\owendadmin>pscp +\c C:\>pscp \c PuTTY Secure Copy client \c Release 0.73 \c Usage: pscp [options] [user@]host:source target