u/mdw/putty
20 years agoMore portability fixes.
simon [Sun, 25 Apr 2004 09:26:52 +0000 (09:26 +0000)]
More portability fixes.

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

20 years agoMake mkfiles.pl less tied to PuTTY in particular, by inventing new
simon [Sun, 25 Apr 2004 09:04:38 +0000 (09:04 +0000)]
Make mkfiles.pl less tied to PuTTY in particular, by inventing new
directives that allow me to move some of the PuTTY-specific Makefile
fragments into Recipe. Not complete yet, but ought to be enough for
me to at least _try_ using mkfiles.pl in another project.

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

20 years agoIn SSH, we now send terminal speeds to the server when requesting a pty
jacob [Sat, 24 Apr 2004 20:05:03 +0000 (20:05 +0000)]
In SSH, we now send terminal speeds to the server when requesting a pty
(we didn't before) - `ssh-termspeed'.
In the process, I've removed the individual controls on the Telnet and
Rlogin panels and replaced them with one on the Connection panel (since they
were backed by the same storage anyway).
The terminal speeds sent in SSH are logged in the Event Log.

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

20 years agoTweak documentation of -V option.
jacob [Sat, 24 Apr 2004 12:25:09 +0000 (12:25 +0000)]
Tweak documentation of -V option.

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

20 years agoAdd -V for version information to plink, pscp, and psftp.
owen [Sat, 17 Apr 2004 20:25:09 +0000 (20:25 +0000)]
Add -V for version information to plink, pscp, and psftp.

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

20 years agoAdded indexing for the first three chapters of the manual. This is a
simon [Thu, 8 Apr 2004 12:38:53 +0000 (12:38 +0000)]
Added indexing for the first three chapters of the manual. This is a
big job :-/

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

20 years agoClean up Makefile now that Halibut's new command-line options make
simon [Thu, 1 Apr 2004 17:34:18 +0000 (17:34 +0000)]
Clean up Makefile now that Halibut's new command-line options make
life easier.

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

20 years agoWhat was that rogue man-mindepth directive doing in here?
simon [Thu, 1 Apr 2004 17:33:22 +0000 (17:33 +0000)]
What was that rogue man-mindepth directive doing in here?

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

20 years agoAdd `can I put PuTTY on a coverdisk / bundle it / etc' to the FAQ in
simon [Wed, 31 Mar 2004 12:50:17 +0000 (12:50 +0000)]
Add `can I put PuTTY on a coverdisk / bundle it / etc' to the FAQ in
case people are incapable of spotting it on the Feedback page. Also
add to both locations Owen's point about first-line support.

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

20 years agogrammer
jacob [Wed, 31 Mar 2004 09:00:39 +0000 (09:00 +0000)]
grammer

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

20 years agoReasonably grotty hacks so that the droppings left by the man page
jacob [Tue, 30 Mar 2004 21:35:56 +0000 (21:35 +0000)]
Reasonably grotty hacks so that the droppings left by the man page
generation don't interfere with the main HTML doc generation.

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

20 years agoMiscellaneous tinkering:
jacob [Tue, 30 Mar 2004 11:36:51 +0000 (11:36 +0000)]
Miscellaneous tinkering:
 - remove a couple of "fixed in 0.52" (or before) type questions
 - mention Mac OS X port that someone was working on
 - add a missing {Question}

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

20 years agoPayPal is actually _much_ easier to work with than e-gold these
simon [Mon, 29 Mar 2004 11:37:44 +0000 (11:37 +0000)]
PayPal is actually _much_ easier to work with than e-gold these
days, so I've reversed the order in the donations question.

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

20 years agoMore experimental hackery for `win-dead-keys'. Works for me as well as it did
jacob [Fri, 26 Mar 2004 15:18:42 +0000 (15:18 +0000)]
More experimental hackery for `win-dead-keys'. Works for me as well as it did
in the one case I can test, but I suspect this isn't the whole story. Bletch.

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

20 years agotweak text about mouse reporting and copy and paste to indicate that shift's
jacob [Thu, 25 Mar 2004 11:33:17 +0000 (11:33 +0000)]
tweak text about mouse reporting and copy and paste to indicate that shift's
only necessary for mouse-based actions (since we seem to be growing more
copy-and-paste options)

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

20 years agoHmm. Better turn that `make' into a `make -s', or else my nightly
simon [Thu, 25 Mar 2004 09:03:37 +0000 (09:03 +0000)]
Hmm. Better turn that `make' into a `make -s', or else my nightly
snapshot cron job will fill my mailbox with goo every day.

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

20 years agoUse $(HALIBUT) variable consistently.
jacob [Wed, 24 Mar 2004 20:03:30 +0000 (20:03 +0000)]
Use $(HALIBUT) variable consistently.

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

20 years agoOh yes, and the Unix Makefile needs to know that as well.
simon [Wed, 24 Mar 2004 19:51:59 +0000 (19:51 +0000)]
Oh yes, and the Unix Makefile needs to know that as well.

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

20 years agoThe Unix source archive ought to have pre-built docs (in particular
simon [Wed, 24 Mar 2004 19:50:46 +0000 (19:50 +0000)]
The Unix source archive ought to have pre-built docs (in particular
man pages) in it, if only so that non-Halibut-users have what they
need.

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

20 years agoNow that Halibut is capable of generating man pages better than I
simon [Wed, 24 Mar 2004 19:36:04 +0000 (19:36 +0000)]
Now that Halibut is capable of generating man pages better than I
can do it by hand, I've converted the man page set from Unix PuTTY
into Halibut format, and enhanced the Makefile so it will build
them. At some future point this will also allow me to include the
man pages as an appendix in the main manual (once I _have_ a main
manual for Unix PuTTY).

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

20 years agoFix from Thomas Henlich for bug in dead key support. I've reproduced the
jacob [Wed, 24 Mar 2004 14:53:51 +0000 (14:53 +0000)]
Fix from Thomas Henlich for bug in dead key support. I've reproduced the
problem and verified the fix on Win2K with the US-International keyboard layout.
(Closes: `win-dead-keys')
<20040323143836.GA40414@rcs.urz.tu-dresden.de>

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

20 years agoRemove GetSystemPowerStatus() - should resolve hard-hangs
owen [Wed, 17 Mar 2004 16:03:03 +0000 (16:03 +0000)]
Remove GetSystemPowerStatus() - should resolve hard-hangs

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

20 years agoMention explicitly that offering us a reciprocal link is a very
simon [Tue, 16 Mar 2004 08:18:37 +0000 (08:18 +0000)]
Mention explicitly that offering us a reciprocal link is a very
silly way to persuade us to link to a website.

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

20 years agoTweak doc to reflect wrinkle in Owen's fixed implementation.
jacob [Thu, 11 Mar 2004 10:59:52 +0000 (10:59 +0000)]
Tweak doc to reflect wrinkle in Owen's fixed implementation.

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

20 years agoMake `Copy all to Clipboard' copy all non-empty lines from the
owen [Wed, 10 Mar 2004 17:11:12 +0000 (17:11 +0000)]
Make `Copy all to Clipboard' copy all non-empty lines from the
scrollback and the terminal to the clipboard, rather than just the
content before the cursor.  Should fix copyall-to-cursor.

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

20 years agoFinally correct REGEDIT syntax for "saving in a file" hack.
jacob [Fri, 5 Mar 2004 19:01:45 +0000 (19:01 +0000)]
Finally correct REGEDIT syntax for "saving in a file" hack.
(verified on Win2K)

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

20 years agoMention Links page in ports section, since there are now a number of
jacob [Thu, 4 Mar 2004 21:24:10 +0000 (21:24 +0000)]
Mention Links page in ports section, since there are now a number of
third-party ports

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

20 years agoMention that proxy password is saved in plain text in configuration, since
jacob [Mon, 1 Mar 2004 18:17:34 +0000 (18:17 +0000)]
Mention that proxy password is saved in plain text in configuration, since
we've had a couple of indignant e-mails.

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

20 years agoMention PocketPuTTY
jacob [Mon, 23 Feb 2004 19:10:43 +0000 (19:10 +0000)]
Mention PocketPuTTY

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

20 years agoExpand "what platform" text to take account of Unix.
jacob [Sun, 22 Feb 2004 16:52:27 +0000 (16:52 +0000)]
Expand "what platform" text to take account of Unix.

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

20 years agoAdd (probably frustratingly) bare-bones man pages for pscp and psftp.
jacob [Sun, 22 Feb 2004 15:05:29 +0000 (15:05 +0000)]
Add (probably frustratingly) bare-bones man pages for pscp and psftp.

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

20 years agoCorrect slightly misleading usage
jacob [Sun, 22 Feb 2004 14:57:40 +0000 (14:57 +0000)]
Correct slightly misleading usage

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

20 years agoMinor fix in usage message
jacob [Sun, 22 Feb 2004 14:48:48 +0000 (14:48 +0000)]
Minor fix in usage message

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

20 years agoFix typo in -C
jacob [Sun, 22 Feb 2004 14:40:40 +0000 (14:40 +0000)]
Fix typo in -C

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

20 years agoTart up, fix outright lies, mention web docs
jacob [Sun, 22 Feb 2004 14:37:54 +0000 (14:37 +0000)]
Tart up, fix outright lies, mention web docs

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

20 years agoCouple of new FAQ questions: `what's the point of the Unix port' and
simon [Mon, 16 Feb 2004 14:38:42 +0000 (14:38 +0000)]
Couple of new FAQ questions: `what's the point of the Unix port' and
`why does scrollback no longer work when I run screen'.

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

20 years agobloody PageRank hackers.
jacob [Fri, 13 Feb 2004 12:19:26 +0000 (12:19 +0000)]
bloody PageRank hackers.
(since no-one objected to this wording back in October)

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

20 years agoI don't think iXplorer is now sufficiently unique to mention in the docs
jacob [Fri, 13 Feb 2004 11:20:42 +0000 (11:20 +0000)]
I don't think iXplorer is now sufficiently unique to mention in the docs
(given that we have a Links page full of such things now)

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

20 years agoAlexei Podtelezhnikov points out that PuTTYgen's key-type default
simon [Fri, 13 Feb 2004 07:42:27 +0000 (07:42 +0000)]
Alexei Podtelezhnikov points out that PuTTYgen's key-type default
ought to have moved in sync with PuTTY's SSH version default.

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

20 years agoAdd .map files to Cygwin "clean" target
jacob [Fri, 13 Feb 2004 00:41:44 +0000 (00:41 +0000)]
Add .map files to Cygwin "clean" target

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

20 years agoMakefile.cyg now generates a link map.
jacob [Fri, 13 Feb 2004 00:40:45 +0000 (00:40 +0000)]
Makefile.cyg now generates a link map.

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

20 years agoRemove claim that there's no Unix puttygen
jacob [Fri, 13 Feb 2004 00:21:35 +0000 (00:21 +0000)]
Remove claim that there's no Unix puttygen

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

20 years agoMissed one: sftp-slow has gone away with 0.54
jacob [Fri, 13 Feb 2004 00:20:52 +0000 (00:20 +0000)]
Missed one: sftp-slow has gone away with 0.54

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

20 years agoBah! Knew there'd be _something_.
simon [Thu, 12 Feb 2004 23:26:37 +0000 (23:26 +0000)]
Bah! Knew there'd be _something_.

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

20 years agoModifications to the release procedure as a result of actually
simon [Thu, 12 Feb 2004 19:45:45 +0000 (19:45 +0000)]
Modifications to the release procedure as a result of actually
trying to _follow_ it for the first time :-) And also due to the
fact that it now needs to mention the Unix source tarball as well.

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

20 years agoBack out my temporary edit of the FAQ, to make it once again
simon [Thu, 12 Feb 2004 18:28:00 +0000 (18:28 +0000)]
Back out my temporary edit of the FAQ, to make it once again
0.54-ready.

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

20 years agoJacob's last-minute testing found a couple of trivial bugs in
simon [Wed, 11 Feb 2004 13:58:27 +0000 (13:58 +0000)]
Jacob's last-minute testing found a couple of trivial bugs in
import.c, and my attempts to reproduce them in cmdgen found another
one there :-)

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

20 years agoSigh. Since Mailman breakage means we won't be releasing 0.54 today
simon [Tue, 10 Feb 2004 19:32:08 +0000 (19:32 +0000)]
Sigh. Since Mailman breakage means we won't be releasing 0.54 today
after all, I'll slightly edit those FAQ changes.

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

20 years agoJacob reports a segfault when using HTTP proxying under Minefield.
simon [Tue, 10 Feb 2004 19:07:45 +0000 (19:07 +0000)]
Jacob reports a segfault when using HTTP proxying under Minefield.
It appears that this is because Visual C's sscanf works by first
calling strlen to get the length of the string, so that its internal
read-character routine can be sure of never overrunning the buffer.
Quite why the internal read-char routine can't detect \0 _itself_
rather than having to have it found for it in advance I have no
idea. Sigh.

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

20 years agoJacob's FAQ changes for 0.54.
simon [Tue, 10 Feb 2004 18:22:00 +0000 (18:22 +0000)]
Jacob's FAQ changes for 0.54.

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

20 years agoBriefly document the "special commands" menu.
jacob [Sun, 8 Feb 2004 00:14:57 +0000 (00:14 +0000)]
Briefly document the "special commands" menu.

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

20 years agoDocument the new "Compromise" mouse-handling option introduced 2003-11-20
jacob [Sat, 7 Feb 2004 23:49:21 +0000 (23:49 +0000)]
Document the new "Compromise" mouse-handling option introduced 2003-11-20

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

20 years agoMention the Ctrl+right-click context menu now available on Windows.
jacob [Sat, 7 Feb 2004 23:35:32 +0000 (23:35 +0000)]
Mention the Ctrl+right-click context menu now available on Windows.

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

20 years agoUpdate the advice about updating the wishlist post-release
jacob [Sat, 7 Feb 2004 23:21:28 +0000 (23:21 +0000)]
Update the advice about updating the wishlist post-release

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

20 years agoUpdate version numbers preparatory to tagging for release.
simon [Sat, 7 Feb 2004 18:17:50 +0000 (18:17 +0000)]
Update version numbers preparatory to tagging for release.

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

20 years agoAnother admin script, to build the Unix source archive.
simon [Sat, 7 Feb 2004 18:14:53 +0000 (18:14 +0000)]
Another admin script, to build the Unix source archive.

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

20 years agoAdded a wrinkle to the version.c build in the Unix makefile, which
simon [Sat, 7 Feb 2004 18:10:54 +0000 (18:10 +0000)]
Added a wrinkle to the version.c build in the Unix makefile, which
will validate an md5sums manifest and if all md5sums match will use
a version number provided in a file. This should allow me to produce
a Unix release source archive with the property that when unpacked
and built it will produce binaries advertising themselves as
`Release X.YZ', but as soon as the user starts fiddling with the
sources it will revert to `Unidentified build' (though of course the
user can still _explicitly_ ask for a release tag, and in fact this
will override the default if any default is specified).

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

