]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
21 years agoAdd newline at EOF in uxucs.c. Thanks Richard. :-)
Simon Tatham [Tue, 15 Oct 2002 16:52:45 +0000 (16:52 +0000)]
Add newline at EOF in uxucs.c. Thanks Richard. :-)

[originally from svn r2070]

21 years agoSupport scrolling with the mouse wheel (X servers apparently usually
Simon Tatham [Tue, 15 Oct 2002 16:50:42 +0000 (16:50 +0000)]
Support scrolling with the mouse wheel (X servers apparently usually
send a button 4 press for an upward wheel movement and a button 5
press for a downward one). Untested since my own trackball's button
4 does nothing obvious. Someone with a mouse wheel should give this
a workout.

[originally from svn r2069]

21 years agoFixes to terminal.c to support blinking and visual bells under Unix.
Simon Tatham [Tue, 15 Oct 2002 16:40:22 +0000 (16:40 +0000)]
Fixes to terminal.c to support blinking and visual bells under Unix.

[originally from svn r2068]

21 years agoSupport for blinking text and blinking cursor. Won't actually be
Simon Tatham [Tue, 15 Oct 2002 16:38:10 +0000 (16:38 +0000)]
Support for blinking text and blinking cursor. Won't actually be
accessible until there's a way to configure it on, but it worked in
tests.

[originally from svn r2067]

21 years agoUse the appalling gnome-terminal hack for server-controlled resizes
Simon Tatham [Tue, 15 Oct 2002 16:24:42 +0000 (16:24 +0000)]
Use the appalling gnome-terminal hack for server-controlled resizes
rather than the gtk_window_set_policy approach; the GNOME people say
that the former is the Right Thing in spite of the latter looking
obviously plausible.

[originally from svn r2066]

21 years agoRemove some rogue diagnostics.
Simon Tatham [Tue, 15 Oct 2002 15:44:23 +0000 (15:44 +0000)]
Remove some rogue diagnostics.

[originally from svn r2065]

21 years agoDon't forget to initialise the pixel size parameters of the window
Simon Tatham [Tue, 15 Oct 2002 15:16:21 +0000 (15:16 +0000)]
Don't forget to initialise the pixel size parameters of the window
as passed to the pty...

[originally from svn r2064]

21 years agoRichard's patch to fix `make clean' under Unix.
Simon Tatham [Tue, 15 Oct 2002 14:58:02 +0000 (14:58 +0000)]
Richard's patch to fix `make clean' under Unix.

[originally from svn r2063]

21 years agoRichard's patch to make the scrollbar configurably absent. (Still
Simon Tatham [Tue, 15 Oct 2002 14:55:19 +0000 (14:55 +0000)]
Richard's patch to make the scrollbar configurably absent. (Still
want a new option to configure it to be on the LHS though. And some
lunatic is bound to ask for an xterm-style scrollbar too... :-)

[originally from svn r2062]

21 years agoSupport for all the server-side window configuration requests,
Simon Tatham [Tue, 15 Oct 2002 14:31:06 +0000 (14:31 +0000)]
Support for all the server-side window configuration requests,
including server-controlled resizing. Irritatingly I've had to use a
deprecated option to gtk_window_set_policy() to make this work,
resulting in me raising GNOME bug #95818 to ask for it to be un-
deprecated again...

[originally from svn r2061]

21 years agoIntroduce the ability to control whether the shell run in pterm is a
Simon Tatham [Tue, 15 Oct 2002 13:07:18 +0000 (13:07 +0000)]
Introduce the ability to control whether the shell run in pterm is a
login shell or not. Also moved these new pieces of configuration
into the Config structure, though they won't stay there forever
since they will need to be moved out into platform-dependent config.

[originally from svn r2060]

21 years agoFinish up utmp processing: add the -ut- command-line option to
Simon Tatham [Tue, 15 Oct 2002 12:42:58 +0000 (12:42 +0000)]
Finish up utmp processing: add the -ut- command-line option to
suppress stamping it at all. (I suppose this ought to be part of the
cfg structure really.)

