simon [Thu, 26 Oct 2000 08:25:43 +0000 (08:25 +0000)]
Fix a segfault (addr->error was unpredictable following a dotted-dec lookup)
git-svn-id: svn://svn.tartarus.org/sgt/putty@768
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 25 Oct 2000 14:29:28 +0000 (14:29 +0000)]
Impose a lower limit of 256 on key lengths. This is mostly because
the primegen() function doesn't work well with <100 bits, so RSA
keys need to be >=200 to be generated correctly, and I thought 256
was a nice round number beyond that just to be sure. Perhaps I
should also have a security warning on any key less than 768; or
perhaps I should let people shoot themselves in the feet if they
really want to.
git-svn-id: svn://svn.tartarus.org/sgt/putty@767
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 25 Oct 2000 14:20:47 +0000 (14:20 +0000)]
Gaaah, I might have known. Split combined app cursor / app keypad
disablement option into two options so the app cursor keys and app
keypad can be controlled separately. The Pedantic Software Award in
this case goes to the Midnight Commander for its egregious failure
to just use the terminal in Perfectly Normal mode.
git-svn-id: svn://svn.tartarus.org/sgt/putty@766
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 25 Oct 2000 10:25:10 +0000 (10:25 +0000)]
Be more sure that state->collecting_entropy can't be spuriously set
git-svn-id: svn://svn.tartarus.org/sgt/putty@765
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 25 Oct 2000 08:23:41 +0000 (08:23 +0000)]
Fix control ID bug causing rogue Appearance title bars in other panels
git-svn-id: svn://svn.tartarus.org/sgt/putty@764
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 25 Oct 2000 06:59:25 +0000 (06:59 +0000)]
Reintroduce random_stir()
git-svn-id: svn://svn.tartarus.org/sgt/putty@763
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 25 Oct 2000 06:57:36 +0000 (06:57 +0000)]
Enhance Diffie-Hellman implementation to use bignum_cmp
git-svn-id: svn://svn.tartarus.org/sgt/putty@762
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 21:43:39 +0000 (21:43 +0000)]
Fix another bignum formatting problem. This one hit Diffie-Hellmann
git-svn-id: svn://svn.tartarus.org/sgt/putty@761
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 13:49:23 +0000 (13:49 +0000)]
Add configurable option to disable application keypad/cursor keys totally
git-svn-id: svn://svn.tartarus.org/sgt/putty@760
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 13:40:19 +0000 (13:40 +0000)]
Add a couple of ellipses in system menu
git-svn-id: svn://svn.tartarus.org/sgt/putty@759
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 13:39:21 +0000 (13:39 +0000)]
Remove a rogue diagnostic
git-svn-id: svn://svn.tartarus.org/sgt/putty@758
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 13:38:27 +0000 (13:38 +0000)]
Add the Appearance panel and reorganise things a bit
git-svn-id: svn://svn.tartarus.org/sgt/putty@757
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 11:16:25 +0000 (11:16 +0000)]
Fix failure to re-enable local line discipline when TELOPT_ECHO is
turned _back off_ by the remote server. (server sends WONT)
git-svn-id: svn://svn.tartarus.org/sgt/putty@756
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 10:47:49 +0000 (10:47 +0000)]
Fix miscellaneous compiler warnings. Thanks to Jacob Nevins
git-svn-id: svn://svn.tartarus.org/sgt/putty@755
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 09:55:45 +0000 (09:55 +0000)]
SSH2 connections weren't closing cleanly after socket revamp. Fixed.
git-svn-id: svn://svn.tartarus.org/sgt/putty@754
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 24 Oct 2000 09:49:03 +0000 (09:49 +0000)]
Window resizing wasn't working in SSH2
git-svn-id: svn://svn.tartarus.org/sgt/putty@753
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 16:11:31 +0000 (16:11 +0000)]
Make the frankly ridiculous prototypes for modpow() and modmul() more sane
git-svn-id: svn://svn.tartarus.org/sgt/putty@752
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 16:03:21 +0000 (16:03 +0000)]
Update DSS implementation to use new bignum routines
git-svn-id: svn://svn.tartarus.org/sgt/putty@751
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 15:20:05 +0000 (15:20 +0000)]
Improved entropy gathering.
git-svn-id: svn://svn.tartarus.org/sgt/putty@750
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 15:18:37 +0000 (15:18 +0000)]
Fix a bug which was causing occasional failed-host-key-check
messages. Also left some diagnostics in, under #if 0, so that next
time this happens it'll be easier to debug.
git-svn-id: svn://svn.tartarus.org/sgt/putty@749
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 12:31:54 +0000 (12:31 +0000)]
Oops. A field like `sending_oob' in the Socket structure really
deserves to be initialised to something sane at creation time.
git-svn-id: svn://svn.tartarus.org/sgt/putty@748
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 12:20:53 +0000 (12:20 +0000)]
Plink and PSCP were failing to load the `Default Settings' options
when connecting to an arbitrary hostname. In particular, setting a
default user name didn't work. Now it does.
git-svn-id: svn://svn.tartarus.org/sgt/putty@747
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 11:57:41 +0000 (11:57 +0000)]
Remove the NO_SECURITY define I accidentally copied from Pageant
git-svn-id: svn://svn.tartarus.org/sgt/putty@746
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 11:55:11 +0000 (11:55 +0000)]
Created a shiny new abstraction for the socket handling. Has many
advantages:
- protocol modules can call sk_write() without having to worry
about writes blocking, because blocking writes are handled in the
abstraction layer and retried later.
- `Lost connection while sending' is a thing of the past.
- <winsock.h> is no longer needed in most modules, because
"putty.h" doesn't have to declare `SOCKET' variables any more,
only the abstracted `Socket' type.
- select()-equivalent between multiple sockets will now be handled
sensibly, which opens the way for things like SSH port
forwarding.
git-svn-id: svn://svn.tartarus.org/sgt/putty@745
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 23 Oct 2000 10:32:37 +0000 (10:32 +0000)]
Created a shiny new abstraction for the socket handling. Has many
advantages:
- protocol modules can call sk_write() without having to worry
about writes blocking, because blocking writes are handled in the
abstraction layer and retried later.
- `Lost connection while sending' is a thing of the past.
- <winsock.h> is no longer needed in most modules, because
"putty.h" doesn't have to declare `SOCKET' variables any more,
only the abstracted `Socket' type.
- select()-equivalent between multiple sockets will now be handled
sensibly, which opens the way for things like SSH port
forwarding.
git-svn-id: svn://svn.tartarus.org/sgt/putty@744
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 21 Oct 2000 17:52:54 +0000 (17:52 +0000)]
Ooh. Actually, that vulnerability is further-reaching than I
thought. As well as the ".." attack in recursive copies, the name
sent by the client was also trusted in a single-file implicit-
destination copy such as "pscp host:foo .". (The result was ./foo,
where foo is what the server claimed the file was rather than what
the user asked for. I think it's not unreasonable that if the user
requests file `foo' from the host, he should get the result in a
file called `foo' no matter what the host thinks.)
git-svn-id: svn://svn.tartarus.org/sgt/putty@743
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 21 Oct 2000 17:36:44 +0000 (17:36 +0000)]
Fix a potential vulnerability in incoming `pscp -r'. The server
sends filenames of things in the directory being copied. A malicious
server could have sent, for example, "..\..\windows\system\foo.dll"
and overwritten something crucial. The filenames are now vetted to
ensure they don't contain slashes or backslashes.
git-svn-id: svn://svn.tartarus.org/sgt/putty@742
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 21 Oct 2000 16:30:58 +0000 (16:30 +0000)]
Three new configurable options:
- Robert de Bath's Compose key is now off by default and configurable on
- The ages-old controversy over whether ALT by itself should bring the
System menu up is now controllable by a config option
- You can now independently configure whether scrollback resets on a
keypress _and_ whether it resets on screen activity.
git-svn-id: svn://svn.tartarus.org/sgt/putty@741
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 20 Oct 2000 18:36:15 +0000 (18:36 +0000)]
Chinese support patch from zmx@cdpa.nsysu.edu.tw
git-svn-id: svn://svn.tartarus.org/sgt/putty@740
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 20 Oct 2000 17:57:47 +0000 (17:57 +0000)]
Remember to close key files when rsakey_encrypted meets a bogus one
git-svn-id: svn://svn.tartarus.org/sgt/putty@739
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 20 Oct 2000 15:20:53 +0000 (15:20 +0000)]
Put back the code that ensures "Default Settings" is always in the
session list even if it isn't in the Registry. This got deleted
overenthusiastically because I didn't have a comment explaining what
it was doing there. Now there's a comment, so I probably won't
remove it again.
git-svn-id: svn://svn.tartarus.org/sgt/putty@733
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 20 Oct 2000 15:09:56 +0000 (15:09 +0000)]
Rename "Stored Sessions" to "Saved Sessions" for consistency
git-svn-id: svn://svn.tartarus.org/sgt/putty@732
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 20 Oct 2000 15:09:35 +0000 (15:09 +0000)]
Some better IDC_* names for the controls on the Colours panel
git-svn-id: svn://svn.tartarus.org/sgt/putty@731
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 20 Oct 2000 14:45:16 +0000 (14:45 +0000)]
Add the LBS_NOTIFY style to the list box in colouredit(), which was
vital to it working right
git-svn-id: svn://svn.tartarus.org/sgt/putty@730
cda61777-01e9-0310-a592-
d414129be87e
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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