20 years agoAdd some Unix blurb.
simon [Sat, 7 Feb 2004 17:38:54 +0000 (17:38 +0000)]
Add some Unix blurb.

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

20 years agoSilly grammatical error.
simon [Sat, 7 Feb 2004 17:36:05 +0000 (17:36 +0000)]
Silly grammatical error.

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

20 years agoCharles Wilcox reported a signature validation bug with 2500-bit RSA
simon [Sat, 7 Feb 2004 10:02:20 +0000 (10:02 +0000)]
Charles Wilcox reported a signature validation bug with 2500-bit RSA
keys. This _appears_ to be due to me computing the byte count of the
key by dividing the bit count by 8 and rounding _down_ rather than
up. Therefore, I can't see how this code could ever have worked on
any SSH2 RSA key whose length was not a multiple of 8 bits; and
therefore I'm staggered that we haven't noticed it before! OpenSSH's
keygen appears to be scrupulous about ensuring the returned key
length is exactly what you asked for rather than one bit less, but
even so I'm astonished that _all_ keygen implementations for servers
we've ever interoperated with have avoided tripping this bug...

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

20 years agoHost key q: mention kh2reg.py
jacob [Wed, 4 Feb 2004 18:39:14 +0000 (18:39 +0000)]
Host key q: mention kh2reg.py

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