[originally from svn r2059]

21 years agoSupport for utmp, wtmp and lastlog. Probably not terribly portable
Simon Tatham [Tue, 15 Oct 2002 12:29:52 +0000 (12:29 +0000)]
Support for utmp, wtmp and lastlog. Probably not terribly portable
as yet, but seems to work plausibly on Linux.

[originally from svn r2058]

21 years agoDeal with the warnings generated when passing a pointer-to-enum to
Simon Tatham [Tue, 15 Oct 2002 10:52:13 +0000 (10:52 +0000)]
Deal with the warnings generated when passing a pointer-to-enum to
gppi as a pointer-to-int.

[originally from svn r2057]

21 years agoSupport for BSD-style pty devices. Tested under Linux; might need
Simon Tatham [Tue, 15 Oct 2002 10:49:38 +0000 (10:49 +0000)]
Support for BSD-style pty devices. Tested under Linux; might need
minor tweaks to run under other BSD-style OSes.

[originally from svn r2056]

21 years agoTrim wide text properly at the RH edge of the screen.
Simon Tatham [Tue, 15 Oct 2002 09:30:16 +0000 (09:30 +0000)]
Trim wide text properly at the RH edge of the screen.

[originally from svn r2055]

21 years agoSupport for line attributes: ESC #3, #4 and #6 for double-width and
Simon Tatham [Tue, 15 Oct 2002 00:22:48 +0000 (00:22 +0000)]
Support for line attributes: ESC #3, #4 and #6 for double-width and
double-height text.

[originally from svn r2054]

21 years agoDon't cause the mouse pointer to reappear just because it's changed
Simon Tatham [Mon, 14 Oct 2002 23:39:07 +0000 (23:39 +0000)]
Don't cause the mouse pointer to reappear just because it's changed
shape.

[originally from svn r2053]

21 years agoOnly engage a GTK idle function when absolutely necessary, otherwise
Simon Tatham [Mon, 14 Oct 2002 23:32:00 +0000 (23:32 +0000)]
Only engage a GTK idle function when absolutely necessary, otherwise
the whole app spins on it and takes up CPU all the time.

[originally from svn r2052]

21 years agoSet up the palette _before_ trying to paint the window black.
Simon Tatham [Mon, 14 Oct 2002 22:14:54 +0000 (22:14 +0000)]
Set up the palette _before_ trying to paint the window black.

[originally from svn r2051]

21 years agoAdd the -log option, which activates full session logging. Should be
Simon Tatham [Mon, 14 Oct 2002 10:33:34 +0000 (10:33 +0000)]
Add the -log option, which activates full session logging. Should be
handy next time I need to debug any weird terminal problems...

[originally from svn r2050]

21 years agoBell overload was working in principle, but wasn't scaled to Unix's
Simon Tatham [Mon, 14 Oct 2002 10:29:50 +0000 (10:29 +0000)]
Bell overload was working in principle, but wasn't scaled to Unix's
greater time resolution. Oops.

[originally from svn r2049]

21 years agoSupport server requests for colour palette changes.
Simon Tatham [Mon, 14 Oct 2002 10:21:35 +0000 (10:21 +0000)]
Support server requests for colour palette changes.

[originally from svn r2048]

21 years agoDon't forget to call term_paste() when we get the chance, or big
Simon Tatham [Mon, 14 Oct 2002 10:14:12 +0000 (10:14 +0000)]
Don't forget to call term_paste() when we get the chance, or big
pastes won't go through. (Not sure whether I should remove this
weird behaviour completely for pterm. It's a bit bizarre.)

[originally from svn r2047]

21 years agoSupport NetHack keypad mode. :-)
Simon Tatham [Mon, 14 Oct 2002 10:06:07 +0000 (10:06 +0000)]
Support NetHack keypad mode. :-)

[originally from svn r2046]

