From 931e13e1ca9d5f3d65bda5bc8cfcb83386baddc2 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 26 Apr 2003 13:22:25 +0000 Subject: [PATCH] The line-drawing paste config option has changed its meaning since it was first designed. Alter the wording and documentation to match. git-svn-id: svn://svn.tartarus.org/sgt/putty@3143 cda61777-01e9-0310-a592-d414129be87e --- config.c | 2 +- doc/config.but | 25 +++++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/config.c b/config.c index 58881ca3..43012e64 100644 --- a/config.c +++ b/config.c @@ -1154,7 +1154,7 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist, s = ctrl_getset(b, "Window/Selection", "trans", "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), dlg_stdcheckbox_handler, I(offsetof(Config,rawcnp))); diff --git a/doc/config.but b/doc/config.but index fa70a09b..e4fd8192 100644 --- a/doc/config.but +++ b/doc/config.but @@ -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 @@ -1152,15 +1152,20 @@ characters \cfg{winhelp-topic}{selection.linedraw} By default, when you copy and paste a piece of the PuTTY screen that -contains VT100 line and box drawing characters, PuTTY will translate -them into the \q{poor man's} line-drawing characters \c{+}, \c{-} -and \c{|}. The checkbox \q{Don't translate line drawing chars} -disables this feature, so line-drawing characters will be pasted as -if they were in the normal character set. This will typically mean -they come out mostly as \c{q} and \c{x}, with a scattering of -\c{jklmntuvw} at the corners. This might be useful if you were -trying to recreate the same box layout in another program, for -example. +contains VT100 line and box drawing characters, PuTTY will paste +them in the form they appear on the screen: either Unicode line +drawing code points, or the \q{poor man's} line-drawing characters +\c{+}, \c{-} and \c{|}. The checkbox \q{Paste VT100 line drawing +chars as lqqqk} disables this feature, so line-drawing characters +will be pasted as the ASCII characters that were printed to produce +them. This will typically mean they come out mostly as \c{q} and +\c{x}, with a scattering of \c{jklmntuvw} at the corners. This might +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 -- 2.11.0