20 years agoPatch from Theo Markettos: apparently "BSD-derived IP stacks fall over when
jacob [Tue, 3 Feb 2004 14:47:43 +0000 (14:47 +0000)]
Patch from Theo Markettos: apparently "BSD-derived IP stacks fall over when
trying to bind to the localhost interface with a sockaddr_in which has non-zero
sin_zero fields." Zero sockaddr_in (and sockaddr_in6) before any use.

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

20 years agoPatch from Colin Watson: document pterm.WarnOnClose
jacob [Tue, 3 Feb 2004 14:36:01 +0000 (14:36 +0000)]
Patch from Colin Watson: document pterm.WarnOnClose

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

20 years agoUnix PuTTYgen: exists
jacob [Sat, 24 Jan 2004 18:30:32 +0000 (18:30 +0000)]
Unix PuTTYgen: exists

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

20 years agoReasonably thorough test suite for command-line PuTTYgen, and
simon [Sat, 24 Jan 2004 17:16:37 +0000 (17:16 +0000)]
Reasonably thorough test suite for command-line PuTTYgen, and
several bugs fixed in the process of constructing same.

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

20 years agoAdd a man page for the new command-line PuTTYgen.
simon [Fri, 23 Jan 2004 13:21:25 +0000 (13:21 +0000)]
Add a man page for the new command-line PuTTYgen.

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

