X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/97e12fcd7b1155bdb16a7b39c0105f493f0ebfa3..dac0aee3362d9f6d90d5e736767da62ea7c9ba5c:/doc/using.but diff --git a/doc/using.but b/doc/using.but index 3ca6b267..cda9b3b4 100644 --- a/doc/using.but +++ b/doc/using.but @@ -1,4 +1,4 @@ -\versionid $Id: using.but,v 1.29 2004/09/16 15:44:58 jacob Exp $ +\versionid $Id: using.but,v 1.34 2004/10/13 13:43:11 simon Exp $ \C{using} Using PuTTY @@ -123,12 +123,70 @@ Event Log into your bug report. Depending on the protocol used for the current session, there may be a submenu of \q{special commands}. These are protocol-specific tokens, such as a \i{\q{break} signal}, that can be sent down a -connection in addition to normal data. Currently only Telnet and SSH -have special commands. +connection in addition to normal data. Their precise effect is usually +up to the server. Currently only Telnet and SSH have special commands. -\# FIXME: possibly the full list of special commands should be -\# given here, if only so that it can be sensibly indexed and -\# someone looking up (e.g.) AYT can find out how to send one? +The following special commands are available in Telnet: + +\b \I{Are You There, Telnet special command}Are You There + +\b \I{Break, Telnet special command}Break + +\b \I{Synch, Telnet special command}Synch + +\b \I{Erase Character, Telnet special command}Erase Character + +\lcont{ +PuTTY can also be configured to send this when the Backspace key is +pressed; see \k{config-telnetkey}. +} + +\b \I{Erase Line, Telnet special command}Erase Line + +\b \I{Go Ahead, Telnet special command}Go Ahead + +\b \I{No Operation, Telnet special command}No Operation + +\lcont{ +Should have no effect. +} + +\b \I{Abort Process, Telnet special command}Abort Process + +\b \I{Abort Output, Telnet special command}Abort Output + +\b \I{Interrupt Process, Telnet special command}Interrupt Process + +\lcont{ +PuTTY can also be configured to send this when Ctrl-C is typed; see +\k{config-telnetkey}. +} + +\b \I{Suspend Process, Telnet special command}Suspend Process + +\lcont{ +PuTTY can also be configured to send this when Ctrl-Z is typed; see +\k{config-telnetkey}. +} + +\b \I{End Of Record, Telnet special command}End Of Record + +\b \I{End Of File, Telnet special command}End Of File + +In an SSH connection, the following special commands are available: + +\b \I{Break, SSH special command}Break + +\lcont{ +Optional extension; may not be supported by server. PuTTY requests the +server's default break length. +} + +\b \I{IGNORE message, SSH special command}\I{No-op, in SSH}IGNORE message + +\lcont{ +Should have no effect. +} \S2{using-newsession} Starting new sessions @@ -246,9 +304,10 @@ does do. You should then tick the \q{Enable X11 forwarding} box in the Tunnels panel (see \k{config-ssh-x11}) before starting your SSH -session. The \q{X display location} box reads \c{localhost:0} by -default, which is the usual display location where your X server -will be installed. If that needs changing, then change it. +session. The \q{X display location} box is blank by default, which +means that PuTTY will try to use a sensible default such as \c{:0}, +which is the usual display location where your X server will be +installed. If that needs changing, then change it. Now you should be able to log in to the SSH server as normal. To check that X forwarding has been successfully negotiated during @@ -635,6 +694,24 @@ configuration box (see \k{config-ssh-pty}). These options are not available in the file transfer tools PSCP and PSFTP. +\S2{using-cmdline-noshell} \I{-N-upper}\c{-N}: suppress starting a +shell or command + +The \c{-N} option prevents PuTTY from attempting to start a shell or +command on the remote server. You might want to use this option if +you are only using the SSH connection for port forwarding, and your +user account on the server does not have the ability to run a shell. + +This feature is only available in SSH protocol version 2 (since the +version 1 protocol assumes you will always want to run a shell). + +This option is equivalent to the \q{Don't start a shell or command +at all} checkbox in the SSH panel of the PuTTY configuration box +(see \k{config-ssh-noshell}). + +These options are not available in the file transfer tools PSCP and +PSFTP. + \S2{using-cmdline-compress} \I{-C-upper}\c{-C}: enable \i{compression} The \c{-C} option enables compression of the data sent across the