u/mdw/putty
21 years agoConvert from CRLF to Unix line endings -- no other change
jacob [Mon, 2 Sep 2002 13:32:37 +0000 (13:32 +0000)]
Convert from CRLF to Unix line endings -- no other change

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

21 years agoMention PocketPC in the WinCE question. I'm not sure how similar WinCE and
jacob [Mon, 2 Sep 2002 13:04:46 +0000 (13:04 +0000)]
Mention PocketPC in the WinCE question. I'm not sure how similar WinCE and
PocketPC are, though -- perhaps it merits its own question. (Although I don't
know of anyone who's looked into it yet.)

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

21 years agoI'm rapidly running out of patience for trying all possible
simon [Sun, 1 Sep 2002 13:12:51 +0000 (13:12 +0000)]
I'm rapidly running out of patience for trying all possible
combinations of options to EnumPrinters() to see which one works,
but here's another one tried at random for now. *sigh*

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

21 years agoAdd BUG_SSH2_DERIVEKEY, present (according to OpenSSH) in ssh.com
simon [Sun, 18 Aug 2002 09:27:15 +0000 (09:27 +0000)]
Add BUG_SSH2_DERIVEKEY, present (according to OpenSSH) in ssh.com
versions 2.0.*, and causing the shared secret not to be included in
key derivation hashes. (This doesn't quite cause a blatant security
hole because the session ID - _derived_ from the shared secret - is
still included.)

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

21 years agoIn SSH2, if decrypting the packet length gave us a negative value,
simon [Sun, 18 Aug 2002 09:10:17 +0000 (09:10 +0000)]
In SSH2, if decrypting the packet length gave us a negative value,
subsequent packet-receiver code would fail to notice anything was
wrong and segfault. Since this is clearly a silly packet length
anyway, we now explicitly reject it as a daft encryption error.

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

21 years agoChanged wording of OpenSSH vs bad OpenSSL FAQ so that it's more obvious it
jacob [Thu, 15 Aug 2002 14:59:48 +0000 (14:59 +0000)]
Changed wording of OpenSSH vs bad OpenSSL FAQ so that it's more obvious it
applies to 3.4p1.

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

21 years agoAlter the Feedback page, so that instead of saying `at some point we
simon [Mon, 12 Aug 2002 14:08:55 +0000 (14:08 +0000)]
Alter the Feedback page, so that instead of saying `at some point we
plan to start blocking executable attachments' it now says we _do_
block executable attachments. :-)

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

21 years agoFinal fixes to keyboard-interactive so it now works with packets
simon [Sun, 11 Aug 2002 13:02:01 +0000 (13:02 +0000)]
Final fixes to keyboard-interactive so it now works with packets
containing more than one prompt instead of less than one, and also
correctly enables echo on prompts that the server requests it for.
In the process I've moved the whole username/password input routine
out into its own function, where it's called independently of which
SSH protocol we're using, so this should even have _saved_ code
size. Rock!

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

21 years agoAnecdotal evidence suggests that a single EnumPrinters() call
simon [Sun, 11 Aug 2002 12:17:25 +0000 (12:17 +0000)]
Anecdotal evidence suggests that a single EnumPrinters() call
specifying both PRINTER_ENUM_LOCAL and PRINTER_ENUM_CONNECTIONS
catches more printers in some circumstances than two EnumPrinters()
calls each specifying just one of them. We'll try it for a bit; if
it goes wrong I might have to put back the two original calls as
well and sort out some means of removing duplicate printers from the
list.

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

21 years agoActually, VirtualLock() looks better as \cw{} not \c{}.
simon [Fri, 9 Aug 2002 09:14:04 +0000 (09:14 +0000)]
Actually, VirtualLock() looks better as \cw{} not \c{}.

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

21 years agoAdd two more FAQs: `why don't you use VirtualLock()' and `are you
simon [Fri, 9 Aug 2002 09:11:09 +0000 (09:11 +0000)]
Add two more FAQs: `why don't you use VirtualLock()' and `are you
based on OpenSSH'.

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

