u/mdw/putty
22 years agoFix error handling in sftp (the sftp_recv return value was being
simon [Tue, 11 Dec 2001 20:08:12 +0000 (20:08 +0000)]
Fix error handling in sftp (the sftp_recv return value was being
checked for NULL almost nowhere).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1472 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd help support to Pageant. (For the primary - non-context - help,
simon [Tue, 11 Dec 2001 18:48:29 +0000 (18:48 +0000)]
Add help support to Pageant. (For the primary - non-context - help,
we just invoke the same help file and jump to the Pageant chapter.
It would be nice to be able to bring up the contents box with the
Pageant chapter expanded, but I don't think WinHelp() allows us to
request this.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1471 cda61777-01e9-0310-a592-d414129be87e

22 years agoFixes to full-screen mode. There were various problems when you went
simon [Tue, 11 Dec 2001 18:47:55 +0000 (18:47 +0000)]
Fixes to full-screen mode. There were various problems when you went
full-screen, then selected Change Settings and then changed the
resize behaviour, ranging from the window staying FS but acquiring
borders to the window restoring its previous size and _failing_ to
acquire borders. Should now all be fixed.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1470 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix compiler warnings
simon [Tue, 11 Dec 2001 18:47:35 +0000 (18:47 +0000)]
Fix compiler warnings

git-svn-id: svn://svn.tartarus.org/sgt/putty@1469 cda61777-01e9-0310-a592-d414129be87e

22 years agoApparently sending DISCONNECT on a normal SSH2 connection close is
simon [Mon, 10 Dec 2001 18:12:51 +0000 (18:12 +0000)]
Apparently sending DISCONNECT on a normal SSH2 connection close is
actually _less_ polite than just closing the connection, rather than
more polite as I'd believed. So we now just close.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1468 cda61777-01e9-0310-a592-d414129be87e

22 years agoRDB's patch to allow the `-c' option to Pageant to take a command
simon [Mon, 10 Dec 2001 17:50:03 +0000 (17:50 +0000)]
RDB's patch to allow the `-c' option to Pageant to take a command
_with arguments_. Duh, should have thought of that myself.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1467 cda61777-01e9-0310-a592-d414129be87e

22 years agoAndrew Francis's Pageant updates: you can now multi-select key files
simon [Mon, 10 Dec 2001 17:40:14 +0000 (17:40 +0000)]
Andrew Francis's Pageant updates: you can now multi-select key files
to add and keys to remove (in the open-file dialog and the key list
box respectively), and passphrases are cached during the process of
adding several keys at once (in case two of the keys have the same
passphrase).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1466 cda61777-01e9-0310-a592-d414129be87e

22 years agoFIFTH ATTEMPT at getting full-screen mode right. This new attempt
simon [Fri, 7 Dec 2001 21:21:03 +0000 (21:21 +0000)]
FIFTH ATTEMPT at getting full-screen mode right. This new attempt
(which I'll comment at some stage) should combine the believable
semantics of RDB's fullscreen-by-maximise mode with the multi-
monitor friendliness of Wez Furlong's approach while also working on
Win98. If we're lucky.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1464 cda61777-01e9-0310-a592-d414129be87e

22 years agoOwen's patch to allow PowerMenu (third-party transparency tool) to
simon [Fri, 7 Dec 2001 20:37:18 +0000 (20:37 +0000)]
Owen's patch to allow PowerMenu (third-party transparency tool) to
not crash PuTTY.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1463 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd -rlogin to Plink, for orthogonality (and because I documented it
simon [Fri, 7 Dec 2001 20:36:56 +0000 (20:36 +0000)]
Add -rlogin to Plink, for orthogonality (and because I documented it
yesterday!).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1462 cda61777-01e9-0310-a592-d414129be87e

22 years agoDocumentation: filled the last few gaps and cleaned a few things up.
simon [Thu, 6 Dec 2001 20:05:39 +0000 (20:05 +0000)]
Documentation: filled the last few gaps and cleaned a few things up.
PuTTY now has a complete manual. Stylistic review, content review
and indexing are yet to do, but at least there's some plausible text
in every section now.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1460 cda61777-01e9-0310-a592-d414129be87e

22 years agoSort out the silly filenames.
simon [Thu, 6 Dec 2001 18:18:46 +0000 (18:18 +0000)]
Sort out the silly filenames.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1459 cda61777-01e9-0310-a592-d414129be87e

22 years agoIntegrate PuTTY and its help file. Now that's what I call a good
simon [Thu, 6 Dec 2001 13:28:02 +0000 (13:28 +0000)]
Integrate PuTTY and its help file. Now that's what I call a good
lunchtime's work :-)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1458 cda61777-01e9-0310-a592-d414129be87e

22 years agoOops - replacement section types should be capitalised
simon [Tue, 4 Dec 2001 19:12:18 +0000 (19:12 +0000)]
Oops - replacement section types should be capitalised

git-svn-id: svn://svn.tartarus.org/sgt/putty@1446 cda61777-01e9-0310-a592-d414129be87e

22 years agoOops - check the _rest_ of the SSH2 DES patch back in. D'oh!
simon [Thu, 29 Nov 2001 23:58:02 +0000 (23:58 +0000)]
Oops - check the _rest_ of the SSH2 DES patch back in. D'oh!

git-svn-id: svn://svn.tartarus.org/sgt/putty@1431 cda61777-01e9-0310-a592-d414129be87e

22 years agoDocument the three new configuration options I've added tonight
simon [Thu, 29 Nov 2001 22:32:37 +0000 (22:32 +0000)]
Document the three new configuration options I've added tonight

git-svn-id: svn://svn.tartarus.org/sgt/putty@1430 cda61777-01e9-0310-a592-d414129be87e

22 years agoMake the nonstandard "des-cbc" cipher disabled by default
simon [Thu, 29 Nov 2001 22:26:52 +0000 (22:26 +0000)]
Make the nonstandard "des-cbc" cipher disabled by default

git-svn-id: svn://svn.tartarus.org/sgt/putty@1429 cda61777-01e9-0310-a592-d414129be87e

22 years agoConfigurable TCP_NODELAY option on network connections
simon [Thu, 29 Nov 2001 21:47:11 +0000 (21:47 +0000)]
Configurable TCP_NODELAY option on network connections

git-svn-id: svn://svn.tartarus.org/sgt/putty@1428 cda61777-01e9-0310-a592-d414129be87e

22 years agoSet up kbd_codepage at the start of the program, as well as when the
simon [Thu, 29 Nov 2001 21:30:59 +0000 (21:30 +0000)]
Set up kbd_codepage at the start of the program, as well as when the
input locale changes. With any luck this should sort out the Polish
Unicode problems.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1427 cda61777-01e9-0310-a592-d414129be87e

22 years agoMake keyboard-interactive authentication configurable off. (This is
simon [Thu, 29 Nov 2001 20:34:06 +0000 (20:34 +0000)]
Make keyboard-interactive authentication configurable off. (This is
a stopgap until we get round to a proper authentications preference
list.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1426 cda61777-01e9-0310-a592-d414129be87e

22 years agoRemember to terminate the prompt string in keyboard-interactive
simon [Thu, 29 Nov 2001 20:27:20 +0000 (20:27 +0000)]
Remember to terminate the prompt string in keyboard-interactive

git-svn-id: svn://svn.tartarus.org/sgt/putty@1425 cda61777-01e9-0310-a592-d414129be87e

22 years agoFurther documentation work. Tidy up the Config chapter (add a few
simon [Sun, 25 Nov 2001 19:22:47 +0000 (19:22 +0000)]
Further documentation work. Tidy up the Config chapter (add a few
new features - the code had got ahead of the docs), and propagate a
couple of cross-references to other files as a result.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1424 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd a new chapter full of intermediate-useful-things, somewhere
simon [Sun, 25 Nov 2001 18:59:12 +0000 (18:59 +0000)]
Add a new chapter full of intermediate-useful-things, somewhere
between `Getting Started' (things we can barely believe you don't
know) and the Configuration reference chapter (things you already
knew and had just forgotten). Only half-written at the moment.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1423 cda61777-01e9-0310-a592-d414129be87e

22 years agoSplit the Window panel into two to make room for proper comments
simon [Sun, 25 Nov 2001 18:55:46 +0000 (18:55 +0000)]
Split the Window panel into two to make room for proper comments

git-svn-id: svn://svn.tartarus.org/sgt/putty@1422 cda61777-01e9-0310-a592-d414129be87e

22 years agoRDB's general resizing cleanup. He's put his favourite resize mode
simon [Sun, 25 Nov 2001 18:39:57 +0000 (18:39 +0000)]
RDB's general resizing cleanup. He's put his favourite resize mode
back in again, but as long as it's not the default it doesn't bother
me too much :-)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1421 cda61777-01e9-0310-a592-d414129be87e

22 years agoEditorial policy change: I've decided that it's better to use \q
simon [Sun, 25 Nov 2001 17:32:39 +0000 (17:32 +0000)]
Editorial policy change: I've decided that it's better to use \q
than \e when describing button names and menu items: the "Foo"
button rather than the _Foo_ button. Certainly consistent use of
either is better than the mixed use of both we had before :-)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1420 cda61777-01e9-0310-a592-d414129be87e

22 years agoArrgh, and "password" should be spelled "passphrase".
simon [Sun, 25 Nov 2001 17:14:00 +0000 (17:14 +0000)]
Arrgh, and "password" should be spelled "passphrase".

git-svn-id: svn://svn.tartarus.org/sgt/putty@1419 cda61777-01e9-0310-a592-d414129be87e

22 years agoOops - URLs in \W{...} have to be in real URL format :-/
simon [Sun, 25 Nov 2001 17:12:23 +0000 (17:12 +0000)]
Oops - URLs in \W{...} have to be in real URL format :-/

git-svn-id: svn://svn.tartarus.org/sgt/putty@1418 cda61777-01e9-0310-a592-d414129be87e

22 years agoOops - one last versionid :-)
simon [Sun, 25 Nov 2001 17:05:01 +0000 (17:05 +0000)]
Oops - one last versionid :-)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1416 cda61777-01e9-0310-a592-d414129be87e

22 years agoMiscellaneous documentation updates. Finished a first draft of the
simon [Sun, 25 Nov 2001 16:57:45 +0000 (16:57 +0000)]
Miscellaneous documentation updates. Finished a first draft of the
Pageant chapter; wrote something about passphrase lengths; added
\versionid to all chapters that didn't have it yet.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1415 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd support for most of the ESC[<low number>t sequences, which xterm
simon [Sun, 25 Nov 2001 15:21:25 +0000 (15:21 +0000)]
Add support for most of the ESC[<low number>t sequences, which xterm
uses to manipulate the window (minimise, maximise, front, back,
move, resize) and report things about the window (is it minimised or
maximised, how big is it, what's its title). Missing are ESC[4;X;Yt
(resize to a specified pixel size; our resize code doesn't like it)
and ESC[19;X;Yt (report size of _screen_ in _characters_, which it
isn't even obvious how to do when you've got a variable font size).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1414 cda61777-01e9-0310-a592-d414129be87e

22 years agoINCOMPATIBLE CHANGE to the SSH2 private key file format. There is
simon [Sun, 25 Nov 2001 14:31:46 +0000 (14:31 +0000)]
INCOMPATIBLE CHANGE to the SSH2 private key file format. There is
now a passphrase-keyed MAC covering _all_ important data in the
file, including the public blob and the key comment. Should
conclusively scupper any attacks based on nobbling the key file in
an attempt to sucker the machine that decrypts it. MACing the
comment field also protects against a key-substitution attack (if
someone's worked out a way past our DSA protections and can extract
the private key from a signature, swapping key files and
substituting comments might just enable them to get the signature
they need to do this. Paranoid, but might as well).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1413 cda61777-01e9-0310-a592-d414129be87e

22 years agoOops - fix another segfault in that -L and -R code
simon [Sun, 25 Nov 2001 12:23:34 +0000 (12:23 +0000)]
Oops - fix another segfault in that -L and -R code

git-svn-id: svn://svn.tartarus.org/sgt/putty@1412 cda61777-01e9-0310-a592-d414129be87e

22 years agoRob Wood's patch to provide standard -L and -R options for port
simon [Sun, 25 Nov 2001 11:36:49 +0000 (11:36 +0000)]
Rob Wood's patch to provide standard -L and -R options for port
forwarding in Plink. Cleaned up a bit to remove segfaults and work
correctly with saved sessions.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1411 cda61777-01e9-0310-a592-d414129be87e

22 years agoJacob's patch to make full-screen mode available even when Alt-Enter
simon [Sun, 25 Nov 2001 10:24:29 +0000 (10:24 +0000)]
Jacob's patch to make full-screen mode available even when Alt-Enter
isn't configured to do it: we now have a sysmenu option for it. In
addition, there's a special case such that clicking the top left
pixel on the screen in full-screen mode brings up the sysmenu (so
you can still get at the sysmenu in FS mode without Alt-anything
configured to bring it up and without ghastly fiddling with the
Windows key). Also Change Settings while in full-screen mode now
adds/removes the scrollbar in response to scrollbar_in_fullscreen
rather than scrollbar (oops).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1410 cda61777-01e9-0310-a592-d414129be87e

22 years agoMake use of the new section-relabelling in Buttress to arrange for
simon [Sat, 24 Nov 2001 17:51:26 +0000 (17:51 +0000)]
Make use of the new section-relabelling in Buttress to arrange for
all the FAQ questions to be cross-referenced as `question A.1.2'
instead of `section A.1.2'.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1409 cda61777-01e9-0310-a592-d414129be87e

22 years agoJacob's fix to the resize-behaviour GUI
simon [Sat, 24 Nov 2001 13:11:28 +0000 (13:11 +0000)]
Jacob's fix to the resize-behaviour GUI

git-svn-id: svn://svn.tartarus.org/sgt/putty@1407 cda61777-01e9-0310-a592-d414129be87e

22 years agoGlenn Maynard's other IME fix
simon [Sat, 24 Nov 2001 11:56:24 +0000 (11:56 +0000)]
Glenn Maynard's other IME fix

git-svn-id: svn://svn.tartarus.org/sgt/putty@1406 cda61777-01e9-0310-a592-d414129be87e

22 years agoGlenn Maynard's IMM cursor position fix
simon [Fri, 23 Nov 2001 19:12:28 +0000 (19:12 +0000)]
Glenn Maynard's IMM cursor position fix

git-svn-id: svn://svn.tartarus.org/sgt/putty@1405 cda61777-01e9-0310-a592-d414129be87e

22 years agoEnsure we ignore a hostname in Default Settings, if a perverse user
simon [Fri, 23 Nov 2001 12:51:23 +0000 (12:51 +0000)]
Ensure we ignore a hostname in Default Settings, if a perverse user
has set one up using regedit. It badly confuses Plink.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1404 cda61777-01e9-0310-a592-d414129be87e

22 years agoMake it clear that you can't save a hostname into Default Settings,
simon [Fri, 23 Nov 2001 12:48:14 +0000 (12:48 +0000)]
Make it clear that you can't save a hostname into Default Settings,
and also make it clear why not and what you should do instead.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1403 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd background-colour erase and `set this at the start of the
simon [Thu, 22 Nov 2001 22:00:38 +0000 (22:00 +0000)]
Add background-colour erase and `set this at the start of the
session' to the FAQ.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1402 cda61777-01e9-0310-a592-d414129be87e

22 years agoComment/string tweaks to reflect new DES-in-SSH2 capability.
jacob [Wed, 21 Nov 2001 23:40:46 +0000 (23:40 +0000)]
Comment/string tweaks to reflect new DES-in-SSH2 capability.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1397 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd single-DES support in SSH2
simon [Wed, 21 Nov 2001 23:06:10 +0000 (23:06 +0000)]
Add single-DES support in SSH2

git-svn-id: svn://svn.tartarus.org/sgt/putty@1396 cda61777-01e9-0310-a592-d414129be87e

22 years agoRyan Finnie's extensions to the GUI feedback mode in pscp.
simon [Wed, 21 Nov 2001 22:58:01 +0000 (22:58 +0000)]
Ryan Finnie's extensions to the GUI feedback mode in pscp.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1395 cda61777-01e9-0310-a592-d414129be87e

22 years agoPrimitive protection against SSH2 not actually agreeing a cipher in
jacob [Wed, 21 Nov 2001 22:48:20 +0000 (22:48 +0000)]
Primitive protection against SSH2 not actually agreeing a cipher in
either direction.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1394 cda61777-01e9-0310-a592-d414129be87e

22 years agoMake sure we always unhide the mouse pointer when the System menu is
simon [Wed, 21 Nov 2001 22:31:05 +0000 (22:31 +0000)]
Make sure we always unhide the mouse pointer when the System menu is
displayed.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1393 cda61777-01e9-0310-a592-d414129be87e

22 years agoCtrl and Alt shouldn't reset the scrollback even if reset-on-
simon [Wed, 21 Nov 2001 22:23:40 +0000 (22:23 +0000)]
Ctrl and Alt shouldn't reset the scrollback even if reset-on-
keypress is enabled. (Shift already didn't, because that was
necessary for Shift-Pg{Up,Dn} to work sanely.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1392 cda61777-01e9-0310-a592-d414129be87e

22 years agoThe dummy drag-list item wasn't being removed on a single-click or
simon [Wed, 21 Nov 2001 22:16:04 +0000 (22:16 +0000)]
The dummy drag-list item wasn't being removed on a single-click or
double-click (DL_BEGINDRAG followed immediately by DL_DROPPED with
no intervening DL_DRAGGING). Fixed.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1391 cda61777-01e9-0310-a592-d414129be87e

22 years agoSend SSH2_MSG_NEWKEYS _before_ expecting to receive it, rather than
simon [Wed, 21 Nov 2001 22:06:53 +0000 (22:06 +0000)]
Send SSH2_MSG_NEWKEYS _before_ expecting to receive it, rather than
after. Shouldn't make a difference for any server that previously
worked, but we should now interoperate sensibly with servers that
wait to receive our NEWKEYS before sending their own. Apparently
Unisphere produce one such.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1390 cda61777-01e9-0310-a592-d414129be87e

22 years agoYikes! sftp.c wasn't using the misc.h wrappered malloc functions,
simon [Wed, 14 Nov 2001 12:58:42 +0000 (12:58 +0000)]
Yikes! sftp.c wasn't using the misc.h wrappered malloc functions,
meaning that PSFTP couldn't meaningfully be debugged using
Minefield. That's what I get for developing it under Unix and
forgetting to port it properly :-/

git-svn-id: svn://svn.tartarus.org/sgt/putty@1383 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd a rant to the FAQ about host key checking. I'm _sick_ of people
simon [Tue, 13 Nov 2001 23:13:07 +0000 (23:13 +0000)]
Add a rant to the FAQ about host key checking. I'm _sick_ of people
implementing a command line option to disable it and expecting us to
cheerfully accept the patch.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1382 cda61777-01e9-0310-a592-d414129be87e

22 years agoModify a comment to try to remind myself that the &-in-session-names
simon [Tue, 13 Nov 2001 22:39:46 +0000 (22:39 +0000)]
Modify a comment to try to remind myself that the &-in-session-names
hack (to create accelerators on the System menu) should have some
official status.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1381 cda61777-01e9-0310-a592-d414129be87e

22 years agoHandle incoming SSH2_MSG_CHANNEL_REQUEST (by refusing all requests).
simon [Tue, 13 Nov 2001 22:06:37 +0000 (22:06 +0000)]
Handle incoming SSH2_MSG_CHANNEL_REQUEST (by refusing all requests).
Should have done this ages ago; the OpenSSH 3.0 ClientAliveInterval
mechanism requires it so now it's really necessary.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1380 cda61777-01e9-0310-a592-d414129be87e

22 years agoClarify the how-to-use-features-in-Plink question
simon [Tue, 13 Nov 2001 10:34:14 +0000 (10:34 +0000)]
Clarify the how-to-use-features-in-Plink question

git-svn-id: svn://svn.tartarus.org/sgt/putty@1379 cda61777-01e9-0310-a592-d414129be87e

22 years agoRemember to initialise p->nphases to zero in progress report structure.
simon [Mon, 12 Nov 2001 09:19:57 +0000 (09:19 +0000)]
Remember to initialise p->nphases to zero in progress report structure.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1378 cda61777-01e9-0310-a592-d414129be87e

22 years agoOops - one missing set of the ssh1 throttling indicator
simon [Sat, 10 Nov 2001 17:09:17 +0000 (17:09 +0000)]
Oops - one missing set of the ssh1 throttling indicator

git-svn-id: svn://svn.tartarus.org/sgt/putty@1377 cda61777-01e9-0310-a592-d414129be87e

22 years agoWhoops - missed out a vital bit of RTF Unicode fallback handling
simon [Thu, 8 Nov 2001 09:20:36 +0000 (09:20 +0000)]
Whoops - missed out a vital bit of RTF Unicode fallback handling

git-svn-id: svn://svn.tartarus.org/sgt/putty@1374 cda61777-01e9-0310-a592-d414129be87e

22 years agoImplement writing RTF to the clipboard (off by default), so that if
simon [Wed, 7 Nov 2001 22:22:53 +0000 (22:22 +0000)]
Implement writing RTF to the clipboard (off by default), so that if
you enable it text will paste into Word et al in the same font as
PuTTY itself is displaying in. In particular, this will be a fixed-
pitch font, so tables and `ls' and the like will naturally line up.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1373 cda61777-01e9-0310-a592-d414129be87e

22 years agoMakefile fix: we've been compiling ssh.c separately because it needs
simon [Wed, 7 Nov 2001 13:39:54 +0000 (13:39 +0000)]
Makefile fix: we've been compiling ssh.c separately because it needs
$(VER) defining, but forgetting that it also needs the rest of the
stuff!

git-svn-id: svn://svn.tartarus.org/sgt/putty@1372 cda61777-01e9-0310-a592-d414129be87e

22 years agoRDB's fix to full-screen mode. Apparently sorts out most of the
simon [Sun, 4 Nov 2001 16:41:26 +0000 (16:41 +0000)]
RDB's fix to full-screen mode. Apparently sorts out most of the
fullscreen/maximised confusions, by treating fullscreen as a special
case of maximised (fair enough). Removes dependency on multimon.h,
but Wez thinks (though he was unable to test) that this version
should naturally do the Right Thing on multi-monitor systems anyway.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1365 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix accelerators in Window panel
simon [Wed, 31 Oct 2001 18:51:07 +0000 (18:51 +0000)]
Fix accelerators in Window panel

git-svn-id: svn://svn.tartarus.org/sgt/putty@1351 cda61777-01e9-0310-a592-d414129be87e

22 years agoRectangular-block selection. Enabled by Alt+drag, unless you
simon [Wed, 31 Oct 2001 18:50:09 +0000 (18:50 +0000)]
Rectangular-block selection. Enabled by Alt+drag, unless you
configure it to be the default in which case it's _dis_abled by
Alt+drag.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1350 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd a couple more FAQs (`where's the Tunnels panel' and `how do I do
simon [Tue, 30 Oct 2001 22:33:35 +0000 (22:33 +0000)]
Add a couple more FAQs (`where's the Tunnels panel' and `how do I do
<blah> in Plink').

git-svn-id: svn://svn.tartarus.org/sgt/putty@1349 cda61777-01e9-0310-a592-d414129be87e

22 years agoShrink the PuTTYgen window for 640x480 friendliness (thanks Jacob)
simon [Tue, 30 Oct 2001 22:12:49 +0000 (22:12 +0000)]
Shrink the PuTTYgen window for 640x480 friendliness (thanks Jacob)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1348 cda61777-01e9-0310-a592-d414129be87e

22 years agoWord-by-word (double-click) selection now spans line breaks if the
simon [Tue, 30 Oct 2001 22:02:15 +0000 (22:02 +0000)]
Word-by-word (double-click) selection now spans line breaks if the
line break was created by wrapping. (Equivalently, if the selection
would _paste_ as a single word without a newline in the middle, then
it will _select_ in the same way.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1347 cda61777-01e9-0310-a592-d414129be87e

22 years agoThe other utilities should do the same processing of the hostname
simon [Tue, 30 Oct 2001 21:45:27 +0000 (21:45 +0000)]
The other utilities should do the same processing of the hostname
(parsing `user@' prefixes etc) that PuTTY proper does.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1346 cda61777-01e9-0310-a592-d414129be87e

22 years agoTidy up the SERIOUS NETWORK ERROR fixes
simon [Tue, 30 Oct 2001 20:57:22 +0000 (20:57 +0000)]
Tidy up the SERIOUS NETWORK ERROR fixes

git-svn-id: svn://svn.tartarus.org/sgt/putty@1345 cda61777-01e9-0310-a592-d414129be87e

22 years agoTidy up SSH packet-level debugging
simon [Tue, 30 Oct 2001 20:35:29 +0000 (20:35 +0000)]
Tidy up SSH packet-level debugging

git-svn-id: svn://svn.tartarus.org/sgt/putty@1344 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd the `will you write an SSH server' question to the FAQ.
simon [Tue, 30 Oct 2001 15:37:09 +0000 (15:37 +0000)]
Add the `will you write an SSH server' question to the FAQ.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1343 cda61777-01e9-0310-a592-d414129be87e

22 years agoIncrease cfg.line_codepage buffer size to cope with the explanatory
simon [Tue, 30 Oct 2001 09:50:40 +0000 (09:50 +0000)]
Increase cfg.line_codepage buffer size to cope with the explanatory
text added in a recent unicode.c patch.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1342 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix trivial UI buglets related to DSA key support.
jacob [Sun, 28 Oct 2001 15:32:33 +0000 (15:32 +0000)]
Fix trivial UI buglets related to DSA key support.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1338 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd the FAQ about `nothing happens when I try to type my password'.
simon [Sun, 28 Oct 2001 15:11:24 +0000 (15:11 +0000)]
Add the FAQ about `nothing happens when I try to type my password'.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1337 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix character set problems. Some systems lack the ISO8859 codepages,
simon [Sun, 28 Oct 2001 10:40:11 +0000 (10:40 +0000)]
Fix character set problems. Some systems lack the ISO8859 codepages,
so we specify them explicitly to avoid this problem. Also in
particular get_unitab() no longer depends on querying Windows
codepage 28591 (ISO8859-1), so UTF-8 mode should stop failing on
such systems.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1336 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix the `SERIOUS NETWORK INTERNAL ERROR' oversight in winnet.c. See
simon [Sun, 28 Oct 2001 09:57:47 +0000 (09:57 +0000)]
Fix the `SERIOUS NETWORK INTERNAL ERROR' oversight in winnet.c. See
the comment in try_send() for details of the problem.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1335 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix silly scrolling-vs-selection bug: if you selected text on line
simon [Sun, 28 Oct 2001 09:38:43 +0000 (09:38 +0000)]
Fix silly scrolling-vs-selection bug: if you selected text on line
9, then did ANSI Delete Line on line 10, the selection highlight
would move up a line even though it wasn't over any text that
actually moved. Easy to reproduce in the likes of vi. Trivial fix.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1334 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd remaining comments to the last checkin (gah, remember to hit
simon [Sat, 27 Oct 2001 11:06:11 +0000 (11:06 +0000)]
Add remaining comments to the last checkin (gah, remember to hit
Save in the editor _before_ running cvs commit).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1333 cda61777-01e9-0310-a592-d414129be87e

22 years agoUpdate to password length traffic analysis: one Cisco router can
simon [Sat, 27 Oct 2001 10:39:54 +0000 (10:39 +0000)]
Update to password length traffic analysis: one Cisco router can
apparently not deal with SSH1_MSG_IGNORE _or_ padded passwords, so
we must fall back to sending an undefended password.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1332 cda61777-01e9-0310-a592-d414129be87e

22 years agoTiny tinkerings with FAQ
simon [Thu, 25 Oct 2001 18:48:54 +0000 (18:48 +0000)]
Tiny tinkerings with FAQ

git-svn-id: svn://svn.tartarus.org/sgt/putty@1326 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix a couple of errors in the FAQ.
simon [Thu, 25 Oct 2001 08:09:58 +0000 (08:09 +0000)]
Fix a couple of errors in the FAQ.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1320 cda61777-01e9-0310-a592-d414129be87e

22 years agoCondense the docs into fewer HTML files. Particularly useful since
simon [Wed, 24 Oct 2001 19:05:36 +0000 (19:05 +0000)]
Condense the docs into fewer HTML files. Particularly useful since
the new-look FAQ is now one file.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1319 cda61777-01e9-0310-a592-d414129be87e

22 years ago_Actually_ add the new-look PuTTY FAQ. When will I remember to run "cvs add"?
simon [Wed, 24 Oct 2001 18:56:52 +0000 (18:56 +0000)]
_Actually_ add the new-look PuTTY FAQ. When will I remember to run "cvs add"?

git-svn-id: svn://svn.tartarus.org/sgt/putty@1318 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd the new-look PuTTY FAQ
simon [Wed, 24 Oct 2001 18:56:28 +0000 (18:56 +0000)]
Add the new-look PuTTY FAQ

git-svn-id: svn://svn.tartarus.org/sgt/putty@1317 cda61777-01e9-0310-a592-d414129be87e

22 years agoNow that we can configure whether ^C and friends generate Telnet IP
simon [Wed, 24 Oct 2001 11:50:07 +0000 (11:50 +0000)]
Now that we can configure whether ^C and friends generate Telnet IP
and friends, we should honour the user's choice even in line editing
mode. In particular, Telnet talkers don't like us randomly spraying
Telnet IP whenever the user accidentally hits ^C, so this is not a
helpful default.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1316 cda61777-01e9-0310-a592-d414129be87e

22 years agoAdd Jacob's patch for compiling without multimon.h.
simon [Tue, 23 Oct 2001 20:25:34 +0000 (20:25 +0000)]
Add Jacob's patch for compiling without multimon.h.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1315 cda61777-01e9-0310-a592-d414129be87e

22 years agoBetter robustness in visual bell timeouts: handling GetTickCount
simon [Tue, 23 Oct 2001 19:51:23 +0000 (19:51 +0000)]
Better robustness in visual bell timeouts: handling GetTickCount
wraparound, not referencing vbell_timeout if in_vbell==FALSE, that
sort of thing. I doubt it'll fix the reported problems with screen
vbells, since none of the failure modes I've just prevented looked
all that probable to me, but it's nice to have extra robustness
anyway.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1314 cda61777-01e9-0310-a592-d414129be87e

22 years agoDon't quit the plink main loop until the stdout and stderr buffers
simon [Tue, 23 Oct 2001 19:22:01 +0000 (19:22 +0000)]
Don't quit the plink main loop until the stdout and stderr buffers
are empty.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1313 cda61777-01e9-0310-a592-d414129be87e

22 years agoWez Furlong's patch to tidy up full-screen mode: make it
simon [Wed, 17 Oct 2001 21:21:03 +0000 (21:21 +0000)]
Wez Furlong's patch to tidy up full-screen mode: make it
multi-monitor aware and make the scrollbar separately configurable
in and out of full-screen mode. Also (not Wez's patch, this bit) fix
the case where the user reconfigures _while_ the window is
full-screen, and disables full-screening. (In this case the window
should return gracefully to normal, rather than losing all its title
bars and getting confused.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1310 cda61777-01e9-0310-a592-d414129be87e

22 years agoFinally remove this pile of obsoleteness
simon [Wed, 17 Oct 2001 21:02:39 +0000 (21:02 +0000)]
Finally remove this pile of obsoleteness

git-svn-id: svn://svn.tartarus.org/sgt/putty@1309 cda61777-01e9-0310-a592-d414129be87e

22 years agoD'oh, trivial typo which was completely breaking log-all-output.
simon [Fri, 12 Oct 2001 21:39:16 +0000 (21:39 +0000)]
D'oh, trivial typo which was completely breaking log-all-output.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1308 cda61777-01e9-0310-a592-d414129be87e

22 years agoRevamp the window-resize behaviour UI so there are only three states
simon [Fri, 12 Oct 2001 21:10:56 +0000 (21:10 +0000)]
Revamp the window-resize behaviour UI so there are only three states
rather than four. Should fix all sorts of bugs, since the fourth
(and default!) state was behaving weirdly and nobody liked it.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1307 cda61777-01e9-0310-a592-d414129be87e

22 years agoDue to fears that an incompetent WinSock might allow localhost-
simon [Fri, 12 Oct 2001 19:32:13 +0000 (19:32 +0000)]
Due to fears that an incompetent WinSock might allow localhost-
listening sockets to be talked to by non-local hosts, reinstate the
explicit peer address check on connection acceptance.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1306 cda61777-01e9-0310-a592-d414129be87e

22 years agoExtra line in the help text to mention you can use a saved session
simon [Wed, 26 Sep 2001 20:31:02 +0000 (20:31 +0000)]
Extra line in the help text to mention you can use a saved session
as well as a hostname.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1305 cda61777-01e9-0310-a592-d414129be87e

22 years ago`Server got confused by' error messages now quote a packet type, so
simon [Wed, 26 Sep 2001 20:29:03 +0000 (20:29 +0000)]
`Server got confused by' error messages now quote a packet type, so
I can start debugging as soon as I get one sent to me.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1304 cda61777-01e9-0310-a592-d414129be87e

22 years agoFiddly fixes in code page handling
simon [Tue, 25 Sep 2001 21:08:24 +0000 (21:08 +0000)]
Fiddly fixes in code page handling

git-svn-id: svn://svn.tartarus.org/sgt/putty@1303 cda61777-01e9-0310-a592-d414129be87e

22 years agoSpelling fix. When the user hits `Browse' next to the `Private key'
simon [Tue, 25 Sep 2001 20:12:14 +0000 (20:12 +0000)]
Spelling fix. When the user hits `Browse' next to the `Private key'
box, they should see a file chooser labelled Select _Private_ Key
File, not Public!

git-svn-id: svn://svn.tartarus.org/sgt/putty@1302 cda61777-01e9-0310-a592-d414129be87e

22 years agoAnother potential segfault fixed. Thanks RDB :-)
simon [Tue, 25 Sep 2001 20:07:55 +0000 (20:07 +0000)]
Another potential segfault fixed. Thanks RDB :-)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1301 cda61777-01e9-0310-a592-d414129be87e

22 years agoTidy up a comment.
simon [Tue, 25 Sep 2001 20:07:12 +0000 (20:07 +0000)]
Tidy up a comment.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1300 cda61777-01e9-0310-a592-d414129be87e

22 years agoJohn Sullivan's patch to recreate the Pageant systray icon if
simon [Tue, 25 Sep 2001 20:05:06 +0000 (20:05 +0000)]
John Sullivan's patch to recreate the Pageant systray icon if
Explorer crashes and restarts while Pageant is running.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1299 cda61777-01e9-0310-a592-d414129be87e

22 years agoFix various fiddly little warnings.
simon [Tue, 25 Sep 2001 19:59:14 +0000 (19:59 +0000)]
Fix various fiddly little warnings.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1298 cda61777-01e9-0310-a592-d414129be87e