21 years agoSupport for hiding the mouse pointer on keypresses. Currently
Simon Tatham [Mon, 14 Oct 2002 09:58:27 +0000 (09:58 +0000)]
Support for hiding the mouse pointer on keypresses. Currently
activated by `-hide' on the command line.

[originally from svn r2045]

21 years agoxterm-class programs should exit when their primary child process
Simon Tatham [Mon, 14 Oct 2002 09:18:34 +0000 (09:18 +0000)]
xterm-class programs should exit when their primary child process
dies, rather than waiting around until the last open handle on the
pty closes.

[originally from svn r2044]

21 years agoSEL_NL is different between Windows and Unix; move it out into the
Simon Tatham [Mon, 14 Oct 2002 09:06:31 +0000 (09:06 +0000)]
SEL_NL is different between Windows and Unix; move it out into the
platform-specific header files.

[originally from svn r2043]

21 years agoOops. Defining max() the wrong way round was breaking rect select.
Simon Tatham [Mon, 14 Oct 2002 09:04:23 +0000 (09:04 +0000)]
Oops. Defining max() the wrong way round was breaking rect select.

[originally from svn r2042]

21 years agoVarious faffs in the pty allocation process to get controlling
Simon Tatham [Mon, 14 Oct 2002 08:56:55 +0000 (08:56 +0000)]
Various faffs in the pty allocation process to get controlling
terminals right. Irritatingly this was working when run from another
[xsp]term but not when run from my GNOME panel. I think it's now
more robust.

[originally from svn r2041]

21 years agoWindow title configurability: -T to set it from the command line,
Simon Tatham [Mon, 14 Oct 2002 00:05:37 +0000 (00:05 +0000)]
Window title configurability: -T to set it from the command line,
support for the xterm escape sequences to set it, and support for
the xterm escape sequence to query it.

[originally from svn r2040]

21 years agoDon't forget to set $TERM when we spawn the pty. Of course I haven't
Simon Tatham [Sun, 13 Oct 2002 23:57:40 +0000 (23:57 +0000)]
Don't forget to set $TERM when we spawn the pty. Of course I haven't
noticed this until now because I've always been spawning it _from_
another xterm! :-)

[originally from svn r2039]

21 years agognome-terminal insists on receiving the selection as COMPOUND_TEXT
Simon Tatham [Sun, 13 Oct 2002 23:48:31 +0000 (23:48 +0000)]
gnome-terminal insists on receiving the selection as COMPOUND_TEXT
rather than STRING, so we can now supply that too. Pasting both ways
between pterm and gnome-terminal now works.

[originally from svn r2038]

21 years agoAdded two simple command-line arguments: -fn (so I can have my Font
Simon Tatham [Sun, 13 Oct 2002 12:54:17 +0000 (12:54 +0000)]
Added two simple command-line arguments: -fn (so I can have my Font
Of Choice back :-) and -e to run a command other than $SHELL.

[originally from svn r2037]

21 years agoResizing of pterm now works, and the size information is correctly
Simon Tatham [Sun, 13 Oct 2002 12:44:01 +0000 (12:44 +0000)]
Resizing of pterm now works, and the size information is correctly
sent on to the pty.

[originally from svn r2036]

21 years agoDeal with the appalling mouse pointer colours. (Why doesn't GTK let
Simon Tatham [Sun, 13 Oct 2002 12:17:03 +0000 (12:17 +0000)]
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]

21 years agoShift-Ins pastes.
Simon Tatham [Sun, 13 Oct 2002 11:27:39 +0000 (11:27 +0000)]
Shift-Ins pastes.

[originally from svn r2034]

21 years agoSelection now supported in pterm. Required small modifications
Simon Tatham [Sun, 13 Oct 2002 11:24:25 +0000 (11:24 +0000)]
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]

21 years agoFix underline, which I cleverly broke while adding support for the
Simon Tatham [Sun, 13 Oct 2002 09:57:07 +0000 (09:57 +0000)]
Fix underline, which I cleverly broke while adding support for the
window border. Oops.

[originally from svn r2032]

21 years agoScrollbar now exists and functions; so do Shift-PgUp / Shift-PgDn.
Simon Tatham [Sun, 13 Oct 2002 09:54:36 +0000 (09:54 +0000)]
Scrollbar now exists and functions; so do Shift-PgUp / Shift-PgDn.

[originally from svn r2031]

21 years agoThe Great Defaults Change (and about time too)! SSH now defaults to
Simon Tatham [Sun, 13 Oct 2002 08:56:58 +0000 (08:56 +0000)]
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]

21 years agoInitialise some members of the Proxy_Socket structure that were left
Jacob Nevins [Fri, 11 Oct 2002 12:29:27 +0000 (12:29 +0000)]
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]

21 years agoStop hard-coding a nonstandard font. We now default to `fixed', and
Simon Tatham [Thu, 10 Oct 2002 14:42:56 +0000 (14:42 +0000)]
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]

