1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00
putty-source/doc
Simon Tatham 22911ccdcc New config option for shifted arrow key handling.
This commit introduces a new config option for how to handle shifted
arrow keys.

In the default mode (SHARROW_APPLICATION), we do what we've always
done: Ctrl flips the arrow keys between sending their most usual
escape sequences (ESC [ A ... ESC [ D) and sending the 'application
cursor keys' sequences (ESC O A ... ESC O D). Whichever of those modes
is currently configured, Ctrl+arrow sends the other one.

In the new mode (SHARROW_BITMAP), application cursor key mode is
unaffected by any shift keys, but the default sequences acquire two
numeric arguments. The first argument is 1 (reflecting the fact that a
shifted arrow key still notionally moves just 1 character cell); the
second is the bitmap (1 for Shift) + (2 for Alt) + (4 for Ctrl),
offset by 1. (Except that if _none_ of those modifiers is pressed,
both numeric arguments are simply omitted.)

The new bitmap mode is what current xterm generates, and also what
Windows ConPTY seems to expect. If you start an ordinary Command
Prompt and launch into WSL, those are the sequences it will generate
for shifted arrow keys; conversely, if you run a Command Prompt within
a ConPTY, then these sequences for Ctrl+arrow will have the effect you
expect in cmd.exe command-line editing (going backward or forward a
word). For that reason, I enable this mode unconditionally when
launching Windows pterm.
2021-10-18 20:15:35 +01:00
..
blurb.but Integrate the 'doc' subdir into the CMake system. 2021-05-03 17:01:55 +01:00
chm.css Minor style tweaks for the CHM. 2006-12-19 10:28:44 +00:00
chmextra.but Integrate the 'doc' subdir into the CMake system. 2021-05-03 17:01:55 +01:00
CMakeLists.txt Allow standalone cmake in the doc subdirectory. 2021-05-08 10:37:41 +01:00
config.but New config option for shifted arrow key handling. 2021-10-18 20:15:35 +01:00
errors.but Tweaks to SUPDUP documentation. 2021-02-21 16:44:51 +00:00
faq.but Docs updates. 2021-05-02 08:05:43 +01:00
feedback.but Tweaks to SUPDUP documentation. 2021-02-21 16:44:51 +00:00
gs.but Docs: correct some control names. 2021-04-20 16:25:49 +01:00
index.but New config option for shifted arrow key handling. 2021-10-18 20:15:35 +01:00
intro.but Docs: de-emphasise VMS. 2021-04-17 13:27:26 +01:00
man-pageant.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-plink.but Add -pwfile option, a more secure version of -pw. 2021-09-28 18:04:15 +01:00
man-pscp.but Add -pwfile option, a more secure version of -pw. 2021-09-28 18:04:15 +01:00
man-psftp.but Add -pwfile option, a more secure version of -pw. 2021-09-28 18:04:15 +01:00
man-psocks.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-psusan.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-pterm.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-putty.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-puttygen.but Document PPK format parameters, and --reencrypt. 2021-04-20 15:35:50 +01:00
man-puttytel.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
mancfg.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
manpages.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
pageant.but winpgnt: add a help button to async passphrase prompt. 2021-04-22 20:00:46 +01:00
pgpkeys.but GPG key rollover. 2021-08-14 08:02:27 +01:00
plink.but Update version number for 0.76 release. 2021-07-10 10:39:20 +01:00
pscp.but Update version number for 0.76 release. 2021-07-10 10:39:20 +01:00
psftp.but File transfer tools: sanitise remote filenames and stderr. 2019-02-20 07:27:22 +00:00
pubkey.but Docs updates. 2021-05-02 08:05:43 +01:00
pubkeyfmt.but PuTTYgen: explicitly use 'Kbyte' in Argon2 naming. 2021-04-19 17:03:05 +01:00
site.but Hmm, that relative link wasn't too good. Try a more helpful one. 2003-10-30 10:41:59 +00:00
sshnames.but Document agent protocol extensions. 2021-04-05 18:44:03 +01:00
udp.but Docs: insert missing 'inline' in a code example. 2021-09-07 13:38:14 +01:00
using.but Add -pwfile option, a more secure version of -pw. 2021-09-28 18:04:15 +01:00
vids.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00