u/mdw/putty
23 years agoIntroduce a sane interface function, from_backend(), for backends to
simon [Fri, 20 Oct 2000 13:51:46 +0000 (13:51 +0000)]
Introduce a sane interface function, from_backend(), for backends to
use when they have data from the network. Replaces the utterly daft
inbuf / inbuf_head / term_out() interface, which only made sense
when feeding to terminal.c. (terminal.c now implements
from_backend() as a small function that gateways to the old
interface.)

As a side effect, from_backend() also has an `is_stderr' parameter,
so scp can once again separate the server's pronouncements on stderr
from the actual protocol progress on stdout.

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

23 years agoTrim trailing whitespace off saved session names on the command line
simon [Fri, 20 Oct 2000 13:23:24 +0000 (13:23 +0000)]
Trim trailing whitespace off saved session names on the command line

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

23 years agoRemember to update scrollbar when scrollback is reset
simon [Fri, 20 Oct 2000 12:31:02 +0000 (12:31 +0000)]
Remember to update scrollbar when scrollback is reset

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

23 years agoReplace the 8859-2 -> Win1250 translation which I accidentally blew away
simon [Fri, 20 Oct 2000 11:16:58 +0000 (11:16 +0000)]
Replace the 8859-2 -> Win1250 translation which I accidentally blew away

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

23 years agoA couple of UI tweaks in puttygen
simon [Fri, 20 Oct 2000 10:47:46 +0000 (10:47 +0000)]
A couple of UI tweaks in puttygen

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

23 years agoRemoved TODO comment after verifying that generated keys work
simon [Fri, 20 Oct 2000 10:44:17 +0000 (10:44 +0000)]
Removed TODO comment after verifying that generated keys work

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

23 years agoEntropy fix after better statistical analysis
simon [Fri, 20 Oct 2000 10:42:31 +0000 (10:42 +0000)]
Entropy fix after better statistical analysis

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

23 years agoVariable key size in PuTTYgen. Also required adding WM_VSCROLL to the
simon [Fri, 20 Oct 2000 10:07:53 +0000 (10:07 +0000)]
Variable key size in PuTTYgen. Also required adding WM_VSCROLL to the
window style in bigeditctrl() in winctrls.c.

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

23 years agoAdd a PuTTYgen icon
simon [Fri, 20 Oct 2000 09:50:56 +0000 (09:50 +0000)]
Add a PuTTYgen icon

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

23 years agoCheck whether key was actually saved, and warn if not
simon [Fri, 20 Oct 2000 09:43:58 +0000 (09:43 +0000)]
Check whether key was actually saved, and warn if not

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

23 years agoSave Key now prompts before overwriting an existing file
simon [Fri, 20 Oct 2000 09:41:13 +0000 (09:41 +0000)]
Save Key now prompts before overwriting an existing file

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

23 years agoAdjust the title of the PuTTYgen window
simon [Fri, 20 Oct 2000 09:36:11 +0000 (09:36 +0000)]
Adjust the title of the PuTTYgen window

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

23 years agoAdd a second passphrase prompt to protect against typos
simon [Fri, 20 Oct 2000 09:31:16 +0000 (09:31 +0000)]
Add a second passphrase prompt to protect against typos

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

23 years agoWe must InitCommonControls() or the progress bar doesn't work on 95
simon [Fri, 20 Oct 2000 09:24:44 +0000 (09:24 +0000)]
We must InitCommonControls() or the progress bar doesn't work on 95

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

23 years agoPuTTYgen initial version. Still to do are basic user-friendliness
simon [Thu, 19 Oct 2000 15:43:08 +0000 (15:43 +0000)]
PuTTYgen initial version. Still to do are basic user-friendliness
features (prompt for passphrase twice, prompt before overwriting a
file, check the key file was actually saved OK), testing of the
generated keys to make sure I got the file format right, and support
for a variable key size. I think what's already here is basically
sound though.

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

23 years agoMiscellaneous cleanups and reorgs in preparation for building
simon [Wed, 18 Oct 2000 15:36:32 +0000 (15:36 +0000)]
Miscellaneous cleanups and reorgs in preparation for building
PuTTYgen. In particular, moved self-managing controls stuff out of
windlg.c into the new and reusable winctrls.c.

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

23 years agoAdd some more commented-out diagnostics for ssh1
simon [Wed, 18 Oct 2000 15:33:05 +0000 (15:33 +0000)]
Add some more commented-out diagnostics for ssh1

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

23 years agoRSA key generation routines, and the bignum enhancements required to
simon [Wed, 18 Oct 2000 15:00:36 +0000 (15:00 +0000)]
RSA key generation routines, and the bignum enhancements required to
support them. A key generation tool will be forthcoming soon.

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

23 years agoAdd an "Add Key" option to the systray menu in Pageant
simon [Thu, 12 Oct 2000 15:26:40 +0000 (15:26 +0000)]
Add an "Add Key" option to the systray menu in Pageant

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

23 years agoImplement MD5 MAC for the benefit of old SSH2 servers
simon [Thu, 12 Oct 2000 14:24:58 +0000 (14:24 +0000)]
Implement MD5 MAC for the benefit of old SSH2 servers

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

23 years agoMiscellaneous fixes for better interoperation with commercial SSH 2
simon [Thu, 12 Oct 2000 13:34:46 +0000 (13:34 +0000)]
Miscellaneous fixes for better interoperation with commercial SSH 2

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

23 years agoImplement a much more visually appealing, but much more internally
simon [Thu, 12 Oct 2000 12:56:33 +0000 (12:56 +0000)]
Implement a much more visually appealing, but much more internally
grotty, hack to get around Explorer maximising the config box.

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

23 years agoAdd a config option to emulate the HMAC bug in commercial SSH v2.3.x
simon [Thu, 12 Oct 2000 12:39:44 +0000 (12:39 +0000)]
Add a config option to emulate the HMAC bug in commercial SSH v2.3.x
and earlier (namely, it uses only 16 bytes of key rather than 20).

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

23 years agoStop the SSH panel appearing in PuTTYtel
simon [Thu, 12 Oct 2000 09:10:45 +0000 (09:10 +0000)]
Stop the SSH panel appearing in PuTTYtel

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

23 years agoStop plink's key verification locking up on input
simon [Thu, 12 Oct 2000 09:10:31 +0000 (09:10 +0000)]
Stop plink's key verification locking up on input

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

23 years agoAdd UNE 10053 to the cleartext ones
simon [Wed, 11 Oct 2000 19:56:22 +0000 (19:56 +0000)]
Add UNE 10053 to the cleartext ones

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

23 years agoTurn off paste-as-poorman for line drawing chars until it's configurable
simon [Tue, 10 Oct 2000 16:02:08 +0000 (16:02 +0000)]
Turn off paste-as-poorman for line drawing chars until it's configurable

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

23 years agoISO8859-2 to CP852 output translation wants to have Win1250 to ISO8859-2
simon [Tue, 10 Oct 2000 12:43:24 +0000 (12:43 +0000)]
ISO8859-2 to CP852 output translation wants to have Win1250 to ISO8859-2
input translation as its counterpart, not CP852 to ISO8859-2. Because the
reason you want this translation is if your _font_ is coded CP852 - in which
case your keymap will not follow suit but will still be in Win1250.

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

23 years agoScroll regions of two lines are allowed
simon [Tue, 10 Oct 2000 10:50:14 +0000 (10:50 +0000)]
Scroll regions of two lines are allowed

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

23 years agoTrivial bug with the function-key radio buttons
simon [Tue, 10 Oct 2000 09:17:13 +0000 (09:17 +0000)]
Trivial bug with the function-key radio buttons

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

23 years agoNow when a saved session is loaded, its name appears in the
simon [Tue, 10 Oct 2000 09:03:20 +0000 (09:03 +0000)]
Now when a saved session is loaded, its name appears in the
IDC_SESSEDIT box, so that clicking Save will save over it. Useful
for people who want to load, modify, and re-save. Special case: this
doesn't apply to Default Settings, because I think people will be
more likely to load DS, modify it, and save under a _different_
name, so it's good not to allow a single mouse click to screw them
up.

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

23 years agoMove initialisation of the saved session box outside init_dlg_ctrls() so
simon [Tue, 10 Oct 2000 08:33:49 +0000 (08:33 +0000)]
Move initialisation of the saved session box outside init_dlg_ctrls() so
that you don't end up with twice as many items after clicking Load

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

23 years agoRename IDC_FUNCTILDE from "VT400" to "ESC[n~" because another VT400 now
simon [Tue, 10 Oct 2000 08:20:26 +0000 (08:20 +0000)]
Rename IDC_FUNCTILDE from "VT400" to "ESC[n~" because another VT400 now
exists!

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

23 years agoAdd ISO8859-2 / CP852 translation courtesy of Jaromir Filsak
simon [Mon, 9 Oct 2000 16:29:12 +0000 (16:29 +0000)]
Add ISO8859-2 / CP852 translation courtesy of Jaromir Filsak

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

23 years agoWork around horrifyingly nonportable use of unions in <commctrl.h>
simon [Mon, 9 Oct 2000 16:12:51 +0000 (16:12 +0000)]
Work around horrifyingly nonportable use of unions in <commctrl.h>

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

23 years agoAbandon the tab control in favour of a tree view
simon [Mon, 9 Oct 2000 15:51:14 +0000 (15:51 +0000)]
Abandon the tab control in favour of a tree view

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

23 years agoRobert de Bath's big patch:
simon [Mon, 9 Oct 2000 12:53:32 +0000 (12:53 +0000)]
Robert de Bath's big patch:
  - cope with strange WinSock wrappers not supporting SIOCATMARK
  - define yet more terminal compatibility modes
  - support UK-ASCII (just like US-ASCII but # is a sterling sign)
  - support connection keepalives at a configurable interval

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

23 years agoMiscellaneous fixes to try to make other compilers happier
simon [Mon, 9 Oct 2000 12:19:09 +0000 (12:19 +0000)]
Miscellaneous fixes to try to make other compilers happier

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

23 years agoRemove the hierarchical dialog structure
simon [Mon, 9 Oct 2000 12:16:27 +0000 (12:16 +0000)]
Remove the hierarchical dialog structure

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

23 years agoAdd a compile option so that anyone who really wants to can build a
simon [Mon, 9 Oct 2000 09:10:09 +0000 (09:10 +0000)]
Add a compile option so that anyone who really wants to can build a
Win95-only (securityless) version of Pageant. This will refuse to
run at all under NT, so as to avoid the risk of people accidentally
running an insecure binary on a security-requiring system.

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

23 years agoAlt-Enter was fouling up on Win95; added explicit handler
simon [Sat, 7 Oct 2000 08:10:32 +0000 (08:10 +0000)]
Alt-Enter was fouling up on Win95; added explicit handler

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

23 years agoFix sorting of saved sessions list box so Default Settings is back at
simon [Fri, 6 Oct 2000 16:19:44 +0000 (16:19 +0000)]
Fix sorting of saved sessions list box so Default Settings is back at
the top of the list instead of being filed under D

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

23 years agoStop throwing out the Connection panel during midsession reconfig.
simon [Fri, 6 Oct 2000 16:01:09 +0000 (16:01 +0000)]
Stop throwing out the Connection panel during midsession reconfig.
Instead, only throw out the useless parts of it. See, the new auto-
layout features bear fruit immediately!

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

23 years agoUpdate Makefile generation and ensure everything works with Borland 5.5
simon [Fri, 6 Oct 2000 15:54:04 +0000 (15:54 +0000)]
Update Makefile generation and ensure everything works with Borland 5.5

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

23 years agoCreate settings.c and move the load/save session code out of
simon [Fri, 6 Oct 2000 13:21:36 +0000 (13:21 +0000)]
Create settings.c and move the load/save session code out of
windlg.c into it. Allows plink and pscp to no longer link with
windlg.c, meaning they lose some of the sillier stub functions and
also can provide a console-based form of verify_ssh_host_key().

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

23 years agoMove omission of SSH protocol setting in PuTTYtel into windlg.c and
simon [Fri, 6 Oct 2000 12:43:19 +0000 (12:43 +0000)]
Move omission of SSH protocol setting in PuTTYtel into windlg.c and
remove nosshres.rc accordingly

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

23 years agoAdd a parameter to write_clip() so that windlg.c need not call term_deselect
simon [Fri, 6 Oct 2000 12:32:25 +0000 (12:32 +0000)]
Add a parameter to write_clip() so that windlg.c need not call term_deselect

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

23 years agoRe-enable copying the Event Log. (rev 1.39 [r661] accidentally disabled it)
simon [Fri, 6 Oct 2000 12:31:54 +0000 (12:31 +0000)]
Re-enable copying the Event Log. (rev 1.39 [r661] accidentally disabled it)

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

23 years agoCross-reference cleanup: winstore.c should not use fatalbox()
simon [Fri, 6 Oct 2000 12:10:26 +0000 (12:10 +0000)]
Cross-reference cleanup: winstore.c should not use fatalbox()

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

23 years agoMistaken identity in sesssaver() was breaking saved-session edit box
simon [Fri, 6 Oct 2000 11:49:40 +0000 (11:49 +0000)]
Mistaken identity in sesssaver() was breaking saved-session edit box

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

23 years agoTighten up use of "static" throughout. Module-internal things should NOT
simon [Fri, 6 Oct 2000 11:42:30 +0000 (11:42 +0000)]
Tighten up use of "static" throughout. Module-internal things should NOT
be exported willy-nilly. It encourages people to use them.

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

23 years agoLocalise control IDs in each dialog procedure, for maintainability
simon [Fri, 6 Oct 2000 09:06:33 +0000 (09:06 +0000)]
Localise control IDs in each dialog procedure, for maintainability

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

23 years agoAdd LBS_STANDARD on saved session list box, so you can double-click
simon [Fri, 6 Oct 2000 08:10:53 +0000 (08:10 +0000)]
Add LBS_STANDARD on saved session list box, so you can double-click

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

23 years agoRemove rogue debug statement
simon [Fri, 6 Oct 2000 08:06:23 +0000 (08:06 +0000)]
Remove rogue debug statement

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

23 years agoRevamp the auto-layout of PuTTY configuration box controls. They are
simon [Thu, 5 Oct 2000 17:19:04 +0000 (17:19 +0000)]
Revamp the auto-layout of PuTTY configuration box controls. They are
now auto-laid-out at runtime instead of compile time. Byebye
win_res.inp and mkres.c; byebye most of win_res.rc; hello a whole
new load of control-creation functions in windlg.c. Also, now that
we're creating the tab control at runtime, we can check to see if it
succeeded and use an alternative if so. This _should_ enable the
config box to work on Win32s, although at the time of checkin that's
untested.

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

23 years agoRemove /DWIN32S_COMPAT by detecting presence of GetSystemPowerStatus at
simon [Thu, 5 Oct 2000 16:48:37 +0000 (16:48 +0000)]
Remove /DWIN32S_COMPAT by detecting presence of GetSystemPowerStatus at
runtime using GetProcAddress

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

23 years agoWe now honour the PLINK_PROTOCOL environment variable if it's set.
simon [Thu, 5 Oct 2000 12:15:22 +0000 (12:15 +0000)]
We now honour the PLINK_PROTOCOL environment variable if it's set.
Also we are able to notice when a backend is instantly sendok(),
rather than waiting until after the first successful socket read.
(This was zogging raw connections. They're still slightly zogged but
not as badly as they were.)

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

23 years agoEnable protocol prefix on [user@]host argument in Plink
simon [Wed, 4 Oct 2000 14:35:31 +0000 (14:35 +0000)]
Enable protocol prefix on [user@]host argument in Plink

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

23 years agoStore default port number in each back end
simon [Wed, 4 Oct 2000 14:35:15 +0000 (14:35 +0000)]
Store default port number in each back end

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

23 years agoPlink now honours the Default Settings protocol and supports -l for username.
simon [Wed, 4 Oct 2000 14:13:17 +0000 (14:13 +0000)]
Plink now honours the Default Settings protocol and supports -l for username.
Also removed a diagnostic which had got in by mistake.

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

23 years agoFix a typo; thanks to Al Sutton
simon [Wed, 4 Oct 2000 10:02:25 +0000 (10:02 +0000)]
Fix a typo; thanks to Al Sutton

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

23 years agoWork around DSA formatting bug in commercial-SSH 2.0.13
simon [Tue, 3 Oct 2000 09:05:56 +0000 (09:05 +0000)]
Work around DSA formatting bug in commercial-SSH 2.0.13

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

23 years agoAbility to specify a remote command in PuTTY proper
simon [Mon, 2 Oct 2000 15:22:41 +0000 (15:22 +0000)]
Ability to specify a remote command in PuTTY proper

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

23 years agoMake the new test suite's comment more accurate :-)
simon [Mon, 2 Oct 2000 13:57:41 +0000 (13:57 +0000)]
Make the new test suite's comment more accurate :-)

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

23 years agoLocal remove of first key in list wasn't working
simon [Mon, 2 Oct 2000 12:38:12 +0000 (12:38 +0000)]
Local remove of first key in list wasn't working

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

23 years agoAdd ability to configure the initial window title
simon [Mon, 2 Oct 2000 12:24:58 +0000 (12:24 +0000)]
Add ability to configure the initial window title

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

23 years agoDeletion case 2c can shift the root; case 3b is not the only case that
simon [Mon, 2 Oct 2000 11:47:30 +0000 (11:47 +0000)]
Deletion case 2c can shift the root; case 3b is not the only case that
can do that. The bad case happens when you have a root node containing
only one actual element, and its two child nodes have only one element
each, and you try to delete the element in the root.

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

23 years agoAdd trailing newline in tree234.h
simon [Mon, 2 Oct 2000 11:47:30 +0000 (11:47 +0000)]
Add trailing newline in tree234.h

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

23 years agoShiny new test harness for the 2-3-4 tree
simon [Mon, 2 Oct 2000 11:46:10 +0000 (11:46 +0000)]
Shiny new test harness for the 2-3-4 tree

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

23 years agoFurther restructuring
simon [Fri, 29 Sep 2000 15:56:33 +0000 (15:56 +0000)]
Further restructuring

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

23 years agoFix ssh2 after the rev 1.54 [r649] reorg broke it
simon [Fri, 29 Sep 2000 15:53:59 +0000 (15:53 +0000)]
Fix ssh2 after the rev 1.54 [r649] reorg broke it

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

23 years agoMake sure a locally entered login name still comes up in the pw prompt
simon [Fri, 29 Sep 2000 12:04:42 +0000 (12:04 +0000)]
Make sure a locally entered login name still comes up in the pw prompt

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

23 years agoOops - remove ugly debugging test pattern in cursor
simon [Fri, 29 Sep 2000 12:04:27 +0000 (12:04 +0000)]
Oops - remove ugly debugging test pattern in cursor

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

23 years agoTry to improve the caret usage
simon [Fri, 29 Sep 2000 10:32:07 +0000 (10:32 +0000)]
Try to improve the caret usage

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

23 years agoAdd -pw and -P options, and usage/version message, to plink
simon [Fri, 29 Sep 2000 08:56:30 +0000 (08:56 +0000)]
Add -pw and -P options, and usage/version message, to plink

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

23 years agoMinor restructuring to ssh.c in preparation for portability drive
simon [Fri, 29 Sep 2000 08:43:47 +0000 (08:43 +0000)]
Minor restructuring to ssh.c in preparation for portability drive

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

23 years agoAdd the About and Licence boxes to Pageant
simon [Fri, 29 Sep 2000 08:43:06 +0000 (08:43 +0000)]
Add the About and Licence boxes to Pageant

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

23 years agoFix a very old bug nobody ever noticed: multiple About boxes :-)
simon [Fri, 29 Sep 2000 08:42:55 +0000 (08:42 +0000)]
Fix a very old bug nobody ever noticed: multiple About boxes :-)

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

23 years agoDSS key format string was missing some commas
simon [Thu, 28 Sep 2000 11:05:43 +0000 (11:05 +0000)]
DSS key format string was missing some commas

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

23 years agoKeep parent pointers valid during deletion
simon [Thu, 28 Sep 2000 09:48:49 +0000 (09:48 +0000)]
Keep parent pointers valid during deletion

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

23 years agoRemove some spurious #includes
simon [Thu, 28 Sep 2000 08:37:10 +0000 (08:37 +0000)]
Remove some spurious #includes

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

23 years agoWhile we're doing a hostkey reorg, store port numbers as well
simon [Thu, 28 Sep 2000 08:37:10 +0000 (08:37 +0000)]
While we're doing a hostkey reorg, store port numbers as well

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

23 years agoFix small compilation problem in Pageant
simon [Thu, 28 Sep 2000 08:35:20 +0000 (08:35 +0000)]
Fix small compilation problem in Pageant

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

23 years agoRemove unnecessary DSS bit
simon [Wed, 27 Sep 2000 16:44:00 +0000 (16:44 +0000)]
Remove unnecessary DSS bit

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

23 years agoFinish creating the storage.h abstraction and winstore.c implementation
simon [Wed, 27 Sep 2000 16:21:52 +0000 (16:21 +0000)]
Finish creating the storage.h abstraction and winstore.c implementation

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

23 years agoRationalised host key storage. Also started code reorg: persistent-state
simon [Wed, 27 Sep 2000 15:21:04 +0000 (15:21 +0000)]
Rationalised host key storage. Also started code reorg: persistent-state
routines have been moved out into a replaceable module winstore.c.

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

23 years agoRemove the special hooks in ssh.c for pscp. pscp now uses the standard
simon [Wed, 27 Sep 2000 09:36:39 +0000 (09:36 +0000)]
Remove the special hooks in ssh.c for pscp. pscp now uses the standard
interface to the outside of the ssh module. This means pscp now works
without change in SSH2.

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

23 years agoImplement OpenSSH-compatible RSA key fingerprints and use them throughout
simon [Tue, 26 Sep 2000 14:26:21 +0000 (14:26 +0000)]
Implement OpenSSH-compatible RSA key fingerprints and use them throughout

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

23 years agoOops - free the key after removing it!
simon [Tue, 26 Sep 2000 13:31:15 +0000 (13:31 +0000)]
Oops - free the key after removing it!

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

23 years agoRemote addition and removal of keys in Pageant
simon [Tue, 26 Sep 2000 13:18:43 +0000 (13:18 +0000)]
Remote addition and removal of keys in Pageant

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

23 years agoAccelerators and wording change in Pageant systray menu
simon [Tue, 26 Sep 2000 12:54:43 +0000 (12:54 +0000)]
Accelerators and wording change in Pageant systray menu

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

23 years agoFix a segfault in agent forwarding code
simon [Tue, 26 Sep 2000 11:16:47 +0000 (11:16 +0000)]
Fix a segfault in agent forwarding code

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

23 years agoFix tree corruption in the "really easy" case on deletion
simon [Tue, 26 Sep 2000 11:16:33 +0000 (11:16 +0000)]
Fix tree corruption in the "really easy" case on deletion

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

23 years agoThe "Authenticated using key from agent" message is a verbose-only one
simon [Tue, 26 Sep 2000 10:06:05 +0000 (10:06 +0000)]
The "Authenticated using key from agent" message is a verbose-only one

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

23 years agoFix a small bug in 2-3-4 tree enumeration
simon [Tue, 26 Sep 2000 10:05:48 +0000 (10:05 +0000)]
Fix a small bug in 2-3-4 tree enumeration

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

23 years agoPageant should now not fail for lack of security APIs on 95-type platforms
simon [Tue, 26 Sep 2000 09:22:40 +0000 (09:22 +0000)]
Pageant should now not fail for lack of security APIs on 95-type platforms

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

23 years agoOops - puttytel now needs a stub random_destroy_seed() to compile
simon [Mon, 25 Sep 2000 16:25:12 +0000 (16:25 +0000)]
Oops - puttytel now needs a stub random_destroy_seed() to compile

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

23 years agoAdd an invisible System Caret for blind-helper-software to track
simon [Mon, 25 Sep 2000 16:17:53 +0000 (16:17 +0000)]
Add an invisible System Caret for blind-helper-software to track

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

23 years agoImplement "putty -cleanup"
simon [Mon, 25 Sep 2000 15:47:57 +0000 (15:47 +0000)]
Implement "putty -cleanup"

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

23 years agoRobert de Bath has a better alternative to revs 1.47/48 [r582,r583];
simon [Mon, 25 Sep 2000 11:11:46 +0000 (11:11 +0000)]
Robert de Bath has a better alternative to revs 1.47/48 [r582,r583];
back out those changes and commit the simpler version

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