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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1571
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 1 Mar 2002 13:16:25 +0000 (13:16 +0000)]
Memory leak fix: repair endemic failure to call sftp_pkt_free().
git-svn-id: svn://svn.tartarus.org/sgt/putty@1570
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1569
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1568
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 27 Feb 2002 22:31:23 +0000 (22:31 +0000)]
Patch to enable >512-character command lines. Thanks to Thomas Halling.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1567
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 27 Feb 2002 22:30:57 +0000 (22:30 +0000)]
Oops - get the forward declaration right in that hack
git-svn-id: svn://svn.tartarus.org/sgt/putty@1566
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1565
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1564
cda61777-01e9-0310-a592-
d414129be87e
simon [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).
git-svn-id: svn://svn.tartarus.org/sgt/putty@1560
cda61777-01e9-0310-a592-
d414129be87e
simon [Sun, 24 Feb 2002 15:17:10 +0000 (15:17 +0000)]
It's 2002. Update copyright statements :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1559
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1558
cda61777-01e9-0310-a592-
d414129be87e
simon [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.)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1556
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1555
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 4 Feb 2002 13:29:04 +0000 (13:29 +0000)]
-pw in Plink doesn't work in Telnet. Mention this.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1554
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1553
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 23 Jan 2002 09:43:10 +0000 (09:43 +0000)]
Add `can PSCP and PSFTP do ASCII mode?' to the FAQ.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1551
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1550
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1549
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1547
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 12 Jan 2002 16:02:50 +0000 (16:02 +0000)]
Update an accelerator comment.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1546
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1544
cda61777-01e9-0310-a592-
d414129be87e
simon [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).
git-svn-id: svn://svn.tartarus.org/sgt/putty@1543
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 10 Jan 2002 16:42:17 +0000 (16:42 +0000)]
Support SSH2_MSG_GLOBAL_REQUEST (just return failure)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1542
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1540
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1539
cda61777-01e9-0310-a592-
d414129be87e
simon [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!
git-svn-id: svn://svn.tartarus.org/sgt/putty@1535
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1534
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1533
cda61777-01e9-0310-a592-
d414129be87e
simon [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...
git-svn-id: svn://svn.tartarus.org/sgt/putty@1532
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1531
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1530
cda61777-01e9-0310-a592-
d414129be87e
simon [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 :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1527
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 1 Jan 2002 16:51:03 +0000 (16:51 +0000)]
sshrsa.c should include misc.h in case I need to do debugging :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1526
cda61777-01e9-0310-a592-
d414129be87e
simon [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.)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1525
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1524
cda61777-01e9-0310-a592-
d414129be87e
simon [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).
git-svn-id: svn://svn.tartarus.org/sgt/putty@1523
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1522
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 29 Dec 2001 17:25:07 +0000 (17:25 +0000)]
Oops - the help for the new Telnet NL option wasn't quite there.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1521
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1520
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1519
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1518
cda61777-01e9-0310-a592-
d414129be87e
simon [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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1517
cda61777-01e9-0310-a592-
d414129be87e