21 years agoUpdate to reflect 0.53 release.
Jacob Nevins [Thu, 10 Oct 2002 14:39:35 +0000 (14:39 +0000)]
Update to reflect 0.53 release.

[originally from svn r2026]

21 years agoAnd that's it! pty.c is now a real pty backend rather than a
Simon Tatham [Thu, 10 Oct 2002 12:40:05 +0000 (12:40 +0000)]
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]

21 years agoHalf-decent keyboard handling for pterm. Not very well done - it
Simon Tatham [Thu, 10 Oct 2002 12:14:05 +0000 (12:14 +0000)]
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]

21 years agoTemporary hack which makes vt100 line drawing work in the prototype
Simon Tatham [Thu, 10 Oct 2002 11:33:46 +0000 (11:33 +0000)]
Temporary hack which makes vt100 line drawing work in the prototype
pterm.

[originally from svn r2012]

21 years agoA sensible minimum of do_text() and do_cursor() is now implemented.
Simon Tatham [Thu, 10 Oct 2002 10:40:30 +0000 (10:40 +0000)]
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]

21 years agoFirst phase of porting. pterm now compiles and runs under Linux+gtk.
Simon Tatham [Wed, 9 Oct 2002 18:09:42 +0000 (18:09 +0000)]
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]

21 years agoOops. Dirsep in Makefile.cyg should be / not \.
Simon Tatham [Mon, 7 Oct 2002 22:21:28 +0000 (22:21 +0000)]
Oops. Dirsep in Makefile.cyg should be / not \.

[originally from svn r2004]

21 years agoRemove "-log" option from Plink. AFAICT this code has been dead since Roman
Jacob Nevins [Mon, 7 Oct 2002 17:43:07 +0000 (17:43 +0000)]
Remove "-log" option from Plink. AFAICT this code has been dead since Roman
Pompejus' improved logging (Jan 2001).

[originally from svn r2000]

21 years agoFix pscp-cmdline-port-bug for PSFTP too. (Also removes what appears to be a
Jacob Nevins [Mon, 7 Oct 2002 17:31:52 +0000 (17:31 +0000)]
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]

21 years agoFix code which was clobbering people's -P arguments in PSCP (moved it to
Jacob Nevins [Mon, 7 Oct 2002 16:52:55 +0000 (16:52 +0000)]
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]

21 years agoBegin destabilisation in the wake of 0.53! This checkin contains the
Simon Tatham [Mon, 7 Oct 2002 16:45:23 +0000 (16:45 +0000)]
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]

