]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
22 years agoRemember to wait for SSH1_MSG_SUCCESS after enabling remote port
Simon Tatham [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).

[originally from svn r1609]

22 years agoMatt Harden's (modified) patch to do getservbyname() lookups on port-
Simon Tatham [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.

[originally from svn r1608]

22 years agoUpdates to proxy support, both from me and from Justin Bradford.
Simon Tatham [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.

[originally from svn r1607]

22 years agoDominique Faure's patch (slightly modified) to implement the PuTTY
Simon Tatham [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).

[originally from svn r1606]

22 years agoAdd -w-pia to the Borland makefile (suppress warnings about
Simon Tatham [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).

[originally from svn r1605]

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

[originally from svn r1603]

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

[originally from svn r1602]

22 years agoFix apparent cut'n'paste error in new printing code. (Wasn't breaking anything,
Jacob Nevins [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.)

[originally from svn r1601]

22 years agoMention on the Feedback page that the mailing list archives are
Simon Tatham [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.

[originally from svn r1600]

22 years agoAttempt to ensure that everything passed to connection_fatal() is
Simon Tatham [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.

[originally from svn r1599]

22 years agoJustin Bradford's proxy support patch. Currently supports only HTTP
Simon Tatham [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.

[originally from svn r1598]

22 years agoPedantic little patch to ensure blank usernames work vaguely as
Simon Tatham [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

[originally from svn r1596]

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

[originally from svn r1595]

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

[originally from svn r1594]

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

[originally from svn r1593]

22 years agoCompletely revamped mkfiles.pl which incorporates dependency
Simon Tatham [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.

[originally from svn r1592]

22 years agoFix multi-monitor / full-screen problems and clean up the code a
Simon Tatham [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.

[originally from svn r1591]

22 years agoRev 1.189 [r1517] of this file introduced a bug. While it is correct
Simon Tatham [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.

[originally from svn r1590]
[r1517 == 02a926f6c125c580f77d1520f2d050ee2d3a9a25]

22 years agoNetwork printers weren't showing up on at least NT4. This version
Simon Tatham [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.

[originally from svn r1589]

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

[originally from svn r1588]

22 years agoBah. Add winspool.lib to libraries list. Maybe _now_ the nightly
Simon Tatham [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 :-/

[originally from svn r1587]

22 years agoSlightly less grotty script to convert OpenSSH known_hosts and known_hosts2
Jacob Nevins [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)

[originally from svn r1586]

22 years agoGrotty script to sanity-check the accelerator keys in windlg.c.
Jacob Nevins [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)

[originally from svn r1585]

22 years agoArrgh! Forgot yet another fiddly Makefile bit. Perhaps it's really
Simon Tatham [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...

[originally from svn r1584]

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

[originally from svn r1583]

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

[originally from svn r1582]

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

[originally from svn r1581]

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

[originally from svn r1580]

22 years agoWell, there was bound to be one I'd forgotten: the new Features
Simon Tatham [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.

[originally from svn r1579]

22 years agoFix accelerator clash on Features panel, plus a couple of accelerator comments.
Jacob Nevins [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)

[originally from svn r1578]

22 years agoOops. I wrote in the docs that no-remote-resize also included
Simon Tatham [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...

[originally from svn r1577]

22 years agoAdd the Features panel, allowing you to disable a bunch of the more
Simon Tatham [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.

[originally from svn r1576]

22 years agoEnsure our network layer is properly cleaned up before PuTTY exits.
Simon Tatham [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.

[originally from svn r1574]

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

[originally from svn r1573]

22 years agoThe `wrapnext' flag should be saved and restored with the cursor
Simon Tatham [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.

[originally from svn r1572]

22 years agofrom_backend() should always be called with len > 0. Only rlogin
Simon Tatham [Fri, 1 Mar 2002 13:17:45 +0000 (13:17 +0000)]
from_backend() should always be called with len > 0. Only rlogin
mode ever failed to do this, and only Plink actually had a problem
with it, so this didn't become obvious for a while. rlogin mode is
fixed, and all implementations of from_backend() now contain an
assertion so that we should spot errors of this type more quickly in
future.

[originally from svn r1571]

22 years agoMemory leak fix: repair endemic failure to call sftp_pkt_free().
Simon Tatham [Fri, 1 Mar 2002 13:16:25 +0000 (13:16 +0000)]
Memory leak fix: repair endemic failure to call sftp_pkt_free().

[originally from svn r1570]

22 years agoSet SSH socket variable to NULL if connect() fails. Failure to do
Simon Tatham [Wed, 27 Feb 2002 22:45:52 +0000 (22:45 +0000)]
Set SSH socket variable to NULL if connect() fails. Failure to do
this was causing PSCP to hang indefinitely after reporting
Connection Refused.

[originally from svn r1569]

22 years agoCisco routers apparently have yet another bug: they can't handle RSA
Simon Tatham [Wed, 27 Feb 2002 22:41:31 +0000 (22:41 +0000)]
Cisco routers apparently have yet another bug: they can't handle RSA
auth attempts at all without panicking and bombing out. Workaround
added.

[originally from svn r1568]

22 years agoPatch to enable >512-character command lines. Thanks to Thomas Halling.
Simon Tatham [Wed, 27 Feb 2002 22:31:23 +0000 (22:31 +0000)]
Patch to enable >512-character command lines. Thanks to Thomas Halling.

[originally from svn r1567]

22 years agoOops - get the forward declaration right in that hack
Simon Tatham [Wed, 27 Feb 2002 22:30:57 +0000 (22:30 +0000)]
Oops - get the forward declaration right in that hack

[originally from svn r1566]

22 years agoFix silly segfault due to PSFTP thinking connection is fine even if
Simon Tatham [Wed, 27 Feb 2002 22:20:30 +0000 (22:20 +0000)]
Fix silly segfault due to PSFTP thinking connection is fine even if
fxp_init() fails to get initial packet.

[originally from svn r1565]

22 years agoMake sure out-of-memory errors are logged to malloc.log when we're
Simon Tatham [Wed, 27 Feb 2002 22:20:03 +0000 (22:20 +0000)]
Make sure out-of-memory errors are logged to malloc.log when we're
logging mallocs.

[originally from svn r1564]

22 years agoDocument the fact that character classes are a default-only
Simon Tatham [Sun, 24 Feb 2002 15:25:19 +0000 (15:25 +0000)]
Document the fact that character classes are a default-only
configuration option (and so you must reset the terminal if you
change them in mid-session).

[originally from svn r1560]

22 years agoIt's 2002. Update copyright statements :-)
Simon Tatham [Sun, 24 Feb 2002 15:17:10 +0000 (15:17 +0000)]
It's 2002. Update copyright statements :-)

[originally from svn r1559]

22 years agoWork around surreal use of WM_COMMAND in radio button sets. Prevents
Simon Tatham [Wed, 20 Feb 2002 22:28:11 +0000 (22:28 +0000)]
Work around surreal use of WM_COMMAND in radio button sets. Prevents
port number field resetting unnecessarily when protocol is set to
Raw using the arrow keys.

[originally from svn r1558]

22 years agoModify the donations bit in the FAQ. (We now don't need a copy of
Simon Tatham [Tue, 12 Feb 2002 11:07:07 +0000 (11:07 +0000)]
Modify the donations bit in the FAQ. (We now don't need a copy of
Win2k since we already have two, but XP might be nice; also added
PayPal to the donation methods.)

[originally from svn r1556]

22 years agoAdd a general `what ports exist?' question to the FAQ, so that the
Simon Tatham [Mon, 4 Feb 2002 13:52:05 +0000 (13:52 +0000)]
Add a general `what ports exist?' question to the FAQ, so that the
next person who asks us whether we have a port for ${random_palmtop}
can be treated with the contempt they deserve.

[originally from svn r1555]

22 years ago-pw in Plink doesn't work in Telnet. Mention this.
Simon Tatham [Mon, 4 Feb 2002 13:29:04 +0000 (13:29 +0000)]
-pw in Plink doesn't work in Telnet. Mention this.

[originally from svn r1554]

22 years agoMake the section on terminal answerback mention that this is _not_
Simon Tatham [Mon, 4 Feb 2002 13:18:54 +0000 (13:18 +0000)]
Make the section on terminal answerback mention that this is _not_
the same thing as sending the terminal type in the proper way.

[originally from svn r1553]

22 years agoAdd `can PSCP and PSFTP do ASCII mode?' to the FAQ.
Simon Tatham [Wed, 23 Jan 2002 09:43:10 +0000 (09:43 +0000)]
Add `can PSCP and PSFTP do ASCII mode?' to the FAQ.

[originally from svn r1551]

22 years agoVarious accelerator clashes (due to the addition of the global Help
Simon Tatham [Thu, 17 Jan 2002 13:47:29 +0000 (13:47 +0000)]
Various accelerator clashes (due to the addition of the global Help
button, which accel.pl wasn't prepared for) fixed.

[originally from svn r1550]

22 years agoExperimental checkin: re-enable support for the static WM_MOUSEWHEEL
Simon Tatham [Thu, 17 Jan 2002 12:22:26 +0000 (12:22 +0000)]
Experimental checkin: re-enable support for the static WM_MOUSEWHEEL
even on systems where the version number check thinks we should be
expecting a dynamically registered message number. I have a
suspicion the version check isn't accurate in all circumstances; and
in any case, in a situation like this where Windows might send you
either of two things, it's better to be ready to deal with both than
to try and second-guess which one you'll get.

[originally from svn r1549]

22 years agoUpdate an accelerator comment.
Simon Tatham [Sat, 12 Jan 2002 16:02:50 +0000 (16:02 +0000)]
Update an accelerator comment.

[originally from svn r1546]
[this commit reordered to come after creation of 0.52 tag]

22 years agoUpdate the FAQ to reflect 0.52 as being a current release rather 0.52
Simon Tatham [Mon, 14 Jan 2002 12:16:58 +0000 (12:16 +0000)]
Update the FAQ to reflect 0.52 as being a current release rather
than a future prospect. I'm going to move the beta-0-52 tag on this
file, but that won't affect release binaries that have already been
built.

[originally from svn r1547]

22 years agoAdd support for sending SSH2_MSG_UNIMPLEMENTED for unrecognised
Simon Tatham [Thu, 10 Jan 2002 19:50:53 +0000 (19:50 +0000)]
Add support for sending SSH2_MSG_UNIMPLEMENTED for unrecognised
messages; also do something with the debugging messages sent as
SSH2_MSG_DEBUG.

[originally from svn r1544]

22 years agoFlush the log file after logging each packet (so that if we're going
Simon Tatham [Thu, 10 Jan 2002 19:50:07 +0000 (19:50 +0000)]
Flush the log file after logging each packet (so that if we're going
to crash, we get an up-to-the-minute log of what happened just
before then).

[originally from svn r1543]

22 years agoSupport SSH2_MSG_GLOBAL_REQUEST (just return failure)
Simon Tatham [Thu, 10 Jan 2002 16:42:17 +0000 (16:42 +0000)]
Support SSH2_MSG_GLOBAL_REQUEST (just return failure)

[originally from svn r1542]

22 years agoExtra safety feature to avoid sending SSH2_MSG_WINDOW_ADJUST on
Simon Tatham [Thu, 10 Jan 2002 13:29:43 +0000 (13:29 +0000)]
Extra safety feature to avoid sending SSH2_MSG_WINDOW_ADJUST on
a nonexistent channel. I don't quite know why this was happening,
but whatever it was this ought to fix it.

[originally from svn r1540]

22 years agoPlink's front-end select loop was failing to send error messages to
Simon Tatham [Thu, 10 Jan 2002 13:06:26 +0000 (13:06 +0000)]
Plink's front-end select loop was failing to send error messages to
winnet.c. The result was that complete failures to make an SSH
connection (connection refused, for example) were causing a hang
instead of a proper error report.

[originally from svn r1539]

22 years agoAdd the CRC32 compensation attack detector that all other SSH
Simon Tatham [Tue, 8 Jan 2002 11:57:32 +0000 (11:57 +0000)]
Add the CRC32 compensation attack detector that all other SSH
clients have had for ages and I forgot about. Of course I've got the
version with the buffer overflow fixed!

[originally from svn r1535]

22 years agoPatch from RDB: the ESC[8...t resize sequence and the ESC[18t size
Simon Tatham [Tue, 8 Jan 2002 09:56:31 +0000 (09:56 +0000)]
Patch from RDB: the ESC[8...t resize sequence and the ESC[18t size
report should both quote rows before columns, not vice versa.

[originally from svn r1534]

22 years agoPatch from RDB: the xterm move-window sequences now don't screw up
Simon Tatham [Tue, 8 Jan 2002 09:56:06 +0000 (09:56 +0000)]
Patch from RDB: the xterm move-window sequences now don't screw up
when the window is e.g. maximised.

[originally from svn r1533]

22 years agoPatch from RDB: invent a /DMSVC4 compile-time definition which
Simon Tatham [Tue, 8 Jan 2002 09:45:10 +0000 (09:45 +0000)]
Patch from RDB: invent a /DMSVC4 compile-time definition which
renames header files and symbols etc. Now if I could only _find_ my
copy of MSVC4 we might even be able to build Win32s binaries...

[originally from svn r1532]

22 years agoPatch from RDB: make /DNO_MULTIMON (mentioned as a possible
Simon Tatham [Tue, 8 Jan 2002 09:44:23 +0000 (09:44 +0000)]
Patch from RDB: make /DNO_MULTIMON (mentioned as a possible
compile-time definition in the Makefile) actually work. D'oh.

[originally from svn r1531]

22 years agoAdd weird XML manifest resources, to enable WinXP skins to work
Simon Tatham [Tue, 8 Jan 2002 09:32:50 +0000 (09:32 +0000)]
Add weird XML manifest resources, to enable WinXP skins to work
within PuTTY's dialog boxen.

[originally from svn r1530]

22 years agoAdd `where can I buy silly putty' as a FAQ, pointing to Crazy
Simon Tatham [Wed, 2 Jan 2002 15:44:06 +0000 (15:44 +0000)]
Add `where can I buy silly putty' as a FAQ, pointing to Crazy
Aaron's site :-)

[originally from svn r1527]

22 years agosshrsa.c should include misc.h in case I need to do debugging :-)
Simon Tatham [Tue, 1 Jan 2002 16:51:03 +0000 (16:51 +0000)]
sshrsa.c should include misc.h in case I need to do debugging :-)

[originally from svn r1526]

22 years agoCreate the long-awaited console.c, and move the common routines out
Simon Tatham [Mon, 31 Dec 2001 16:15:19 +0000 (16:15 +0000)]
Create the long-awaited console.c, and move the common routines out
of scp.c, psftp.c and plink.c into it. Additionally, add `batch
mode', in which all the interactive prompts (bad host key, log file
exists, insecure cipher, password prompt) are disabled and safe
responses are assumed. (The idea being that if you run PSCP, for
example, in a cron job then you'd probably rather it failed and
exited instead of leaving the cron job wedged while it waits for
user input that will never arrive.)

[originally from svn r1525]

22 years agoI have no brain at all. The SSH1 auth loop was trying all Pageant
Simon Tatham [Sun, 30 Dec 2001 16:27:07 +0000 (16:27 +0000)]
I have no brain at all. The SSH1 auth loop was trying all Pageant
keys before _every_ other authentication; so if you tried a local
pubkey _and_ a password, for example, you'd also try Pageant twice.
Now fixed.

[originally from svn r1524]

22 years agoPuTTY can now detect when one of the Pageant keys it tries matches
Simon Tatham [Sun, 30 Dec 2001 16:20:31 +0000 (16:20 +0000)]
PuTTY can now detect when one of the Pageant keys it tries matches
the private key file given in the config; if it spots this then it
avoids trying it again (and in particular avoids needing to ask for
the passphrase when it knows perfectly well it won't work).

[originally from svn r1523]

22 years agoPageant is now able to avoid asking for the passphrase when asked to
Simon Tatham [Sun, 30 Dec 2001 15:58:17 +0000 (15:58 +0000)]
Pageant is now able to avoid asking for the passphrase when asked to
load a key that is already loaded. This makes command lines such as
`pageant mykey -c mycommand' almost infinitely more useful.

[originally from svn r1522]

22 years agoOops - the help for the new Telnet NL option wasn't quite there.
Simon Tatham [Sat, 29 Dec 2001 17:25:07 +0000 (17:25 +0000)]
Oops - the help for the new Telnet NL option wasn't quite there.

[originally from svn r1521]

22 years agoAdd a configurable option to make Return in Telnet send an ordinary
Simon Tatham [Sat, 29 Dec 2001 17:21:26 +0000 (17:21 +0000)]
Add a configurable option to make Return in Telnet send an ordinary
^M instead of the Telnet New Line code. Unix-type telnetds don't
care one way or the other; RDB claims some telnetds prefer Telnet
NL; and now someone has found one that can't deal with Telnet NL and
prefers ^M. Sigh.

[originally from svn r1520]

22 years agoAdd a FAQ about keyboard mapping problems: basically explaining that
Simon Tatham [Sat, 29 Dec 2001 17:00:06 +0000 (17:00 +0000)]
Add a FAQ about keyboard mapping problems: basically explaining that
we really need to know what character sequence you were _expecting_
your function key to generate before we can even think about making
PuTTY generate it.

[originally from svn r1519]

22 years agoAdd a new back-end function to return the exit code of the remote
Simon Tatham [Sat, 29 Dec 2001 15:31:42 +0000 (15:31 +0000)]
Add a new back-end function to return the exit code of the remote
process. This is functional in SSH, and vestigial (just returns 0)
in the other three protocols. Plink's Windows exit code is now
determined by the remote process exit code, which should make it
more usable in scripting applications. Tested in both SSH1 and SSH2.

[originally from svn r1518]

22 years agoJordan Russell's patch (3rd of several). We now don't call TermOut()
Simon Tatham [Sat, 29 Dec 2001 14:47:59 +0000 (14:47 +0000)]
Jordan Russell's patch (3rd of several). We now don't call TermOut()
if the PuTTY window has the mouse capture (i.e. a drag-select is in
progress). This means you can drag-select at your leisure without
the screen contents wandering around providing you with a moving
target. Likewise dragging the scrollbar to find a piece of history
in the scrollback.

[originally from svn r1517]

22 years agoJordan Russell's patch (again): a couple of registry read operations
Simon Tatham [Sat, 29 Dec 2001 14:18:51 +0000 (14:18 +0000)]
Jordan Russell's patch (again): a couple of registry read operations
were using RegCreateKey instead of RegOpenKey by mistake. This also
required a fix in settings.c to deal gracefully with a NULL return
from enum_settings_start() - since the use of RCK had caused this
never to happen, the code path had never been tested.

[originally from svn r1516]

22 years agoJordan Russell's patch: only process mouse drags when we have the
Simon Tatham [Sat, 29 Dec 2001 14:05:07 +0000 (14:05 +0000)]
Jordan Russell's patch: only process mouse drags when we have the
mouse capture, which in turn will only occur if the initial click
was in the PuTTY client area. Prevents mouse drag events without an
initiating click, and also prevents selection occurring at
unexpected moments such as if you move the mouse before releasing
the second click after double-clicking the title bar to maximise the
window.

[originally from svn r1515]

22 years agoDocument the Pageant command line.
Simon Tatham [Thu, 20 Dec 2001 15:27:40 +0000 (15:27 +0000)]
Document the Pageant command line.

[originally from svn r1514]

22 years agoOops - fputs takes the file pointer second, not first!
Simon Tatham [Thu, 20 Dec 2001 14:19:10 +0000 (14:19 +0000)]
Oops - fputs takes the file pointer second, not first!

[originally from svn r1513]

22 years agoThis should fix the busy-wait problem with the IME.
Simon Tatham [Thu, 20 Dec 2001 14:18:01 +0000 (14:18 +0000)]
This should fix the busy-wait problem with the IME.

[originally from svn r1512]

22 years agoThe alphabetical ordering in the psftp command list was broken. D'oh!
Simon Tatham [Wed, 19 Dec 2001 18:49:32 +0000 (18:49 +0000)]
The alphabetical ordering in the psftp command list was broken. D'oh!

[originally from svn r1508]

22 years agoAdd the `can we run under win3.1' question to the FAQ.
Simon Tatham [Sun, 16 Dec 2001 15:30:03 +0000 (15:30 +0000)]
Add the `can we run under win3.1' question to the FAQ.

[originally from svn r1504]

22 years agoFiddle the header of the new feedback section to make it carefully
Simon Tatham [Sun, 16 Dec 2001 15:14:36 +0000 (15:14 +0000)]
Fiddle the header of the new feedback section to make it carefully
ambiguous about whether it thinks it's on the website or in the manual.

[originally from svn r1503]

22 years agoAdd two extra appendices giving the licence text and details of how
Simon Tatham [Sun, 16 Dec 2001 14:56:02 +0000 (14:56 +0000)]
Add two extra appendices giving the licence text and details of how
to give feedback. (I think the latter has suddenly become worthwhile
now we have the ability to distribute a help file; so people won't
have to come to the website for the feedback information.)

[originally from svn r1502]

22 years agoAdd the `local' command set to PSFTP: lcd, lpwd, and ! to spawn a
Simon Tatham [Sun, 16 Dec 2001 13:33:04 +0000 (13:33 +0000)]
Add the `local' command set to PSFTP: lcd, lpwd, and ! to spawn a
Windows command.

[originally from svn r1501]

22 years agoReplace the definition of WHEEL_DELTA which was removed in rev 1.185
Simon Tatham [Sun, 16 Dec 2001 12:11:56 +0000 (12:11 +0000)]
Replace the definition of WHEEL_DELTA which was removed in rev 1.185
[r1499]. For some reason Borland builds were working perfectly OK
without it, but VC builds were failing. *shrug*

[originally from svn r1500]
[r1499 == d6016149bfd0fe316629ff74e32e06f42948cf87]

22 years agoA contributor tells me that WM_MOUSEWHEEL is not supported in Win95,
Simon Tatham [Sat, 15 Dec 2001 14:30:58 +0000 (14:30 +0000)]
A contributor tells me that WM_MOUSEWHEEL is not supported in Win95,
and offers a patch that uses RegisterMessage() to acquire the
correct dynamic message number to use instead.

[originally from svn r1499]

22 years ago`make clean' in the Borland makefile should ignore error returns
Simon Tatham [Sat, 15 Dec 2001 14:29:03 +0000 (14:29 +0000)]
`make clean' in the Borland makefile should ignore error returns
from the delete commands in case nothing of a particular type needs
to be cleaned up.

[originally from svn r1498]

22 years agoImprovements to the malloc debugging stuff: when MALLOC_LOG is
Simon Tatham [Sat, 15 Dec 2001 14:09:51 +0000 (14:09 +0000)]
Improvements to the malloc debugging stuff: when MALLOC_LOG is
enabled, so that all mallocs and reallocs are tagged with a file
name and line number, this information is now shown in the `Out of
memory!' panic box.

[originally from svn r1497]

22 years agoAdd the remote counterpart for the `local port forwardings accept
Simon Tatham [Sat, 15 Dec 2001 12:15:24 +0000 (12:15 +0000)]
Add the remote counterpart for the `local port forwardings accept
connections from outside localhost' switch. Interestingly OpenSSH
3.0 appears to ignore this (though I know it works because ssh.com
3.0 gets it right, and the SSH packet dump agrees that I'm doing the
right thing).

[originally from svn r1496]

22 years agoReverse part of RDB's pedantic patch from rev 1.129 [r1105]: app
Simon Tatham [Sat, 15 Dec 2001 11:49:48 +0000 (11:49 +0000)]
Reverse part of RDB's pedantic patch from rev 1.129 [r1105]: app
cursor and app keypad modes are now once again independently
switchable. The VT100 and VT102 manuals may have done it RDB's way
as he said, but xterm and rxvt disagree and at least one app depends
on the xterm way. It'll have to become a configurable option if
anyone has trouble with this.

[originally from svn r1495]
[r1105 == 9f32a1da351fc81729aa943aaceb89b2e8cf3f0c]

22 years agoJaeyoun Chung's mysterious patch that apparently makes Korean input
Simon Tatham [Sat, 15 Dec 2001 11:10:19 +0000 (11:10 +0000)]
Jaeyoun Chung's mysterious patch that apparently makes Korean input
work properly: call luni_send() one character at a time rather than
all together after WM_IME_COMPOSITION.

[originally from svn r1494]

22 years agoRetired the #ifdef DUMP_PACKETS stuff in ssh.c because I'm utterly
Simon Tatham [Fri, 14 Dec 2001 14:57:50 +0000 (14:57 +0000)]
Retired the #ifdef DUMP_PACKETS stuff in ssh.c because I'm utterly
sick of recompiling to enable packet dumps. SSH packet dumping is
now provided as a logging option, and dumps to putty.log like all
the other logging options. While I'm at it I cleaned up the format
so that packet types are translated into strings for easy browsing.
POSSIBLE SIDE EFFECT: in the course of this work I had to re-enable
the SSH1 packet length checks which it turns out hadn't actually
been active for some time, so it's possible things might break as a
result. If need be I can always disable those checks for the 0.52
release and think about it more carefully later.

[originally from svn r1493]

22 years agoNow that Buttress can spot duplicate section keywords, it turns out
Simon Tatham [Fri, 14 Dec 2001 12:48:24 +0000 (12:48 +0000)]
Now that Buttress can spot duplicate section keywords, it turns out
there are several of them I hadn't noticed! All fixed.

[originally from svn r1491]

22 years agoAdd the missing psftp-pubkey section, shamelessly cribbed from the
Simon Tatham [Fri, 14 Dec 2001 12:22:09 +0000 (12:22 +0000)]
Add the missing psftp-pubkey section, shamelessly cribbed from the
corresponding section in the PSCP chapter.

[originally from svn r1487]

22 years agoRename a clashing section keyword (why wasn't Buttress catching
Simon Tatham [Fri, 14 Dec 2001 12:19:14 +0000 (12:19 +0000)]
Rename a clashing section keyword (why wasn't Buttress catching
this? Oops).

[originally from svn r1486]

22 years agoAdd a chapter to the manual describing PSFTP.
Simon Tatham [Fri, 14 Dec 2001 12:15:43 +0000 (12:15 +0000)]
Add a chapter to the manual describing PSFTP.

[originally from svn r1485]

22 years agoRemove ghastly hack involving fxp_error_message.
Simon Tatham [Fri, 14 Dec 2001 10:12:53 +0000 (10:12 +0000)]
Remove ghastly hack involving fxp_error_message.

[originally from svn r1484]