1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
Commit Graph

1073 Commits

Author SHA1 Message Date
Simon Tatham
504c198e73 Deal with the appalling mouse pointer colours. (Why doesn't GTK let
us select our own mouse pointer fg and bg for standard pointers?
It's ludicrous that we can only do it for pixmap-derived ones. :-( )

[originally from svn r2035]
2002-10-13 12:17:03 +00:00
Simon Tatham
b4cf83ed6b Shift-Ins pastes.
[originally from svn r2034]
2002-10-13 11:27:39 +00:00
Simon Tatham
ffff6f32c7 Selection now supported in pterm. Required small modifications
outside the unix subdir, owing to more things needing to become
platform-dependent.

[originally from svn r2033]
2002-10-13 11:24:25 +00:00
Simon Tatham
b65b4e36f5 Fix underline, which I cleverly broke while adding support for the
window border. Oops.

[originally from svn r2032]
2002-10-13 09:57:07 +00:00
Simon Tatham
534c8b4c4a Scrollbar now exists and functions; so do Shift-PgUp / Shift-PgDn.
[originally from svn r2031]
2002-10-13 09:54:36 +00:00
Simon Tatham
11505ede49 The Great Defaults Change (and about time too)! SSH now defaults to
protocol 2, and background-colour erase now defaults to on.

[originally from svn r2030]
2002-10-13 08:56:58 +00:00
Jacob Nevins
71a97ab286 Initialise some members of the Proxy_Socket structure that were left
uninitialised. This problem only showed up with mingw builds of PuTTY
(maybe MSVCRT is more forgiving with malloc initialisation than CRTDLL?).
The 'error' field was causing me most trouble, and I think the other two
were necessary too before things started working.
Note however that I don't fully understand the code, and that there are
more uninitialised fields in the structure.

[originally from svn r2029]
2002-10-11 12:29:27 +00:00
Simon Tatham
5aee6cf2af Stop hard-coding a nonstandard font. We now default to `fixed', and
pick up the font's real width and height. This means I now _can't_
use my font of choice until I implement some command-line options; I
wonder what feature will appear next :-)

[originally from svn r2027]
2002-10-10 14:42:56 +00:00
Jacob Nevins
2074897dfe Update to reflect 0.53 release.
[originally from svn r2026]
2002-10-10 14:39:35 +00:00
Simon Tatham
33a54aaa8a And that's it! pty.c is now a real pty backend rather than a
loopback interface; pterm now runs $SHELL and gives every impression
of being not a bad terminal emulator. I'm quite pleased with that. :-)

[originally from svn r2015]
2002-10-10 12:40:05 +00:00
Simon Tatham
77096ce405 Half-decent keyboard handling for pterm. Not very well done - it
would have been better to abstract the general key-handling rules
away from the platform-specific keysyms rather than doing clone-
and-hack as I've done - but it'll serve for now. Now all I need is a
real pty back end and pterm should be a just-about-usable prototype.

[originally from svn r2013]
2002-10-10 12:14:05 +00:00
Simon Tatham
77a43c5d7a Temporary hack which makes vt100 line drawing work in the prototype
pterm.

[originally from svn r2012]
2002-10-10 11:33:46 +00:00
Simon Tatham
622f9b44f0 A sensible minimum of do_text() and do_cursor() is now implemented.
This means pterm actually _looks_ like the PuTTY terminal emulator
engine, instead of merely giving evidence to the expert eye that
said engine is hidden in there somewhere :-)

[originally from svn r2011]
2002-10-10 10:40:30 +00:00
Simon Tatham
6d0e9b205d First phase of porting. pterm now compiles and runs under Linux+gtk.
The current pty.c backend is temporarily a loopback device for
terminal emulator testing, the display handling is only just enough
to show that terminal.c is functioning, the keyboard handling is
laughable, and most features are absent. Next step: bring output and
input up to a plausibly working state, and put a real pty on the
back to create a vaguely usable prototype. Oh, and a scrollbar would
be nice too.
In _theory_ the Windows builds should still work fine after this...

[originally from svn r2010]
2002-10-09 18:09:42 +00:00
Simon Tatham
268213483c Oops. Dirsep in Makefile.cyg should be / not \.
[originally from svn r2004]
2002-10-07 22:21:28 +00:00
Jacob Nevins
8d5f7e293e Remove "-log" option from Plink. AFAICT this code has been dead since Roman
Pompejus' improved logging (Jan 2001).

[originally from svn r2000]
2002-10-07 17:43:07 +00:00
Jacob Nevins
01e1450870 Fix pscp-cmdline-port-bug for PSFTP too. (Also removes what appears to be a
gratuitous re-implementation of the "-l user" option.)

[originally from svn r1997]
2002-10-07 17:31:52 +00:00
Jacob Nevins
389c62fed4 Fix code which was clobbering people's -P arguments in PSCP (moved it to
before the deferred command line processing).
Also removed a couple of unused variables.

[originally from svn r1994]
2002-10-07 16:52:55 +00:00
Simon Tatham
64c52b0d30 Begin destabilisation in the wake of 0.53! This checkin contains the
beginning of a Unix port. It's nowhere near done, and currently it
won't even compile on Unix. But this represents the start of the
process of separating out platform-specific code, and also contains
the mkfiles.pl changes required to support a Unix makefile and a
non-flat source tree.

[originally from svn r1993]
2002-10-07 16:45:23 +00:00
Simon Tatham
ace232f5fa Remove last vestiges of `buggymac' in the Config structure. Might
have been cause of a Plink bug since it no longer got initialised.

[originally from svn r1986]
2002-10-01 18:30:15 +00:00
Simon Tatham
c031944e0a Bump the version number on the installer script.
[originally from svn r1985]
2002-10-01 17:27:54 +00:00
Simon Tatham
be71ff5568 Add a chapter explaining common error messages
[originally from svn r1984]
2002-10-01 16:27:36 +00:00
Simon Tatham
a394f20829 Add a new SSH2 bug: some servers apparently claim to be able to do
DH group exchange, but choke when you actually try it. Never
automatically enabled; manual control only.

[originally from svn r1982]
2002-09-26 18:37:33 +00:00
Simon Tatham
b2c7474747 Any application using non-modal dialogs must use IsDialogMessage in
its main message loop, otherwise keyboard accelerators will not work
in the dialogs. I MUST NOT FORGET THIS AGAIN.

[originally from svn r1981]
2002-09-26 18:01:21 +00:00
Simon Tatham
77475c7cdd If the user asks for the Pageant key list window and it's already
present, bring it to the front.

[originally from svn r1980]
2002-09-26 17:57:44 +00:00
Simon Tatham
d7b36aed7f Finish replacing Network error' with Proxy error' throughout proxy
code.

[originally from svn r1976]
2002-09-24 19:27:58 +00:00
Simon Tatham
8eae9c513a Add a missing space in an error message.
[originally from svn r1975]
2002-09-24 18:44:29 +00:00
Jacob Nevins
4baee2a8e8 Add context help support for Proxy panel
[originally from svn r1974]
2002-09-23 09:55:11 +00:00
Simon Tatham
e7e92ac22a Cleanups to proxy code: greater robustness in receiving proxy data,
better error reporting for SOCKS 5 and HTTP proxies.

[originally from svn r1973]
2002-09-21 16:52:21 +00:00
Simon Tatham
d33c200de1 Support username/password authentication in SOCKS 5.
[originally from svn r1972]
2002-09-21 16:07:43 +00:00
Simon Tatham
442a360fb2 Support username and password authentication when talking to HTTP
proxies.

[originally from svn r1971]
2002-09-21 14:03:05 +00:00
Simon Tatham
3006fa4f38 Update README to make it clear it's a _source_ README.
[originally from svn r1970]
2002-09-20 18:57:05 +00:00
Simon Tatham
5841424a87 Initial checkin of PuTTY installer script and associated files.
[originally from svn r1969]
2002-09-20 18:57:05 +00:00
Simon Tatham
79fa4f8cd6 Use memcpy rather than strncpy in sk_addrcopy! How did that happen?
[originally from svn r1968]
2002-09-20 17:54:17 +00:00
Simon Tatham
58238b10d3 Jordan Russell's mysterious workaround for an almost equally
mysterious Windows GDI bug. Looks unlikely to cause any other
trouble and it's pretty small, so it can go in.

[originally from svn r1963]
2002-09-15 22:18:02 +00:00
Simon Tatham
30e159d112 Be proactively pedantic about channel-close irregularities: we no
longer just sit there like a lemon if we can't find the channel in
question, we bomb out and complain. With any luck, remaining
problems of this type should be easier to catch under this policy.

[originally from svn r1962]
2002-09-15 13:31:11 +00:00
Simon Tatham
9b69e1b8aa Improvements to SSH1 channel close handling: track sending and
receiving of CLOSE and CLOSE_CONFIRMATION separately rather than
taking short cuts. I believe ssh-1.2.33 sending CLOSE_CONFIRMATION
before CLOSE was causing the remaining incidences of bug
`nonexistent-channel'. (ssh-1.2.33 appears to have unilaterally
decreed that CLOSE and CLOSE_CONFIRMATION are respectively renamed
INPUT_EOF and OUTPUT_CLOSING, hence there is no longer an ordering
constraint on them. Bah.)

[originally from svn r1961]
2002-09-15 13:24:00 +00:00
Simon Tatham
994aee285f Log file tinkering: copy Event Log entries into the SSH packet log,
so that when people send us a packet log they never forget to send
the Event Log alongside it :-)

[originally from svn r1960]
2002-09-15 13:21:32 +00:00
Jacob Nevins
9164a7b176 OpenSSH vs OpenSSL Q: mention older OpenSSH versions
[originally from svn r1958]
2002-09-14 10:24:27 +00:00
Jacob Nevins
9f9739602b Semi-bug "long-usernames":
Bump username storage from 32 to 100 chars. Also replaced a couple of magic
numbers with sizeof in ssh.c.
I don't believe this is going to startle any of the protocols PuTTY talks.

[originally from svn r1952]
2002-09-12 16:05:05 +00:00
Jacob Nevins
c7fa2f6183 Updated usage messages for command-line utilities to reflect new options.
Updated manual to reflect reality (e.g. usage messages, '-p port' not actually
  implemented, sprinkle references to '-i keyfile').
(I've put "Release 0.53" in the messages; let's hope this doesn't cause a
  flood of "where is 0.53?" email.)
I don't guarantee that the result is entirely sane and sensible in all
  respects, but it is at least consistent.

[originally from svn r1951]
2002-09-11 17:30:36 +00:00
Jacob Nevins
3711af9a53 Note about separate client-server and server-client encryption in SSH-2
[originally from svn r1949]
2002-09-10 12:30:45 +00:00
Simon Tatham
3391745d2d Introduce the Bugs control panel, for overriding PuTTY's server
version number checks to determine the presence or absence of server
bugs.

[originally from svn r1936]
2002-09-08 13:28:38 +00:00
Jacob Nevins
f9f2042ca2 Update to reflect the last batch of proxy stuff we got from Justin Bradford.
[originally from svn r1935]
2002-09-08 13:25:58 +00:00
Simon Tatham
b15be34edf Increase length limit on SSH1_MSG_DEBUG; 70 chars is short enough to
lose vital information in some existing servers' messages.

[originally from svn r1932]
2002-09-07 12:27:13 +00:00
Simon Tatham
6813094751 After trying a succession of tests on Jacob's machine, I think I've
finally isolated the _important_ difference between Romano Trampus's
working printing.c and my failing one: he ignores the error return
from the first exploratory how-big-does-my-buffer-need-to-be call to
EnumPrinters(), because not having enough buffer space counts as an
error condition. Hence I am officially a klutz, but this should now
work. (Also reverted ENUM_LEVEL to 1, again, because that seems to
be the choice of people whose code works.)

[originally from svn r1915]
2002-09-02 13:47:50 +00:00
Jacob Nevins
9ccb502c47 Convert from CRLF to Unix line endings -- no other change
[originally from svn r1914]
2002-09-02 13:32:37 +00:00
Jacob Nevins
0c59fb9bbd Mention PocketPC in the WinCE question. I'm not sure how similar WinCE and
PocketPC are, though -- perhaps it merits its own question. (Although I don't
know of anyone who's looked into it yet.)

[originally from svn r1913]
2002-09-02 13:04:46 +00:00
Simon Tatham
ddb06b3951 I'm rapidly running out of patience for trying all possible
combinations of options to EnumPrinters() to see which one works,
but here's another one tried at random for now. *sigh*

[originally from svn r1912]
2002-09-01 13:12:51 +00:00
Simon Tatham
c24016e0da Add BUG_SSH2_DERIVEKEY, present (according to OpenSSH) in ssh.com
versions 2.0.*, and causing the shared secret not to be included in
key derivation hashes. (This doesn't quite cause a blatant security
hole because the session ID - _derived_ from the shared secret - is
still included.)

[originally from svn r1853]
2002-08-18 09:27:15 +00:00