21 years agoRemove last vestiges of `buggymac' in the Config structure. Might 0.53
Simon Tatham [Tue, 1 Oct 2002 18:30:15 +0000 (18:30 +0000)]
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]

21 years agoBump the version number on the installer script.
Simon Tatham [Tue, 1 Oct 2002 17:27:54 +0000 (17:27 +0000)]
Bump the version number on the installer script.

[originally from svn r1985]

21 years agoAdd a chapter explaining common error messages
Simon Tatham [Tue, 1 Oct 2002 16:27:36 +0000 (16:27 +0000)]
Add a chapter explaining common error messages

[originally from svn r1984]

21 years agoAdd a new SSH2 bug: some servers apparently claim to be able to do
Simon Tatham [Thu, 26 Sep 2002 18:37:33 +0000 (18:37 +0000)]
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]

21 years agoAny application using non-modal dialogs must use IsDialogMessage in
Simon Tatham [Thu, 26 Sep 2002 18:01:21 +0000 (18:01 +0000)]
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]

21 years agoIf the user asks for the Pageant key list window and it's already
Simon Tatham [Thu, 26 Sep 2002 17:57:44 +0000 (17:57 +0000)]
If the user asks for the Pageant key list window and it's already
present, bring it to the front.

[originally from svn r1980]

21 years agoFinish replacing `Network error' with `Proxy error' throughout proxy
Simon Tatham [Tue, 24 Sep 2002 19:27:58 +0000 (19:27 +0000)]
Finish replacing `Network error' with `Proxy error' throughout proxy
code.

[originally from svn r1976]

21 years agoAdd a missing space in an error message.
Simon Tatham [Tue, 24 Sep 2002 18:44:29 +0000 (18:44 +0000)]
Add a missing space in an error message.

[originally from svn r1975]

21 years agoAdd context help support for Proxy panel
Jacob Nevins [Mon, 23 Sep 2002 09:55:11 +0000 (09:55 +0000)]
Add context help support for Proxy panel

[originally from svn r1974]

21 years agoCleanups to proxy code: greater robustness in receiving proxy data,
Simon Tatham [Sat, 21 Sep 2002 16:52:21 +0000 (16:52 +0000)]
Cleanups to proxy code: greater robustness in receiving proxy data,
better error reporting for SOCKS 5 and HTTP proxies.

[originally from svn r1973]

21 years agoSupport username/password authentication in SOCKS 5.
Simon Tatham [Sat, 21 Sep 2002 16:07:43 +0000 (16:07 +0000)]
Support username/password authentication in SOCKS 5.

[originally from svn r1972]

21 years agoSupport username and password authentication when talking to HTTP
Simon Tatham [Sat, 21 Sep 2002 14:03:05 +0000 (14:03 +0000)]
Support username and password authentication when talking to HTTP
proxies.

[originally from svn r1971]

21 years agoUpdate README to make it clear it's a _source_ README.
Simon Tatham [Fri, 20 Sep 2002 18:57:05 +0000 (18:57 +0000)]
Update README to make it clear it's a _source_ README.

[originally from svn r1970]

21 years agoInitial checkin of PuTTY installer script and associated files.
Simon Tatham [Fri, 20 Sep 2002 18:57:05 +0000 (18:57 +0000)]
Initial checkin of PuTTY installer script and associated files.

[originally from svn r1969]

21 years agoUse memcpy rather than strncpy in sk_addrcopy! How did that happen?
Simon Tatham [Fri, 20 Sep 2002 17:54:17 +0000 (17:54 +0000)]
Use memcpy rather than strncpy in sk_addrcopy! How did that happen?

[originally from svn r1968]

21 years agoJordan Russell's mysterious workaround for an almost equally
Simon Tatham [Sun, 15 Sep 2002 22:18:02 +0000 (22:18 +0000)]
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]

21 years agoBe proactively pedantic about channel-close irregularities: we no
Simon Tatham [Sun, 15 Sep 2002 13:31:11 +0000 (13:31 +0000)]
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]

21 years agoImprovements to SSH1 channel close handling: track sending and
Simon Tatham [Sun, 15 Sep 2002 13:24:00 +0000 (13:24 +0000)]
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]

21 years agoLog file tinkering: copy Event Log entries into the SSH packet log,
Simon Tatham [Sun, 15 Sep 2002 13:21:32 +0000 (13:21 +0000)]
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]

21 years agoOpenSSH vs OpenSSL Q: mention older OpenSSH versions
Jacob Nevins [Sat, 14 Sep 2002 10:24:27 +0000 (10:24 +0000)]
OpenSSH vs OpenSSL Q: mention older OpenSSH versions

