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

870 Коммитов

Автор SHA1 Сообщение Дата
Simon Tatham f10f7c966a 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 == 9f32a1da35]
2001-12-15 11:49:48 +00:00
Simon Tatham efddc0a744 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]
2001-12-15 11:10:19 +00:00
Simon Tatham 3ed0d44f16 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]
2001-12-14 14:57:50 +00:00
Simon Tatham 789bb1e727 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]
2001-12-14 12:48:24 +00:00
Simon Tatham a65928a8ae Add the missing psftp-pubkey section, shamelessly cribbed from the
corresponding section in the PSCP chapter.

[originally from svn r1487]
2001-12-14 12:22:09 +00:00
Simon Tatham 5b196ef5bc Rename a clashing section keyword (why wasn't Buttress catching
this? Oops).

[originally from svn r1486]
2001-12-14 12:19:14 +00:00
Simon Tatham 9f3b49f3ba Add a chapter to the manual describing PSFTP.
[originally from svn r1485]
2001-12-14 12:15:43 +00:00
Simon Tatham 211bad80f0 Remove ghastly hack involving fxp_error_message.
[originally from svn r1484]
2001-12-14 10:12:53 +00:00
Simon Tatham 2f67503ad7 Fix trivial problems with PSFTP batch mode
[originally from svn r1483]
2001-12-14 10:06:09 +00:00
Simon Tatham ab431397d6 Aargh, an Americanism crept in. Now corrected: favorite -> favourite.
[originally from svn r1482]
2001-12-14 09:58:07 +00:00
Simon Tatham 8ecf3e147d Tidied up PSFTP batch mode. The gross hack using fxp_error_message
to report command failures is now gone; instead each sftp_cmd_*
routine returns 0 or 1 depending on success, like they should have
done right from the start. This fixes problems with `ls' prematurely
terminating PSFTP batch files.

[originally from svn r1481]
2001-12-13 19:26:51 +00:00
Simon Tatham 9cfcab6cb6 Allow PSFTP to be run with no arguments, in which case it enters the
command-line state but all commands are disallowed except `open
host.name'. The idea is to provide marginal extra niceness for
people who double-click the icon without realising it's a cmdline app.

[originally from svn r1480]
2001-12-13 18:42:34 +00:00
Simon Tatham f3a8796cf5 Clarify that port forwarding will not be enabled until the user has
authenticated.

[originally from svn r1479]
2001-12-13 17:38:59 +00:00
Simon Tatham f9cbbc3387 Updated the PuTTYgen section in pubkey.but so that it gives
individual documentation of the various PuTTYgen controls; also
implemented context help in PuTTYgen to go with it. Shame there
isn't space for a generic `Help' button in the PuTTYgen window.

[originally from svn r1478]
2001-12-12 18:45:56 +00:00
Simon Tatham 7983d2dd28 Disable username switching between SSH2 auth attempts, and add a
configurable option so users can re-enable the feature _if_ they
know they have an SSH2 server that isn't going to get shirty about
it. Inspired by a spectacular increase in OpenSSH's shirtiness.

[originally from svn r1474]
2001-12-11 21:00:01 +00:00
Simon Tatham 382ffaf026 Fix error handling in sftp (the sftp_recv return value was being
checked for NULL almost nowhere).

[originally from svn r1472]
2001-12-11 20:08:12 +00:00
Simon Tatham e5764eb695 Add help support to Pageant. (For the primary - non-context - help,
we just invoke the same help file and jump to the Pageant chapter.
It would be nice to be able to bring up the contents box with the
Pageant chapter expanded, but I don't think WinHelp() allows us to
request this.)

[originally from svn r1471]
2001-12-11 18:48:29 +00:00
Simon Tatham 7c6fc9f160 Fixes to full-screen mode. There were various problems when you went
full-screen, then selected Change Settings and then changed the
resize behaviour, ranging from the window staying FS but acquiring
borders to the window restoring its previous size and _failing_ to
acquire borders. Should now all be fixed.