21 years agossh.com 3.2.0 uses zlib sync flush (start and close an empty
simon [Thu, 8 Aug 2002 17:03:58 +0000 (17:03 +0000)]
ssh.com 3.2.0 uses zlib sync flush (start and close an empty
uncompressed block at the end of each compressed packet) which we
were embarrassingly unable to deal with because we assumed every
uncompressed block contained at least one byte. Particularly silly
because I _knew_ about the existence of sync flush when I coded this
module. Arrgh. Still, now fixed.

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

21 years agoDocument all the new command-line stuff.
simon [Wed, 7 Aug 2002 19:20:06 +0000 (19:20 +0000)]
Document all the new command-line stuff.

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

21 years agoArrgh, we can't have -p for port number because we're already using
simon [Wed, 7 Aug 2002 19:09:33 +0000 (19:09 +0000)]
Arrgh, we can't have -p for port number because we're already using
it for preserving file attributes in PSCP! Ah well; looks as if
that's one where we'll have to agree to differ with OpenSSH.

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

21 years agoSome of the new options shouldn't be available in the file transfer
simon [Wed, 7 Aug 2002 18:43:40 +0000 (18:43 +0000)]
Some of the new options shouldn't be available in the file transfer
tools.

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

21 years agoFix Halibut syntax error (oops).
simon [Wed, 7 Aug 2002 18:08:29 +0000 (18:08 +0000)]
Fix Halibut syntax error (oops).

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

21 years agoOops. Didn't quite get the new SSH protocol selection code right. *blush*
simon [Wed, 7 Aug 2002 17:57:06 +0000 (17:57 +0000)]
Oops. Didn't quite get the new SSH protocol selection code right. *blush*

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

21 years agoAdd a load of new command-line options pilfered from OpenSSH. Full
simon [Wed, 7 Aug 2002 17:55:06 +0000 (17:55 +0000)]
Add a load of new command-line options pilfered from OpenSSH. Full
list is: -A, -a, -X, -x, -T, -t, -C, -1, -2, -i keyfile.

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

21 years agoAdd an option to force SSH1 protocol only. Partly for symmetry;
simon [Wed, 7 Aug 2002 17:48:26 +0000 (17:48 +0000)]
Add an option to force SSH1 protocol only. Partly for symmetry;
mostly because I'm about to want it for the -1 command line option.

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

21 years agoClean up the argv splitter, and in particular stop it from bombing
simon [Wed, 7 Aug 2002 17:29:28 +0000 (17:29 +0000)]
Clean up the argv splitter, and in particular stop it from bombing
out ignominiously when given no arguments :-)

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

21 years agoPageant's command line handling now uses my new split_into_argv()
simon [Tue, 6 Aug 2002 17:57:37 +0000 (17:57 +0000)]
Pageant's command line handling now uses my new split_into_argv()
function, because it's silly to have two (and because the old one
was not the same as the new one, violating the Principle of Least
Surprise).

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

21 years agoPuTTYgen will now start by loading a private key file if one is
simon [Tue, 6 Aug 2002 17:48:14 +0000 (17:48 +0000)]
PuTTYgen will now start by loading a private key file if one is
provided on its command line.

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

21 years agoOops. That is to say, only loading and saving of PuTTY private keys
simon [Tue, 6 Aug 2002 17:35:34 +0000 (17:35 +0000)]
Oops. That is to say, only loading and saving of PuTTY private keys
should default to .PPK - loading and saving of public keys and of
foreign key formats still defaults to All Files. Ahem.

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

21 years agoNow that we've decided on a file extension for private key files
simon [Tue, 6 Aug 2002 17:27:18 +0000 (17:27 +0000)]
Now that we've decided on a file extension for private key files
(.PPK), make it the default in all the private-key file dialogs.

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

21 years agoButtress is now Halibut: change the docs makefile.
simon [Mon, 5 Aug 2002 10:35:35 +0000 (10:35 +0000)]
Buttress is now Halibut: change the docs makefile.

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

21 years agoMake it clear that we're only responsible for our own web site, and
simon [Mon, 5 Aug 2002 10:35:23 +0000 (10:35 +0000)]
Make it clear that we're only responsible for our own web site, and
people should contact mirror admins for problems with mirrors.

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

21 years agoRevamp of command-line handling. Most command line options should
simon [Sun, 4 Aug 2002 21:18:56 +0000 (21:18 +0000)]
Revamp of command-line handling. Most command line options should
now be processed in cmdline.c, which is called from all utilities
(well, not Pageant or PuTTYgen). This should mean we get to
standardise almost all options across almost all tools. Also one
major change: `-load' is now the preferred option for loading a
saved session in PuTTY proper. `@session' still works but is
deprecated.

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