[originally from svn r1958]

21 years agoSemi-bug "long-usernames":
Jacob Nevins [Thu, 12 Sep 2002 16:05:05 +0000 (16:05 +0000)]
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]

21 years agoUpdated usage messages for command-line utilities to reflect new options.
Jacob Nevins [Wed, 11 Sep 2002 17:30:36 +0000 (17:30 +0000)]
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]

21 years agoNote about separate client-server and server-client encryption in SSH-2
Jacob Nevins [Tue, 10 Sep 2002 12:30:45 +0000 (12:30 +0000)]
Note about separate client-server and server-client encryption in SSH-2

[originally from svn r1949]

21 years agoIntroduce the Bugs control panel, for overriding PuTTY's server
Simon Tatham [Sun, 8 Sep 2002 13:28:38 +0000 (13:28 +0000)]
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]

21 years agoUpdate to reflect the last batch of proxy stuff we got from Justin Bradford.
Jacob Nevins [Sun, 8 Sep 2002 13:25:58 +0000 (13:25 +0000)]
Update to reflect the last batch of proxy stuff we got from Justin Bradford.

[originally from svn r1935]

21 years agoIncrease length limit on SSH1_MSG_DEBUG; 70 chars is short enough to
Simon Tatham [Sat, 7 Sep 2002 12:27:13 +0000 (12:27 +0000)]
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]

21 years agoAfter trying a succession of tests on Jacob's machine, I think I've
Simon Tatham [Mon, 2 Sep 2002 13:47:50 +0000 (13:47 +0000)]
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]

21 years agoConvert from CRLF to Unix line endings -- no other change
Jacob Nevins [Mon, 2 Sep 2002 13:32:37 +0000 (13:32 +0000)]
Convert from CRLF to Unix line endings -- no other change

[originally from svn r1914]

21 years agoMention PocketPC in the WinCE question. I'm not sure how similar WinCE and
Jacob Nevins [Mon, 2 Sep 2002 13:04:46 +0000 (13:04 +0000)]
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]

21 years agoI'm rapidly running out of patience for trying all possible
Simon Tatham [Sun, 1 Sep 2002 13:12:51 +0000 (13:12 +0000)]
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]

21 years agoAdd BUG_SSH2_DERIVEKEY, present (according to OpenSSH) in ssh.com
Simon Tatham [Sun, 18 Aug 2002 09:27:15 +0000 (09:27 +0000)]
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]

21 years agoIn SSH2, if decrypting the packet length gave us a negative value,
Simon Tatham [Sun, 18 Aug 2002 09:10:17 +0000 (09:10 +0000)]
In SSH2, if decrypting the packet length gave us a negative value,
subsequent packet-receiver code would fail to notice anything was
wrong and segfault. Since this is clearly a silly packet length
anyway, we now explicitly reject it as a daft encryption error.

[originally from svn r1852]

21 years agoChanged wording of OpenSSH vs bad OpenSSL FAQ so that it's more obvious it
Jacob Nevins [Thu, 15 Aug 2002 14:59:48 +0000 (14:59 +0000)]
Changed wording of OpenSSH vs bad OpenSSL FAQ so that it's more obvious it
applies to 3.4p1.

[originally from svn r1847]

21 years agoAlter the Feedback page, so that instead of saying `at some point we
Simon Tatham [Mon, 12 Aug 2002 14:08:55 +0000 (14:08 +0000)]
Alter the Feedback page, so that instead of saying `at some point we
plan to start blocking executable attachments' it now says we _do_
block executable attachments. :-)

[originally from svn r1841]

21 years agoFinal fixes to keyboard-interactive so it now works with packets
Simon Tatham [Sun, 11 Aug 2002 13:02:01 +0000 (13:02 +0000)]
Final fixes to keyboard-interactive so it now works with packets
containing more than one prompt instead of less than one, and also
correctly enables echo on prompts that the server requests it for.
In the process I've moved the whole username/password input routine
out into its own function, where it's called independently of which
SSH protocol we're using, so this should even have _saved_ code
size. Rock!

