Граф коммитов

929 Коммитов

Автор SHA1 Сообщение Дата
Simon Tatham f1ece56e40 Add an extra example to the Plink-with-WinCVS section.
[originally from svn r1573]
2002-03-05 20:39:27 +00:00
Simon Tatham d21683f92c 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]
2002-03-02 17:37:48 +00:00
Simon Tatham fdbd697801 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]
2002-03-01 13:17:45 +00:00
Simon Tatham 0b61ac21c2 Memory leak fix: repair endemic failure to call sftp_pkt_free().
[originally from svn r1570]
2002-03-01 13:16:25 +00:00
Simon Tatham ae7c314f33 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]
2002-02-27 22:45:52 +00:00
Simon Tatham 84c3ece865 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]
2002-02-27 22:41:31 +00:00
Simon Tatham a05d76fb1f Patch to enable >512-character command lines. Thanks to Thomas Halling.
[originally from svn r1567]
2002-02-27 22:31:23 +00:00
Simon Tatham 6e1ac92194 Oops - get the forward declaration right in that hack
[originally from svn r1566]
2002-02-27 22:30:57 +00:00
Simon Tatham 98dd3cb9f2 Fix silly segfault due to PSFTP thinking connection is fine even if
fxp_init() fails to get initial packet.

[originally from svn r1565]
2002-02-27 22:20:30 +00:00
Simon Tatham 4f33c36ff5 Make sure out-of-memory errors are logged to malloc.log when we're
logging mallocs.

[originally from svn r1564]
2002-02-27 22:20:03 +00:00
Simon Tatham b025e37bbb 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]
2002-02-24 15:25:19 +00:00
Simon Tatham f8a36fbdad It's 2002. Update copyright statements :-)
[originally from svn r1559]
2002-02-24 15:17:10 +00:00
Simon Tatham 7fbbad0ce1 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]
2002-02-20 22:28:11 +00:00
Simon Tatham 3f8bd28598 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]
2002-02-12 11:07:07 +00:00
Simon Tatham 05545f3dde 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]
2002-02-04 13:52:05 +00:00
Simon Tatham 958be97ce7 -pw in Plink doesn't work in Telnet. Mention this.
[originally from svn r1554]
2002-02-04 13:29:04 +00:00
Simon Tatham d2b11dad97 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]
2002-02-04 13:18:54 +00:00
Simon Tatham 72ed86bcd0 Add `can PSCP and PSFTP do ASCII mode?' to the FAQ.
[originally from svn r1551]
2002-01-23 09:43:10 +00:00
Simon Tatham b1a4532be2 Various accelerator clashes (due to the addition of the global Help
button, which accel.pl wasn't prepared for) fixed.

[originally from svn r1550]
2002-01-17 13:47:29 +00:00
Simon Tatham 5e3663b48e 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]
2002-01-17 12:22:26 +00:00
Simon Tatham 3b593096d1 Update an accelerator comment.
[originally from svn r1546]
[this commit reordered to come after creation of 0.52 tag]
2002-01-12 16:02:50 +00:00
Simon Tatham a9fd52e72f 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]
2002-01-14 12:16:58 +00:00
Simon Tatham e6cc16b8b2 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]
2002-01-10 19:50:53 +00:00
Simon Tatham 3e7e1eb9e8 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]
2002-01-10 19:50:07 +00:00
Simon Tatham 46803abdbe Support SSH2_MSG_GLOBAL_REQUEST (just return failure)
[originally from svn r1542]
2002-01-10 16:42:17 +00:00
Simon Tatham cf8190f637 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]
2002-01-10 13:29:43 +00:00
Simon Tatham 290e08ae76 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]
2002-01-10 13:06:26 +00:00
Simon Tatham d237773599 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]
2002-01-08 11:57:32 +00:00
Simon Tatham 349e2ce9e2 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]
2002-01-08 09:56:31 +00:00
Simon Tatham ba435fa6a0 Patch from RDB: the xterm move-window sequences now don't screw up
when the window is e.g. maximised.

[originally from svn r1533]
2002-01-08 09:56:06 +00:00
Simon Tatham 9e6923016c 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]
2002-01-08 09:45:10 +00:00
Simon Tatham c7aec27d6f Patch from RDB: make /DNO_MULTIMON (mentioned as a possible
compile-time definition in the Makefile) actually work. D'oh.

[originally from svn r1531]
2002-01-08 09:44:23 +00:00
Simon Tatham ff1e19f285 Add weird XML manifest resources, to enable WinXP skins to work
within PuTTY's dialog boxen.

[originally from svn r1530]
2002-01-08 09:32:50 +00:00
Simon Tatham 4bcdf2ab2e Add `where can I buy silly putty' as a FAQ, pointing to Crazy
Aaron's site :-)

[originally from svn r1527]
2002-01-02 15:44:06 +00:00
Simon Tatham 559ec6d764 sshrsa.c should include misc.h in case I need to do debugging :-)
[originally from svn r1526]
2002-01-01 16:51:03 +00:00
Simon Tatham 466b1c82d5 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]
2001-12-31 16:15:19 +00:00
Simon Tatham ccf9a051ca 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]
2001-12-30 16:27:07 +00:00
Simon Tatham 2ce502eae2 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]
2001-12-30 16:20:31 +00:00
Simon Tatham cf356a9a5f 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]
2001-12-30 15:58:17 +00:00
Simon Tatham 320ee10afb Oops - the help for the new Telnet NL option wasn't quite there.
[originally from svn r1521]
2001-12-29 17:25:07 +00:00
Simon Tatham 726f9dde7e 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]
2001-12-29 17:21:26 +00:00
Simon Tatham 69b15bcc90 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]
2001-12-29 17:00:06 +00:00
Simon Tatham ef885c78ca 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]
2001-12-29 15:31:42 +00:00
Simon Tatham 02a926f6c1 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]
2001-12-29 14:47:59 +00:00
Simon Tatham 66a53cd2c0 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]
2001-12-29 14:18:51 +00:00
Simon Tatham 7423036505 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]
2001-12-29 14:05:07 +00:00
Simon Tatham df00590b43 Document the Pageant command line.
[originally from svn r1514]
2001-12-20 15:27:40 +00:00
Simon Tatham 811b9b7d18 Oops - fputs takes the file pointer second, not first!
[originally from svn r1513]
2001-12-20 14:19:10 +00:00
Simon Tatham 0fa9d708f7 This should fix the busy-wait problem with the IME.
[originally from svn r1512]
2001-12-20 14:18:01 +00:00
Simon Tatham e822f2b204 The alphabetical ordering in the psftp command list was broken. D'oh!
[originally from svn r1508]
2001-12-19 18:49:32 +00:00