1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-22 14:39:24 -05:00

Document telnet_keyboard more completely, cross-reference from "Special

Commands" section, and tweak option description in code.

[originally from svn r4572]
This commit is contained in:
Jacob Nevins 2004-09-22 22:15:25 +00:00
parent 7e1d6dad22
commit 6f83b757e9
3 changed files with 35 additions and 10 deletions

View File

@ -1428,12 +1428,12 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
I(offsetof(Config, passive_telnet)), I(offsetof(Config, passive_telnet)),
"Passive", I(1), "Active", I(0), NULL); "Passive", I(1), "Active", I(0), NULL);
} }
ctrl_checkbox(s, "Keyboard sends telnet Backspace and Interrupt", 'k', ctrl_checkbox(s, "Keyboard sends Telnet special commands", 'k',
HELPCTX(telnet_specialkeys), HELPCTX(telnet_specialkeys),
dlg_stdcheckbox_handler, dlg_stdcheckbox_handler,
I(offsetof(Config,telnet_keyboard))); I(offsetof(Config,telnet_keyboard)));
ctrl_checkbox(s, "Return key sends telnet New Line instead of ^M", ctrl_checkbox(s, "Return key sends Telnet New Line instead of ^M",
NO_SHORTCUT, HELPCTX(telnet_newline), 'm', HELPCTX(telnet_newline),
dlg_stdcheckbox_handler, dlg_stdcheckbox_handler,
I(offsetof(Config,telnet_newline))); I(offsetof(Config,telnet_newline)));
} }

View File

@ -1,4 +1,4 @@
\versionid $Id: config.but,v 1.89 2004/09/17 14:26:39 jacob Exp $ \versionid $Id: config.but,v 1.90 2004/09/22 22:15:25 jacob Exp $
\C{config} Configuring PuTTY \C{config} Configuring PuTTY
@ -1795,16 +1795,26 @@ get through certain types of firewall and Telnet proxy server. If
you have confusing trouble with a firewall, you could try enabling you have confusing trouble with a firewall, you could try enabling
passive mode to see if it helps. passive mode to see if it helps.
\S{config-telnetkey} \q{Keyboard sends telnet Backspace and Interrupt} \S{config-telnetkey} \q{Keyboard sends Telnet special commands}
\cfg{winhelp-topic}{telnet.specialkeys} \cfg{winhelp-topic}{telnet.specialkeys}
If this box is checked, the Backspace key on the keyboard will send If this box is checked, several key sequences will have their normal
the Telnet special backspace code, and Control-C will send the actions modified:
Telnet special interrupt code. You probably shouldn't enable this
\b the Backspace key on the keyboard will send the \I{Erase Character,
Telnet special command}Telnet special backspace code;
\b Control-C will send the Telnet special \I{Interrupt Process, Telnet
special command}Interrupt Process code;
\b Control-Z will send the Telnet special \I{Suspend Process, Telnet
special command}Suspend Process code.
You probably shouldn't enable this
unless you know what you're doing. unless you know what you're doing.
\S{config-telnetnl} \q{Return key sends telnet New Line instead of ^M} \S{config-telnetnl} \q{Return key sends Telnet New Line instead of ^M}
\cfg{winhelp-topic}{telnet.newline} \cfg{winhelp-topic}{telnet.newline}

View File

@ -1,4 +1,4 @@
\versionid $Id: using.but,v 1.31 2004/09/20 22:10:09 jacob Exp $ \versionid $Id: using.but,v 1.32 2004/09/22 22:15:25 jacob Exp $
\C{using} Using PuTTY \C{using} Using PuTTY
@ -136,6 +136,11 @@ The following special commands are available in Telnet:
\b \I{Erase Character, Telnet special command}Erase Character \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{Erase Line, Telnet special command}Erase Line
\b \I{Go Ahead, Telnet special command}Go Ahead \b \I{Go Ahead, Telnet special command}Go Ahead
@ -152,8 +157,18 @@ Should have no effect.
\b \I{Interrupt Process, Telnet special command}Interrupt Process \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 \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 Record, Telnet special command}End Of Record
\b \I{End Of File, Telnet special command}End Of File \b \I{End Of File, Telnet special command}End Of File