20 years agoCouple of bits missing from the command-line help.
simon [Fri, 23 Jan 2004 13:21:17 +0000 (13:21 +0000)]
Couple of bits missing from the command-line help.

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

20 years agoAdded a command-line key generation tool. Currently builds and runs
simon [Thu, 22 Jan 2004 19:15:32 +0000 (19:15 +0000)]
Added a command-line key generation tool. Currently builds and runs
on Linux, but the (very few) platform-specific bits are already
abstracted out of the main code, so it should port to other
platforms with a minimum of fuss.

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

20 years agoPlacate some gcc warnings.
simon [Thu, 22 Jan 2004 18:52:49 +0000 (18:52 +0000)]
Placate some gcc warnings.

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

20 years agoFix a casting bug with the length-independent sshbn code.
simon [Thu, 22 Jan 2004 18:37:48 +0000 (18:37 +0000)]
Fix a casting bug with the length-independent sshbn code.

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

20 years agoBah! Nicolas Barry correctly points out that my async agent code
simon [Wed, 21 Jan 2004 21:11:03 +0000 (21:11 +0000)]
Bah! Nicolas Barry correctly points out that my async agent code
simply doesn't work - if multiple concurrent agent requests are
attempted, some of them will fail for no apparent reason. I assume
concurrent SendMessage() calls don't work in the Windows API, or
some such. So I'm commenting out the async code for the moment
(there wasn't a Windows Pageant that made helpful use of it anyway
yet) and returning to the drawing board.

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

