1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-02-03 21:52:24 +00:00

The line-drawing paste config option has changed its meaning since

it was first designed. Alter the wording and documentation to match.

[originally from svn r3143]
This commit is contained in:
Simon Tatham 2003-04-26 13:22:25 +00:00
parent 1f9c9bb00f
commit abb6b8ba8a
2 changed files with 16 additions and 11 deletions

View File

@ -1154,7 +1154,7 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
s = ctrl_getset(b, "Window/Selection", "trans", s = ctrl_getset(b, "Window/Selection", "trans",
"Translation of pasted characters"); "Translation of pasted characters");
ctrl_checkbox(s, "Don't translate line drawing chars into +, - and |",'d', ctrl_checkbox(s, "Paste VT100 line drawing chars as lqqqk",'d',
HELPCTX(selection_linedraw), HELPCTX(selection_linedraw),
dlg_stdcheckbox_handler, I(offsetof(Config,rawcnp))); dlg_stdcheckbox_handler, I(offsetof(Config,rawcnp)));

View File

@ -1,4 +1,4 @@
\versionid $Id: config.but,v 1.62 2003/04/12 08:59:06 simon Exp $ \versionid $Id: config.but,v 1.63 2003/04/26 13:22:25 simon Exp $
\C{config} Configuring PuTTY \C{config} Configuring PuTTY
@ -1152,15 +1152,20 @@ characters
\cfg{winhelp-topic}{selection.linedraw} \cfg{winhelp-topic}{selection.linedraw}
By default, when you copy and paste a piece of the PuTTY screen that By default, when you copy and paste a piece of the PuTTY screen that
contains VT100 line and box drawing characters, PuTTY will translate contains VT100 line and box drawing characters, PuTTY will paste
them into the \q{poor man's} line-drawing characters \c{+}, \c{-} them in the form they appear on the screen: either Unicode line
and \c{|}. The checkbox \q{Don't translate line drawing chars} drawing code points, or the \q{poor man's} line-drawing characters
disables this feature, so line-drawing characters will be pasted as \c{+}, \c{-} and \c{|}. The checkbox \q{Paste VT100 line drawing
if they were in the normal character set. This will typically mean chars as lqqqk} disables this feature, so line-drawing characters
they come out mostly as \c{q} and \c{x}, with a scattering of will be pasted as the ASCII characters that were printed to produce
\c{jklmntuvw} at the corners. This might be useful if you were them. This will typically mean they come out mostly as \c{q} and
trying to recreate the same box layout in another program, for \c{x}, with a scattering of \c{jklmntuvw} at the corners. This might
example. be useful if you were trying to recreate the same box layout in
another program, for example.
Note that this option only applies to line-drawing characters which
\e{were} printed by using the VT100 mechanism. Line-drawing
characters displayed using Unicode will paste as Unicode always.
\S{config-rtfpaste} Pasting in Rich Text Format \S{config-rtfpaste} Pasting in Rich Text Format