[originally from svn r1830]

21 years agoAnecdotal evidence suggests that a single EnumPrinters() call
Simon Tatham [Sun, 11 Aug 2002 12:17:25 +0000 (12:17 +0000)]
Anecdotal evidence suggests that a single EnumPrinters() call
specifying both PRINTER_ENUM_LOCAL and PRINTER_ENUM_CONNECTIONS
catches more printers in some circumstances than two EnumPrinters()
calls each specifying just one of them. We'll try it for a bit; if
it goes wrong I might have to put back the two original calls as
well and sort out some means of removing duplicate printers from the
list.

[originally from svn r1829]

21 years agoActually, VirtualLock() looks better as \cw{} not \c{}.
Simon Tatham [Fri, 9 Aug 2002 09:14:04 +0000 (09:14 +0000)]
Actually, VirtualLock() looks better as \cw{} not \c{}.

[originally from svn r1826]

21 years agoAdd two more FAQs: `why don't you use VirtualLock()' and `are you
Simon Tatham [Fri, 9 Aug 2002 09:11:09 +0000 (09:11 +0000)]
Add two more FAQs: `why don't you use VirtualLock()' and `are you
based on OpenSSH'.

[originally from svn r1825]

21 years agossh.com 3.2.0 uses zlib sync flush (start and close an empty
Simon Tatham [Thu, 8 Aug 2002 17:03:58 +0000 (17:03 +0000)]
ssh.com 3.2.0 uses zlib sync flush (start and close an empty
uncompressed block at the end of each compressed packet) which we
were embarrassingly unable to deal with because we assumed every
uncompressed block contained at least one byte. Particularly silly
because I _knew_ about the existence of sync flush when I coded this
module. Arrgh. Still, now fixed.

[originally from svn r1824]

21 years agoDocument all the new command-line stuff.
Simon Tatham [Wed, 7 Aug 2002 19:20:06 +0000 (19:20 +0000)]
Document all the new command-line stuff.

[originally from svn r1822]

21 years agoArrgh, we can't have -p for port number because we're already using
Simon Tatham [Wed, 7 Aug 2002 19:09:33 +0000 (19:09 +0000)]
Arrgh, we can't have -p for port number because we're already using
it for preserving file attributes in PSCP! Ah well; looks as if
that's one where we'll have to agree to differ with OpenSSH.

[originally from svn r1821]

21 years agoSome of the new options shouldn't be available in the file transfer
Simon Tatham [Wed, 7 Aug 2002 18:43:40 +0000 (18:43 +0000)]
Some of the new options shouldn't be available in the file transfer
tools.

[originally from svn r1820]

21 years agoFix Halibut syntax error (oops).
Simon Tatham [Wed, 7 Aug 2002 18:08:29 +0000 (18:08 +0000)]
Fix Halibut syntax error (oops).

[originally from svn r1819]

21 years agoOops. Didn't quite get the new SSH protocol selection code right. *blush*
Simon Tatham [Wed, 7 Aug 2002 17:57:06 +0000 (17:57 +0000)]
Oops. Didn't quite get the new SSH protocol selection code right. *blush*

[originally from svn r1818]

21 years agoAdd a load of new command-line options pilfered from OpenSSH. Full
Simon Tatham [Wed, 7 Aug 2002 17:55:06 +0000 (17:55 +0000)]
Add a load of new command-line options pilfered from OpenSSH. Full
list is: -A, -a, -X, -x, -T, -t, -C, -1, -2, -i keyfile.

[originally from svn r1817]

21 years agoAdd an option to force SSH1 protocol only. Partly for symmetry;
Simon Tatham [Wed, 7 Aug 2002 17:48:26 +0000 (17:48 +0000)]
Add an option to force SSH1 protocol only. Partly for symmetry;
mostly because I'm about to want it for the -1 command line option.

[originally from svn r1816]