[originally from svn r1470]
2001-12-11 18:47:55 +00:00
Simon Tatham 5f2c53790c Fix compiler warnings
[originally from svn r1469]
2001-12-11 18:47:35 +00:00
Simon Tatham 46f2897cf6 Apparently sending DISCONNECT on a normal SSH2 connection close is
actually _less_ polite than just closing the connection, rather than
more polite as I'd believed. So we now just close.

[originally from svn r1468]
2001-12-10 18:12:51 +00:00
Simon Tatham 3c24104a7d RDB's patch to allow the `-c' option to Pageant to take a command
_with arguments_. Duh, should have thought of that myself.

[originally from svn r1467]
2001-12-10 17:50:03 +00:00
Simon Tatham 51bd9e8128 Andrew Francis's Pageant updates: you can now multi-select key files
to add and keys to remove (in the open-file dialog and the key list
box respectively), and passphrases are cached during the process of
adding several keys at once (in case two of the keys have the same
passphrase).

[originally from svn r1466]
2001-12-10 17:40:14 +00:00
Simon Tatham 1f516a8bb0 FIFTH ATTEMPT at getting full-screen mode right. This new attempt
(which I'll comment at some stage) should combine the believable
semantics of RDB's fullscreen-by-maximise mode with the multi-
monitor friendliness of Wez Furlong's approach while also working on
Win98. If we're lucky.

[originally from svn r1464]
2001-12-07 21:21:03 +00:00
Simon Tatham b0c92ec43a Owen's patch to allow PowerMenu (third-party transparency tool) to
not crash PuTTY.

[originally from svn r1463]
2001-12-07 20:37:18 +00:00
Simon Tatham 5d2488a58e Add -rlogin to Plink, for orthogonality (and because I documented it
yesterday!).

[originally from svn r1462]
2001-12-07 20:36:56 +00:00
Simon Tatham fc2a4f845d Documentation: filled the last few gaps and cleaned a few things up.
PuTTY now has a complete manual. Stylistic review, content review
and indexing are yet to do, but at least there's some plausible text
in every section now.

[originally from svn r1460]
2001-12-06 20:05:39 +00:00
Simon Tatham bf6cfd2b01 Sort out the silly filenames.
[originally from svn r1459]
2001-12-06 18:18:46 +00:00
Simon Tatham 2b99a70743 Integrate PuTTY and its help file. Now that's what I call a good
lunchtime's work :-)

[originally from svn r1458]
2001-12-06 13:28:02 +00:00
Simon Tatham 431ffb478e Oops - replacement section types should be capitalised
[originally from svn r1446]
[this svn revision also touched halibut]
2001-12-04 19:12:18 +00:00
Simon Tatham b9c8a9270a Oops - check the _rest_ of the SSH2 DES patch back in. D'oh!
[originally from svn r1431]
2001-11-29 23:58:02 +00:00
Simon Tatham f391d066de Document the three new configuration options I've added tonight
[originally from svn r1430]
2001-11-29 22:32:37 +00:00
Simon Tatham 994bb17c57 Make the nonstandard "des-cbc" cipher disabled by default
[originally from svn r1429]
2001-11-29 22:26:52 +00:00
Simon Tatham 3270c74f9e Configurable TCP_NODELAY option on network connections
[originally from svn r1428]
2001-11-29 21:47:11 +00:00
Simon Tatham 43a4339ac5 Set up kbd_codepage at the start of the program, as well as when the
input locale changes. With any luck this should sort out the Polish
Unicode problems.

[originally from svn r1427]
2001-11-29 21:30:59 +00:00
Simon Tatham 82e7fd0f23 Make keyboard-interactive authentication configurable off. (This is
a stopgap until we get round to a proper authentications preference
list.)

[originally from svn r1426]
2001-11-29 20:34:06 +00:00
Simon Tatham 64df2cd90f Remember to terminate the prompt string in keyboard-interactive
[originally from svn r1425]
2001-11-29 20:27:20 +00:00
Simon Tatham 7e0ef0b253 Further documentation work. Tidy up the Config chapter (add a few
new features - the code had got ahead of the docs), and propagate a
couple of cross-references to other files as a result.

[originally from svn r1424]
2001-11-25 19:22:47 +00:00
Simon Tatham fe943dcd68 Add a new chapter full of intermediate-useful-things, somewhere
between `Getting Started' (things we can barely believe you don't
know) and the Configuration reference chapter (things you already
knew and had just forgotten). Only half-written at the moment.

[originally from svn r1423]
2001-11-25 18:59:12 +00:00
Simon Tatham 66a5fe7301 Split the Window panel into two to make room for proper comments
[originally from svn r1422]
2001-11-25 18:55:46 +00:00
Simon Tatham 59f3434672 RDB's general resizing cleanup. He's put his favourite resize mode
back in again, but as long as it's not the default it doesn't bother
me too much :-)

[originally from svn r1421]
2001-11-25 18:39:57 +00:00
Simon Tatham 17f54e4c3d Editorial policy change: I've decided that it's better to use \q
than \e when describing button names and menu items: the "Foo"
button rather than the _Foo_ button. Certainly consistent use of
either is better than the mixed use of both we had before :-)

[originally from svn r1420]
2001-11-25 17:32:39 +00:00
Simon Tatham b7efa34942 Arrgh, and "password" should be spelled "passphrase".
[originally from svn r1419]
2001-11-25 17:14:00 +00:00
Simon Tatham e233a3e51e Oops - URLs in \W{...} have to be in real URL format :-/
[originally from svn r1418]
2001-11-25 17:12:23 +00:00
Simon Tatham 128038960f Oops - one last versionid :-)
[originally from svn r1416]
2001-11-25 17:05:01 +00:00
Simon Tatham 0da35d079f Miscellaneous documentation updates. Finished a first draft of the
Pageant chapter; wrote something about passphrase lengths; added
\versionid to all chapters that didn't have it yet.

[originally from svn r1415]
2001-11-25 16:57:45 +00:00
Simon Tatham bb1f5cec31 Add support for most of the ESC[<low number>t sequences, which xterm
uses to manipulate the window (minimise, maximise, front, back,
move, resize) and report things about the window (is it minimised or
maximised, how big is it, what's its title). Missing are ESC[4;X;Yt
(resize to a specified pixel size; our resize code doesn't like it)
and ESC[19;X;Yt (report size of _screen_ in _characters_, which it
isn't even obvious how to do when you've got a variable font size).

[originally from svn r1414]
2001-11-25 15:21:25 +00:00
Simon Tatham 6608016fc2 INCOMPATIBLE CHANGE to the SSH2 private key file format. There is
now a passphrase-keyed MAC covering _all_ important data in the
file, including the public blob and the key comment. Should
conclusively scupper any attacks based on nobbling the key file in
an attempt to sucker the machine that decrypts it. MACing the
comment field also protects against a key-substitution attack (if
someone's worked out a way past our DSA protections and can extract
the private key from a signature, swapping key files and
substituting comments might just enable them to get the signature
they need to do this. Paranoid, but might as well).

[originally from svn r1413]
2001-11-25 14:31:46 +00:00
Simon Tatham 9d814fd26e Oops - fix another segfault in that -L and -R code
[originally from svn r1412]
2001-11-25 12:23:34 +00:00
Simon Tatham 14ab514528 Rob Wood's patch to provide standard -L and -R options for port
forwarding in Plink. Cleaned up a bit to remove segfaults and work
correctly with saved sessions.

[originally from svn r1411]
2001-11-25 11:36:49 +00:00
Simon Tatham 92eb0710e3 Jacob's patch to make full-screen mode available even when Alt-Enter
isn't configured to do it: we now have a sysmenu option for it. In
addition, there's a special case such that clicking the top left
pixel on the screen in full-screen mode brings up the sysmenu (so
you can still get at the sysmenu in FS mode without Alt-anything
configured to bring it up and without ghastly fiddling with the
Windows key). Also Change Settings while in full-screen mode now
adds/removes the scrollbar in response to scrollbar_in_fullscreen
rather than scrollbar (oops).

[originally from svn r1410]
2001-11-25 10:24:29 +00:00