21 years agoFix culpable lack of generality in keyboard-interactive
simon [Sat, 3 Aug 2002 16:22:55 +0000 (16:22 +0000)]
Fix culpable lack of generality in keyboard-interactive
authentication: a k-i request packet can contain any number of auth
prompts (including zero!) and we must ask the user all of them and
send back a packet containing the same number of responses. FreeBSD
systems were sending a zero-prompts packet which was crashing us;
this now appears fixed (we correctly return a zero-responses packet)
but I haven't tested a multiple-prompts packet because I can't
immediately think of a server that generates them.

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

21 years agoOpenSSH/OpenSSL versioning problems: as of 3.4p1 this is _still_ not entirely
jacob [Tue, 9 Jul 2002 11:34:10 +0000 (11:34 +0000)]
OpenSSH/OpenSSL versioning problems: as of 3.4p1 this is _still_ not entirely
fixed.

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

21 years agoForgot to call fxp_init() in `pscp -ls' mode under SFTP.
simon [Tue, 25 Jun 2002 18:51:06 +0000 (18:51 +0000)]
Forgot to call fxp_init() in `pscp -ls' mode under SFTP.

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

21 years agoFailure to initialise a local variable was leading to free(garbage)
simon [Mon, 17 Jun 2002 16:45:41 +0000 (16:45 +0000)]
Failure to initialise a local variable was leading to free(garbage)
on loading an OpenSSH key and getting the wrong passphrase.

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

21 years agoOne of the recent port forwarding crash reports contained details
simon [Sat, 15 Jun 2002 16:52:35 +0000 (16:52 +0000)]
One of the recent port forwarding crash reports contained details
which suggested bufchain_prefix() was finding an improperly
initialised bufchain structure. Looking at the code, this may indeed
have been able to happen, since the bufchain in a SOCKDATA_DORMANT
channel was not initialised until CHANNEL_OPEN_CONFIRMATION was
received. This seems utterly daft, so I now call bufchain_init()
when the channel structure is actually created. With any luck the
crash will mystically disappear now (I wasn't able to reproduce it
myself).

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

21 years agoPadding on the end of the encrypted data in OpenSSH key format was
simon [Sat, 15 Jun 2002 16:31:22 +0000 (16:31 +0000)]
Padding on the end of the encrypted data in OpenSSH key format was
broken: the OpenSSL EVP layer specifies a very particular form of
padding, which I wasn't generating because it hadn't occurred to me
that it might be mandatory. Irritatingly this was causing our
exported OpenSSH keys to load perfectly happily back in through our
OpenSSH import routines, but to be rejected by OpenSSH proper. Sigh.

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

21 years agoSmall memory allocation bug in openssh_encrypted() fixed.
simon [Sat, 15 Jun 2002 15:37:15 +0000 (15:37 +0000)]
Small memory allocation bug in openssh_encrypted() fixed.

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

21 years agoModify the Feedback page / Appendix B to expand the section about
simon [Sat, 8 Jun 2002 09:00:00 +0000 (09:00 +0000)]
Modify the Feedback page / Appendix B to expand the section about
not sending us large attachments, and in particular remove the
emphasis on screen shots in the hope of also decreasing the number
of _other_ large attachments we get.

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

21 years agoWorkaround for the SSH2 RSA padding bug in OpenSSH 2.5 - 3.2
simon [Fri, 31 May 2002 17:39:16 +0000 (17:39 +0000)]
Workaround for the SSH2 RSA padding bug in OpenSSH 2.5 - 3.2
inclusive. Padding is accomplished by rewriting the signature blob
rather than at the point of generation, in order to avoid having to
move part of the workaround into Pageant (and having to corrupt the
agent wire protocol to allow PuTTY to specify whether it wants its
signatures padded!).

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

21 years agoFix AltGr/Application/Compose/CtrlAlt discrepancies introduced in windlg.c
jacob [Thu, 30 May 2002 12:41:07 +0000 (12:41 +0000)]
Fix AltGr/Application/Compose/CtrlAlt discrepancies introduced in windlg.c
rev 1.118 [r1033] (pointed out by Rob Pitman).

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

21 years agoTrying to use an SSH2 key with an SSH1 connection seems to be quite
jacob [Thu, 23 May 2002 22:02:53 +0000 (22:02 +0000)]
Trying to use an SSH2 key with an SSH1 connection seems to be quite
common, so I've added a FAQ.

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