20 years agoKaisuke Nakajima points out that it's unnecessary to translate
simon [Wed, 21 Jan 2004 20:59:20 +0000 (20:59 +0000)]
Kaisuke Nakajima points out that it's unnecessary to translate
negative font sizes (meaning pixels) into positive ones (points) in
winstore.c, since it gets done anyway at the point of font creation;
and removing the code in winstore.c means that the precise font
entered by the user is saved in the config, rather than being
rounded.

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

20 years agoDarryl L. Miles's patch to support an optional port number argument
simon [Wed, 21 Jan 2004 19:56:08 +0000 (19:56 +0000)]
Darryl L. Miles's patch to support an optional port number argument
on the PSFTP `open' command; it was arguably a bug that this command
couldn't do such an obvious thing that could be done from the main
command line. Also had to fix a NULL-dereference in do_sftp_cleanup
in the process.

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

20 years agoTheo Markettos's unsigned-vs-signed-char pedantry patch.
simon [Wed, 21 Jan 2004 19:45:44 +0000 (19:45 +0000)]
Theo Markettos's unsigned-vs-signed-char pedantry patch.

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

20 years agoTwo small memory leaks, also noticed by Martin Prikryl.
simon [Wed, 21 Jan 2004 19:41:34 +0000 (19:41 +0000)]
Two small memory leaks, also noticed by Martin Prikryl.

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

20 years agoMartin Prikryl points out that need_pw may be used uninitialised.
simon [Wed, 21 Jan 2004 19:33:48 +0000 (19:33 +0000)]
Martin Prikryl points out that need_pw may be used uninitialised.

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

20 years ago`What is PuTTY?' gets asked _just_ frequently enough to have finally
simon [Wed, 21 Jan 2004 17:11:55 +0000 (17:11 +0000)]
`What is PuTTY?' gets asked _just_ frequently enough to have finally
annoyed me.

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

20 years agoUpdate for latest mkfiles.pl kerfuffle
jacob [Tue, 20 Jan 2004 21:00:07 +0000 (21:00 +0000)]
Update for latest mkfiles.pl kerfuffle

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

20 years agoFix unterminated comments in previous checkin
jacob [Tue, 20 Jan 2004 20:42:43 +0000 (20:42 +0000)]
Fix unterminated comments in previous checkin

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

20 years agoOh, and mention lcc in the README.
simon [Tue, 20 Jan 2004 20:35:49 +0000 (20:35 +0000)]
Oh, and mention lcc in the README.

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

20 years agoAlexey Savelyev's mkfiles.pl patch to support lcc-win32. This has
simon [Tue, 20 Jan 2004 20:35:27 +0000 (20:35 +0000)]
Alexey Savelyev's mkfiles.pl patch to support lcc-win32. This has
caused a small amount of extra inconvenience at the tops of .rc
files, but it's been positive overall since lcc has managed to point
out some pedantic errors (typically static/extern mismatches between
function prototypes and definitions) which everything else missed.

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

20 years agoPaul van der Meij points out that do_reconfig() should not free
simon [Tue, 20 Jan 2004 19:46:00 +0000 (19:46 +0000)]
Paul van der Meij points out that do_reconfig() should not free
dp.errtitle, since it's also freed in dp_cleanup(). Minefield
agrees. Fixed.

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

20 years agoJosh Hill's patch for full-screen mode on a multi-monitor system:
simon [Tue, 20 Jan 2004 19:41:43 +0000 (19:41 +0000)]
Josh Hill's patch for full-screen mode on a multi-monitor system:
clicks in the top left of the window should not be detected by
comparing the coordinates with (0,0) since this won't work on
secondary monitors.

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

20 years agoMark Wutzke points out that the comment in sk_proxy_set_frozen()
simon [Tue, 20 Jan 2004 19:30:41 +0000 (19:30 +0000)]
Mark Wutzke points out that the comment in sk_proxy_set_frozen()
states that plug_receive() may recurse back into
sk_proxy_set_frozen() again. Therefore, bufchain_consume() should
have been called _before_ calling plug_receive(), to prevent an
infinite loop overflowing the stack. I can't immediately figure out
under what circumstances this might happen, but it seems an
obviously sensible precaution.

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

20 years ago`portfwd-loopback-choice' was not consistently documented.
jacob [Tue, 20 Jan 2004 12:46:36 +0000 (12:46 +0000)]
`portfwd-loopback-choice' was not consistently documented.
 - update usage info in tools
   - ack, plink is over 24 lines now
 - update man pages for Unix version
 - Doc changes:
   - move long description from (GUI) "config" to "using"
     - sorry if complete specification isn't what this section is meant for,
       but if you only read "using" it was hard to find.
   - ensure enough references to this made in other sections (GUI,
     command-line)
   - update instance of plink usage info

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

20 years agoIdiot me _twice_! The new store_host_key() was failing in the
simon [Mon, 19 Jan 2004 09:37:17 +0000 (09:37 +0000)]
Idiot me _twice_! The new store_host_key() was failing in the
absence of an existing host key file. Duhh.

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

20 years agoRe local X server auth, clarify that it's _us_ you should mail, and link
jacob [Mon, 19 Jan 2004 00:19:32 +0000 (00:19 +0000)]
Re local X server auth, clarify that it's _us_ you should mail, and link
to the Feedback section.

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

20 years agoMemory management fixes. Fixed a segfault in SSH1 compression
simon [Sun, 18 Jan 2004 09:14:41 +0000 (09:14 +0000)]
Memory management fixes. Fixed a segfault in SSH1 compression
cleanup noticed by Gerhard Wiesinger, and also fixed some memory
leaks spotted by valgrind while debugging same.

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

20 years agoOops, two lines moved out of my snapshot script should have been
simon [Sun, 18 Jan 2004 08:45:50 +0000 (08:45 +0000)]
Oops, two lines moved out of my snapshot script should have been
left there! Bah.

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

20 years agoVarious uninitialised-variable accesses picked up by valgrind.
simon [Sat, 17 Jan 2004 14:25:36 +0000 (14:25 +0000)]
Various uninitialised-variable accesses picked up by valgrind.

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

20 years agoBuilding source archives for previous releases has always been a
simon [Sat, 17 Jan 2004 14:17:21 +0000 (14:17 +0000)]
Building source archives for previous releases has always been a
fiddly process. Let's have a magic script designed to do it right.

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

20 years agoJoe Yates's patch to make mkfiles.pl generate Visual Studio project
simon [Sat, 17 Jan 2004 13:48:40 +0000 (13:48 +0000)]
Joe Yates's patch to make mkfiles.pl generate Visual Studio project
files as well as an nmake makefile. Needed line-end tweakery in
order to be able to generate usable project files when run on Unix,
but other than that appears fine. Ooh!

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

20 years agoSo _that's_ why mkfiles.pl was running so slowly on my Windows box!
simon [Sat, 17 Jan 2004 13:24:59 +0000 (13:24 +0000)]
So _that's_ why mkfiles.pl was running so slowly on my Windows box!
&findfile() now caches its results. At least one full order of
magnitude speedup when running on an SMB-mounted volume. Phew.

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

20 years agoIdiot me! store_host_key() was blindly _appending_ new host keys to
simon [Sat, 17 Jan 2004 13:00:18 +0000 (13:00 +0000)]
Idiot me! store_host_key() was blindly _appending_ new host keys to
the end of the host key file. This is perfectly all right if a host
key never changes, but it's completely useless if you need to
replace an existing entry. This version should do better.

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

20 years agoIt's a new year.
simon [Thu, 1 Jan 2004 16:47:55 +0000 (16:47 +0000)]
It's a new year.

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

20 years agoJoe Yates's memory leak patch was overenthusiastically freeing
simon [Thu, 1 Jan 2004 16:42:48 +0000 (16:42 +0000)]
Joe Yates's memory leak patch was overenthusiastically freeing
things; it called freebn on the DH gex values even if DH gex had not
taken place. Bug was trivially reproducible as a NULL-dereference
segfault by making any SSH2 connection with DH gex disabled. Should
now be fixed.

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

20 years agoD'oh! WideFont and WideBoldFont were being read from session files,
simon [Wed, 31 Dec 2003 16:09:55 +0000 (16:09 +0000)]
D'oh! WideFont and WideBoldFont were being read from session files,
but not written. I _thought_ something odd was happening with my
UTF-8 pterms.

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

20 years agoJoe Yates's memory leak patches.
simon [Fri, 19 Dec 2003 12:44:46 +0000 (12:44 +0000)]
Joe Yates's memory leak patches.

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

20 years agoAndy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
simon [Tue, 16 Dec 2003 18:28:43 +0000 (18:28 +0000)]
Andy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
benefit from _also_ being conditional on NO_MULTIMON not being
defined, to prevent the possibility of only half the multimon code
being included.

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

20 years agotweak for consistency with previous checkin
jacob [Thu, 4 Dec 2003 00:10:07 +0000 (00:10 +0000)]
tweak for consistency with previous checkin

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