21 years agoNote that answerback string can contain control characters with ^C notation,
jacob [Wed, 22 May 2002 21:18:06 +0000 (21:18 +0000)]
Note that answerback string can contain control characters with ^C notation,
and the ^~ escape, but don't go into the gory details.

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

22 years agoUI changes for key imports. We now have a separate Load command and
simon [Sat, 18 May 2002 09:20:41 +0000 (09:20 +0000)]
UI changes for key imports. We now have a separate Load command and
Import command; the former warns you if you load a foreign key,
whereas the latter doesn't. So the user should always be aware, one
way or the other, that a format conversion is taking place.

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

22 years agoieof-for-nonexistent-channel problem: avoid comparing an unsigned with -1
simon [Fri, 17 May 2002 12:33:20 +0000 (12:33 +0000)]
ieof-for-nonexistent-channel problem: avoid comparing an unsigned with -1

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

22 years agoNit: PuTTYgen can generate RSA _and DSA_ keys
jacob [Thu, 16 May 2002 22:36:36 +0000 (22:36 +0000)]
Nit: PuTTYgen can generate RSA _and DSA_ keys

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

22 years agoFinal cleanups on key import/export work. Rationalised the UI (so
simon [Wed, 15 May 2002 20:07:11 +0000 (20:07 +0000)]
Final cleanups on key import/export work. Rationalised the UI (so
that menu options are greyed out helpfully) and added documentation.

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

22 years agoAdded export of ssh.com key files.
simon [Wed, 15 May 2002 19:16:45 +0000 (19:16 +0000)]
Added export of ssh.com key files.

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

22 years agoImplemented export of OpenSSH keys.
simon [Tue, 14 May 2002 18:11:15 +0000 (18:11 +0000)]
Implemented export of OpenSSH keys.

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

22 years agoAdd some basic framework code preparatory to adding key export.
simon [Mon, 13 May 2002 16:56:11 +0000 (16:56 +0000)]
Add some basic framework code preparatory to adding key export.

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

22 years agoUpdate FAQ to mention ssh.com key importing
simon [Mon, 13 May 2002 16:48:31 +0000 (16:48 +0000)]
Update FAQ to mention ssh.com key importing

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

22 years agoBe more careful about destroying sensitive data after private key
simon [Mon, 13 May 2002 16:37:11 +0000 (16:37 +0000)]
Be more careful about destroying sensitive data after private key
load/store/import operations.

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

22 years agoAdd import of ssh.com private keys.
simon [Mon, 13 May 2002 16:32:42 +0000 (16:32 +0000)]
Add import of ssh.com private keys.

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

22 years agoAdded a framework for importing foreign key formats, and implemented
simon [Sat, 11 May 2002 16:45:29 +0000 (16:45 +0000)]
Added a framework for importing foreign key formats, and implemented
importing of OpenSSH SSH2 private key files (both encrypted and
unencrypted). Seems to work fine.

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

22 years agoRemove tiny unnecessary faff in new SSH-2-only code
simon [Sat, 11 May 2002 13:12:19 +0000 (13:12 +0000)]
Remove tiny unnecessary faff in new SSH-2-only code

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

22 years agoSSH2 only support
owen [Sat, 11 May 2002 13:08:37 +0000 (13:08 +0000)]
SSH2 only support

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

22 years agoAdded SSH2 only support.
owen [Sat, 11 May 2002 13:03:47 +0000 (13:03 +0000)]
Added SSH2 only support.

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

22 years agoImproved error messages if you use the wrong key type: you should
simon [Sat, 11 May 2002 12:13:42 +0000 (12:13 +0000)]
Improved error messages if you use the wrong key type: you should
now be told that the key is the wrong type, _and_ what type it is,
rather than being given a blanket `unable to read key file' message.

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

22 years agoRemoved the old Visual C++ master makefile, since it has now been
simon [Sat, 27 Apr 2002 16:30:15 +0000 (16:30 +0000)]
Removed the old Visual C++ master makefile, since it has now been
superseded by the new Recipe / mkfiles.pl mechanism.

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

22 years agoAdditions to the Feedback page to emphasise that we can't answer all
simon [Sat, 27 Apr 2002 16:20:16 +0000 (16:20 +0000)]
Additions to the Feedback page to emphasise that we can't answer all
our mail any more, and to encourage support questions to be sent
elsewhere as a first resort.

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

22 years agoSOCKS proxy support added (next instalment of Justin Bradford's
simon [Sat, 27 Apr 2002 15:01:18 +0000 (15:01 +0000)]
SOCKS proxy support added (next instalment of Justin Bradford's
proxy work). SOCKS 5 username/password authentication still
unsupported.

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

22 years agoAdded comments to document '-gui' Windows messages, based on putty-bugs post
jacob [Thu, 18 Apr 2002 22:23:12 +0000 (22:23 +0000)]
Added comments to document '-gui' Windows messages, based on putty-bugs post
<E14g2ty-0008WN-00@ixion.tartarus.org> (except for Ryan Finnie's extra
messages).

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

22 years agoAdded documentation of PuTTY command-line options (derived from the source)
jacob [Thu, 18 Apr 2002 20:45:01 +0000 (20:45 +0000)]
Added documentation of PuTTY command-line options (derived from the source)

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

22 years agoThe SFTP form of PSCP should remember to send FXP_INIT! Oops.
simon [Wed, 10 Apr 2002 19:54:42 +0000 (19:54 +0000)]
The SFTP form of PSCP should remember to send FXP_INIT! Oops.

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

22 years agoMention that numeric code pages can be entered manually in the
simon [Wed, 3 Apr 2002 18:24:59 +0000 (18:24 +0000)]
Mention that numeric code pages can be entered manually in the
Translation box.

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

22 years agoAdd a couple of extra FAQ entries.
simon [Mon, 1 Apr 2002 15:18:29 +0000 (15:18 +0000)]
Add a couple of extra FAQ entries.

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

22 years agoThe console version of askappend() completely forgot to check
simon [Sun, 31 Mar 2002 16:28:06 +0000 (16:28 +0000)]
The console version of askappend() completely forgot to check
cfg.logxfovr to see whether the user had already specified what
should happen to log files. Fixed.

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

22 years agoFix major memory leak in sftp_cmd_ls (thanks to Hans-Juergen Petrich
simon [Sun, 31 Mar 2002 16:26:13 +0000 (16:26 +0000)]
Fix major memory leak in sftp_cmd_ls (thanks to Hans-Juergen Petrich
for pointing it out).

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

22 years agoFix bug in Minefield's realloc() which was throwing away most of any
simon [Sun, 31 Mar 2002 16:23:32 +0000 (16:23 +0000)]
Fix bug in Minefield's realloc() which was throwing away most of any
block > 4096 bytes. Arrgh.

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

22 years agoRemember to wait for SSH1_MSG_SUCCESS after enabling remote port
simon [Wed, 27 Mar 2002 21:58:11 +0000 (21:58 +0000)]
Remember to wait for SSH1_MSG_SUCCESS after enabling remote port
forwardings in SSH1. Was causing several MSG_SUCCESS to be queued up
unread, which was wrong-but-benign in most cases but caused a hard
crash with compression enabled (one of those uncompressed
MSG_SUCCESSes was fed to the zlib decompressor with spectacular
results).

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

22 years agoMatt Harden's (modified) patch to do getservbyname() lookups on port-
simon [Wed, 27 Mar 2002 21:43:37 +0000 (21:43 +0000)]
Matt Harden's (modified) patch to do getservbyname() lookups on port-
forwarding port numbers.

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

22 years agoUpdates to proxy support, both from me and from Justin Bradford.
simon [Wed, 27 Mar 2002 21:09:16 +0000 (21:09 +0000)]
Updates to proxy support, both from me and from Justin Bradford.
Removed unnecessary spin locks, added a few comments, added support
for Telnet-type proxies, and wrote some documentation.

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

22 years agoDominique Faure's patch (slightly modified) to implement the PuTTY
simon [Wed, 27 Mar 2002 20:30:57 +0000 (20:30 +0000)]
Dominique Faure's patch (slightly modified) to implement the PuTTY
saved-sessions menu in Pageant. Disabled if it can't find the PuTTY
binary on startup (just like the help features are disabled if it
can't find the help file).

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

22 years agoAdd -w-pia to the Borland makefile (suppress warnings about
simon [Wed, 27 Mar 2002 20:08:12 +0000 (20:08 +0000)]
Add -w-pia to the Borland makefile (suppress warnings about
assignment statements used as truth values).

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

22 years agoOpenSSH 3.1p1 SSH2 3DES is also broken.
jacob [Sun, 24 Mar 2002 14:08:13 +0000 (14:08 +0000)]
OpenSSH 3.1p1 SSH2 3DES is also broken.

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

22 years agoAdded an entry for the "OpenSSH 3.1p1 built with wrong OpenSSL" problem.
jacob [Sun, 24 Mar 2002 13:42:30 +0000 (13:42 +0000)]
Added an entry for the "OpenSSH 3.1p1 built with wrong OpenSSL" problem.

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

22 years agoFix apparent cut'n'paste error in new printing code. (Wasn't breaking anything,
jacob [Sun, 24 Mar 2002 11:47:41 +0000 (11:47 +0000)]
Fix apparent cut'n'paste error in new printing code. (Wasn't breaking anything,
to my knowledge.)

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

22 years agoMention on the Feedback page that the mailing list archives are
simon [Sat, 23 Mar 2002 18:59:46 +0000 (18:59 +0000)]
Mention on the Feedback page that the mailing list archives are
private, just in case anyone was concerned.

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

22 years agoAttempt to ensure that everything passed to connection_fatal() is
simon [Sat, 23 Mar 2002 18:04:27 +0000 (18:04 +0000)]
Attempt to ensure that everything passed to connection_fatal() is
also logged to the Event Log, so that it's easy to cut-and-paste the
error message afterwards.

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

22 years agoJustin Bradford's proxy support patch. Currently supports only HTTP
simon [Sat, 23 Mar 2002 17:47:21 +0000 (17:47 +0000)]
Justin Bradford's proxy support patch. Currently supports only HTTP
CONNECT, but contains an extensible framework to allow other
proxies. Apparently SOCKS and ad-hoc-telnet-proxy are already
planned (the GUI mentions them already even though they don't work
yet). GUI includes full configurability and allows definition of
exclusion zones. Rock and roll.

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

22 years agoPedantic little patch to ensure blank usernames work vaguely as
simon [Wed, 20 Mar 2002 22:34:00 +0000 (22:34 +0000)]
Pedantic little patch to ensure blank usernames work vaguely as
expected, in case anyone really wants to use one

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

22 years agoFix bug in the alternative code for -DNO_MULTIMON (was breaking
simon [Wed, 20 Mar 2002 22:16:00 +0000 (22:16 +0000)]
Fix bug in the alternative code for -DNO_MULTIMON (was breaking
Cygwin build).

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

22 years agoFixed reference to putty-bugs@lists to putty@projects.
jacob [Sat, 16 Mar 2002 18:23:27 +0000 (18:23 +0000)]
Fixed reference to putty-bugs@lists to putty@projects.

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

22 years agoAdd new 'Makefile.vc' to .cvsignore
jacob [Sat, 16 Mar 2002 18:19:31 +0000 (18:19 +0000)]
Add new 'Makefile.vc' to .cvsignore

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

22 years agoCompletely revamped mkfiles.pl which incorporates dependency
simon [Sat, 16 Mar 2002 15:49:28 +0000 (15:49 +0000)]
Completely revamped mkfiles.pl which incorporates dependency
analysis (for both .c and .rc files). Generates the VC++ makefile as
well as the other two; the authoritative source is now the new file
`Recipe' rather than any particular Makefile. Note that `Makefile'
is still here as a relic of the old way until we stop the nightly
builds using it, but it'll be gone soon.

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

22 years agoFix multi-monitor / full-screen problems and clean up the code a
simon [Wed, 13 Mar 2002 22:15:14 +0000 (22:15 +0000)]
Fix multi-monitor / full-screen problems and clean up the code a
little. Thanks to Wez Furlong for the patch.

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

22 years agoRev 1.189 [r1517] of this file introduced a bug. While it is correct
simon [Wed, 13 Mar 2002 19:55:01 +0000 (19:55 +0000)]
Rev 1.189 [r1517] of this file introduced a bug. While it is correct
to avoid calling term_out() during a drag-select, it's false to
assume that all drags are selects - some are xterm mouse-reported
drags, and term_out absolutely _should_ be called in those so that
the application can show the dragged object moving. Should now be
fixed.

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

22 years agoNetwork printers weren't showing up on at least NT4. This version
simon [Tue, 12 Mar 2002 18:27:10 +0000 (18:27 +0000)]
Network printers weren't showing up on at least NT4. This version
appears to be better, but Jacob has found that it still isn't
perfect. Bah.

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

22 years agoAvoid needless memory management error if EnumPrinters returns no
simon [Tue, 12 Mar 2002 09:55:02 +0000 (09:55 +0000)]
Avoid needless memory management error if EnumPrinters returns no
printers.

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

22 years agoBah. Add winspool.lib to libraries list. Maybe _now_ the nightly
simon [Mon, 11 Mar 2002 10:38:30 +0000 (10:38 +0000)]
Bah. Add winspool.lib to libraries list. Maybe _now_ the nightly
builds will start working again :-/

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

22 years agoSlightly less grotty script to convert OpenSSH known_hosts and known_hosts2
jacob [Sun, 10 Mar 2002 22:00:06 +0000 (22:00 +0000)]
Slightly less grotty script to convert OpenSSH known_hosts and known_hosts2
host key files to .REG files for Windows.
(renamed from 'hosts2reg' because of 8.3 considerations)

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

22 years agoGrotty script to sanity-check the accelerator keys in windlg.c.
jacob [Sun, 10 Mar 2002 21:56:55 +0000 (21:56 +0000)]
Grotty script to sanity-check the accelerator keys in windlg.c.
(private RCS rev 1.4)

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

22 years agoArrgh! Forgot yet another fiddly Makefile bit. Perhaps it's really
simon [Sun, 10 Mar 2002 09:28:32 +0000 (09:28 +0000)]
Arrgh! Forgot yet another fiddly Makefile bit. Perhaps it's really
time I did something about my Makefile generator...

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

22 years ago... and add its dependencies to the Makefile too.
simon [Sat, 9 Mar 2002 19:07:21 +0000 (19:07 +0000)]
... and add its dependencies to the Makefile too.

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

22 years agoAs ever, There's Always One. Check in the extra source file. *blush*
simon [Sat, 9 Mar 2002 19:06:58 +0000 (19:06 +0000)]
As ever, There's Always One. Check in the extra source file. *blush*

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

22 years agoANSI remote printer support. Raw mode only.
simon [Sat, 9 Mar 2002 17:59:15 +0000 (17:59 +0000)]
ANSI remote printer support. Raw mode only.

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

22 years agoFix Makefile dependencies.
simon [Sat, 9 Mar 2002 12:03:49 +0000 (12:03 +0000)]
Fix Makefile dependencies.

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

22 years agoWell, there was bound to be one I'd forgotten: the new Features
simon [Sat, 9 Mar 2002 11:47:39 +0000 (11:47 +0000)]
Well, there was bound to be one I'd forgotten: the new Features
panel should include an option to disable xterm mouse reporting. So
now it does. Woo.

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

22 years agoFix accelerator clash on Features panel, plus a couple of accelerator comments.
jacob [Thu, 7 Mar 2002 22:17:11 +0000 (22:17 +0000)]
Fix accelerator clash on Features panel, plus a couple of accelerator comments.
(not tested)

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

22 years agoOops. I wrote in the docs that no-remote-resize also included
simon [Wed, 6 Mar 2002 23:06:07 +0000 (23:06 +0000)]
Oops. I wrote in the docs that no-remote-resize also included
no-remote-move-window, so I'd better live up to that...

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

22 years agoAdd the Features panel, allowing you to disable a bunch of the more
simon [Wed, 6 Mar 2002 23:04:20 +0000 (23:04 +0000)]
Add the Features panel, allowing you to disable a bunch of the more
controversial terminal features.

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

22 years agoEnsure our network layer is properly cleaned up before PuTTY exits.
simon [Wed, 6 Mar 2002 20:13:22 +0000 (20:13 +0000)]
Ensure our network layer is properly cleaned up before PuTTY exits.
Specifically, we explicitly closesocket() all open sockets, which
appears to be necessary since otherwise Windows sends RST rather
than FIN. I'm _sure_ that's a Windows bug, but there we go.

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

22 years agoAdd an extra example to the Plink-with-WinCVS section.
simon [Tue, 5 Mar 2002 20:39:27 +0000 (20:39 +0000)]
Add an extra example to the Plink-with-WinCVS section.

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

22 years agoThe `wrapnext' flag should be saved and restored with the cursor
simon [Sat, 2 Mar 2002 17:37:48 +0000 (17:37 +0000)]
The `wrapnext' flag should be saved and restored with the cursor
position. Failure to do this can give wrapnext==TRUE even with the
cursor not in the rightmost column.

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