u/mdw/putty
23 years agopsftp now works as part of the PuTTY suite
simon [Sat, 24 Feb 2001 16:08:56 +0000 (16:08 +0000)]
psftp now works as part of the PuTTY suite

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

23 years agoSFTP client now successfully handles cd, ls, get and put.
simon [Sat, 24 Feb 2001 12:02:35 +0000 (12:02 +0000)]
SFTP client now successfully handles cd, ls, get and put.

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

23 years agoFirst stab at an SFTP client. Currently a Unixland testing app, not
simon [Fri, 23 Feb 2001 18:21:44 +0000 (18:21 +0000)]
First stab at an SFTP client. Currently a Unixland testing app, not
integrated into PuTTY.

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

23 years ago64-bit integer routines
simon [Fri, 23 Feb 2001 18:21:06 +0000 (18:21 +0000)]
64-bit integer routines

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

23 years agoAdd a traffic analysis defence to SSH2 password authentication
simon [Fri, 23 Feb 2001 13:15:17 +0000 (13:15 +0000)]
Add a traffic analysis defence to SSH2 password authentication

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

23 years agoUpdate copyright dates to 2001 :-)
simon [Thu, 22 Feb 2001 09:07:24 +0000 (09:07 +0000)]
Update copyright dates to 2001 :-)

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

23 years agoAttempt to fix the remaining key re-exchange bug
simon [Tue, 20 Feb 2001 13:55:59 +0000 (13:55 +0000)]
Attempt to fix the remaining key re-exchange bug

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

23 years agoMore proto `how-to' documentation: CVS and WinCVS
owen [Mon, 19 Feb 2001 23:24:01 +0000 (23:24 +0000)]
More proto `how-to' documentation: CVS and WinCVS

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

23 years agoAdd a how-to section on public-key authentication in PSCP
simon [Mon, 19 Feb 2001 10:54:18 +0000 (10:54 +0000)]
Add a how-to section on public-key authentication in PSCP

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

23 years agoAdd "make clean" target
simon [Mon, 19 Feb 2001 10:54:05 +0000 (10:54 +0000)]
Add "make clean" target

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

23 years agoPrelim. CVS/plink howto
owen [Wed, 7 Feb 2001 11:20:15 +0000 (11:20 +0000)]
Prelim. CVS/plink howto

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

23 years agoMostly Mathias Leinmueller's PuTTYgen documentation, modified slightly
owen [Tue, 6 Feb 2001 09:34:42 +0000 (09:34 +0000)]
Mostly Mathias Leinmueller's PuTTYgen documentation, modified slightly
and Buttressed.

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

23 years agoModifications to the new Close On Exit option:
simon [Mon, 5 Feb 2001 13:42:33 +0000 (13:42 +0000)]
Modifications to the new Close On Exit option:
 - wording change (required a patch to winctrls.c:radioline())
 - `only on clean exit' is used when an old-style config says `yes',
   on the grounds that it's more generally useful than `always' and
   also we want to map the old default to the new default.

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

23 years agoJacob's patch to improve Close On Exit behaviour
simon [Mon, 5 Feb 2001 13:08:18 +0000 (13:08 +0000)]
Jacob's patch to improve Close On Exit behaviour

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

23 years agoVarious bug/warning fixes from Jacob
simon [Mon, 5 Feb 2001 13:04:00 +0000 (13:04 +0000)]
Various bug/warning fixes from Jacob

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

23 years agoFix various slashes.
owen [Sun, 4 Feb 2001 15:49:49 +0000 (15:49 +0000)]
Fix various slashes.

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

23 years agoPlink documentation cribs heavily from PSCP documentation, film at 11.
owen [Sun, 4 Feb 2001 15:47:01 +0000 (15:47 +0000)]
Plink documentation cribs heavily from PSCP documentation, film at 11.

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

23 years agoSome examples.
owen [Sun, 4 Feb 2001 15:35:36 +0000 (15:35 +0000)]
Some examples.

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

23 years agoShrink the keepalive-timeout box so the text beside it can all fit in
simon [Thu, 1 Feb 2001 14:13:46 +0000 (14:13 +0000)]
Shrink the keepalive-timeout box so the text beside it can all fit in

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

23 years agoYet another attempt at OOB handling in the network abstraction. This
simon [Thu, 1 Feb 2001 14:11:04 +0000 (14:11 +0000)]
Yet another attempt at OOB handling in the network abstraction. This
version allows you to specify, per socket, which sockets receive OOB
data in-line (so that you know what was before the mark and what was
after) and which receive it out of line (so it's really a one-byte
out-of-band facility rather than discard-to-mark). This reflects the
fact that rlogin appears to make more sense in the latter mode, and
telnet in the former. This patch makes rlogin work right for me.

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

23 years agoIgnore the zero byte at the start of the rlogin main protocol
simon [Thu, 1 Feb 2001 14:09:00 +0000 (14:09 +0000)]
Ignore the zero byte at the start of the rlogin main protocol

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

23 years agoFix an always-false comparison (don't compare a char to 0x80!)
simon [Thu, 1 Feb 2001 14:07:53 +0000 (14:07 +0000)]
Fix an always-false comparison (don't compare a char to 0x80!)

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

23 years agoAvoid mallocing zero bytes in the event log Copy processing, which
simon [Thu, 1 Feb 2001 11:35:15 +0000 (11:35 +0000)]
Avoid mallocing zero bytes in the event log Copy processing, which
was apparently a problem for compilers other than Visual C. Thanks
to Roman Pompejus for pointing it out.

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

23 years agoAdd zlib_freetable() to prevent memory leaks. Thanks to Kevin Eric Saunders
simon [Wed, 31 Jan 2001 09:10:18 +0000 (09:10 +0000)]
Add zlib_freetable() to prevent memory leaks. Thanks to Kevin Eric Saunders

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

23 years agoThis time, a working version of the pscp docs.
owen [Wed, 31 Jan 2001 00:28:11 +0000 (00:28 +0000)]
This time, a working version of the pscp docs.

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

23 years agoMore pscp documentation.
owen [Wed, 31 Jan 2001 00:25:57 +0000 (00:25 +0000)]
More pscp documentation.

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

23 years agoMore stuff is written.
simon [Mon, 29 Jan 2001 17:26:20 +0000 (17:26 +0000)]
More stuff is written.

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

23 years agoDon't forget to read any outstanding data on receipt of FD_CLOSE.
simon [Mon, 29 Jan 2001 15:10:56 +0000 (15:10 +0000)]
Don't forget to read any outstanding data on receipt of FD_CLOSE.
Particularly useful for people speaking HTTP, Finger etc over raw
connections.

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

23 years agoRobert de Bath's TCP Urgent / Telnet SYNCH patch.
simon [Mon, 29 Jan 2001 14:49:21 +0000 (14:49 +0000)]
Robert de Bath's TCP Urgent / Telnet SYNCH patch.

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

23 years agoPrevent "Connection closed" message box from appearing after the
simon [Mon, 29 Jan 2001 14:31:57 +0000 (14:31 +0000)]
Prevent "Connection closed" message box from appearing after the
"Network error" box. The latter on its own is enough.

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

23 years agoPrevent duplicate sk_close() calls on the same socket when the
simon [Mon, 29 Jan 2001 14:30:59 +0000 (14:30 +0000)]
Prevent duplicate sk_close() calls on the same socket when the
connection dies unexpectedly (CONNABORTED / CONNRESET)

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

23 years agoRemove a segfault in bombout() macro: don't sk_close() the socket if
simon [Mon, 29 Jan 2001 13:19:59 +0000 (13:19 +0000)]
Remove a segfault in bombout() macro: don't sk_close() the socket if
it's already NULL. The `Incorrect MAC' problem was causing
ssh2_rdpkt to bombout(), setting s to NULL, and then a secondary
bombout() was happening at the next level up, causing a segfault.

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

23 years agoInstructions on setting PATH more permanently.
owen [Sun, 28 Jan 2001 14:38:23 +0000 (14:38 +0000)]
Instructions on setting PATH more permanently.

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

23 years agoMore options documented
owen [Sun, 28 Jan 2001 14:27:08 +0000 (14:27 +0000)]
More options documented

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

23 years agoUse the PuTTY site's CSS stylesheet.
owen [Sun, 28 Jan 2001 14:00:54 +0000 (14:00 +0000)]
Use the PuTTY site's CSS stylesheet.
Add Contact mail address to the page footer.

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

23 years agoDocumentation for -P and -pw
owen [Sat, 27 Jan 2001 17:49:18 +0000 (17:49 +0000)]
Documentation for -P and -pw

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

23 years agoA start at some proper PSCP documentation
owen [Sat, 27 Jan 2001 16:26:55 +0000 (16:26 +0000)]
A start at some proper PSCP documentation

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

23 years agoRemove -gui from the command-line help in pscp, because it's an
simon [Sat, 27 Jan 2001 15:51:41 +0000 (15:51 +0000)]
Remove -gui from the command-line help in pscp, because it's an
internal option only.

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

23 years agoFix the SSH2 key re-exchange bug. Session id != exchange hash,
simon [Fri, 26 Jan 2001 18:50:13 +0000 (18:50 +0000)]
Fix the SSH2 key re-exchange bug. Session id != exchange hash,
because the session id is the exchange hash from the _first_ key
exchange, so in subsequent key exchanges they're different.

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

23 years agoEnsure all backends _remember_ the connection has closed after
simon [Fri, 26 Jan 2001 12:22:16 +0000 (12:22 +0000)]
Ensure all backends _remember_ the connection has closed after
receiving a network error. Should prevent the cascading-error-box
bug.

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

23 years agoJacob's patch to fix all the accelerators. AGAIN.
simon [Fri, 26 Jan 2001 09:48:37 +0000 (09:48 +0000)]
Jacob's patch to fix all the accelerators. AGAIN.

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

23 years agoFix build errors in PSCP after line discipline upheaval
simon [Fri, 26 Jan 2001 09:33:12 +0000 (09:33 +0000)]
Fix build errors in PSCP after line discipline upheaval

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

23 years agoUse `default_port' rather than `22' when loading a default session.
simon [Wed, 24 Jan 2001 14:55:48 +0000 (14:55 +0000)]
Use `default_port' rather than `22' when loading a default session.

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

23 years agoRethink the whole line discipline architecture. Instead of having
simon [Wed, 24 Jan 2001 14:08:20 +0000 (14:08 +0000)]
Rethink the whole line discipline architecture. Instead of having
multiple switchable line disciplines, we now have a single unified
one which changes its behaviour based on option settings. Each
option setting can be suggested by the back end and/or the terminal
handler, and can be forcibly overridden by the configuration. Local
echo and local line editing are separate, independently switchable,
options.

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

23 years agoImprove socket error handling so that a socket error isn't an
simon [Wed, 24 Jan 2001 10:11:18 +0000 (10:11 +0000)]
Improve socket error handling so that a socket error isn't an
automatic fatalbox(). Instead, the error is passed to the receiver
routine, which can decide just how fatal the problem really is.

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

23 years agoAhem. The log-file Browse button should set cfg.logfilename and not
simon [Wed, 24 Jan 2001 09:29:55 +0000 (09:29 +0000)]
Ahem. The log-file Browse button should set cfg.logfilename and not
cfg.keyfile. Next time I copy and paste a huge chunk of code, I
should take more care about it :-/

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

23 years agoRoman Pompejus's suggestion: do sensible things with focus when the
simon [Tue, 23 Jan 2001 17:40:51 +0000 (17:40 +0000)]
Roman Pompejus's suggestion: do sensible things with focus when the
event log window appears or disappears.

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

23 years agoRoman Pompejus's fix for the TAB-not-working-in-Event-Log bug
simon [Tue, 23 Jan 2001 17:37:52 +0000 (17:37 +0000)]
Roman Pompejus's fix for the TAB-not-working-in-Event-Log bug

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

23 years agoWhen the SSH panel disappears in puttytel, the Tunnels panel should too!
simon [Tue, 23 Jan 2001 14:20:04 +0000 (14:20 +0000)]
When the SSH panel disappears in puttytel, the Tunnels panel should too!

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

23 years agoRemove the entirely pointless fourth parameter from x11_init().
simon [Tue, 23 Jan 2001 11:02:02 +0000 (11:02 +0000)]
Remove the entirely pointless fourth parameter from x11_init().

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

23 years agoFix a subtle bug affecting multiple-socket handling in Plink. (Was
simon [Tue, 23 Jan 2001 10:19:17 +0000 (10:19 +0000)]
Fix a subtle bug affecting multiple-socket handling in Plink. (Was
interfering with X forwarding.)
Details of bug: the event object used as the target of
WSAEventSelect is created in such a way that it is automatically
reset when it releases a thread from WaitFor*Objects. Subsequently,
a read on the first socket in the list causes another network event
if not all the available data was read; thus the event object is set
again. Then, WSAEnumNetworkEvents is called again for the _second_
socket, and is passed the network event, which it therefore resets.
So an event has been dropped, and things only get restarted when
some more data arrives on the first socket.

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

23 years agoUpdate puttygen GUI code to use Jeremy Sawicki's better group boxes
simon [Mon, 22 Jan 2001 17:25:20 +0000 (17:25 +0000)]
Update puttygen GUI code to use Jeremy Sawicki's better group boxes

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

23 years agoAdd dependencies for puttygen.c
simon [Mon, 22 Jan 2001 17:24:58 +0000 (17:24 +0000)]
Add dependencies for puttygen.c

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

23 years agoClean up a couple of trivial compiler warnings.
simon [Mon, 22 Jan 2001 17:24:38 +0000 (17:24 +0000)]
Clean up a couple of trivial compiler warnings.

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

23 years agoJeremy Sawicki's fix for the multiple-conflicting-accelerators
simon [Mon, 22 Jan 2001 17:17:26 +0000 (17:17 +0000)]
Jeremy Sawicki's fix for the multiple-conflicting-accelerators
problems: controls are now destroyed and recreated on a panel
switch. In addition, this patch also introduces a better means of
doing the group boxes.

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

23 years agoAbility to hide the mouse pointer on a keypress a la Word
simon [Mon, 22 Jan 2001 16:38:43 +0000 (16:38 +0000)]
Ability to hide the mouse pointer on a keypress a la Word

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

23 years agoBring the SSH2 channel architecture up to scratch, enabling X
simon [Mon, 22 Jan 2001 15:36:07 +0000 (15:36 +0000)]
Bring the SSH2 channel architecture up to scratch, enabling X
forwarding to work under SSH2. Also - surprise! - implement X
forwarding under SSH2.

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

23 years agoUpdate the file list in .cvsignore
simon [Mon, 22 Jan 2001 13:32:05 +0000 (13:32 +0000)]
Update the file list in .cvsignore

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

23 years agoAdd a title to the Tunnels panel
simon [Mon, 22 Jan 2001 13:15:52 +0000 (13:15 +0000)]
Add a title to the Tunnels panel

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

23 years agoTry the blindingly-obvious fix for the hidden-controls-are-still-
simon [Mon, 22 Jan 2001 12:35:16 +0000 (12:35 +0000)]
Try the blindingly-obvious fix for the hidden-controls-are-still-
accessible GUI bug.

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

23 years agoAdd X11 forwarding, mainly thanks to Andreas Schultz
simon [Mon, 22 Jan 2001 11:34:52 +0000 (11:34 +0000)]
Add X11 forwarding, mainly thanks to Andreas Schultz

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

23 years agoMake sure it's SSH, and not Rlogin, which gets omitted from the
simon [Sat, 20 Jan 2001 11:00:07 +0000 (11:00 +0000)]
Make sure it's SSH, and not Rlogin, which gets omitted from the
PuTTYtel config box. Oops!

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

23 years agoExperimental Rlogin support, thanks to Delian Delchev. Local flow
simon [Fri, 19 Jan 2001 10:10:37 +0000 (10:10 +0000)]
Experimental Rlogin support, thanks to Delian Delchev. Local flow
control is unsupported, and server-to-client comms may fail for want
of working TCP Urgent.

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

23 years agoKeepalives are now in seconds not minutes
simon [Fri, 19 Jan 2001 09:01:50 +0000 (09:01 +0000)]
Keepalives are now in seconds not minutes

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

23 years agoAdd a .cvsignore file
simon [Thu, 18 Jan 2001 17:29:01 +0000 (17:29 +0000)]
Add a .cvsignore file

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

23 years agoThe `wrapnext' variable now states whether we _would_ wrap next
simon [Wed, 17 Jan 2001 17:25:58 +0000 (17:25 +0000)]
The `wrapnext' variable now states whether we _would_ wrap next
character if we were wrapping, not whether we _will_ wrap next
character. Makes for saner behaviour with vertical-line cursor and
also when changing autowrap mode while on rightmost column. Does
entail small behavioural changes to backspace and destructive-
backspace when in rightmost column with Auto Wrap off, but I don't
think they should be catastrophic, or indeed that there's a well
defined Right Behaviour.

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

23 years agoTidy up that latest checkin. PS_DOTTED is spelled PS_DOT and in any
simon [Wed, 17 Jan 2001 17:20:28 +0000 (17:20 +0000)]
Tidy up that latest checkin. PS_DOTTED is spelled PS_DOT and in any
case doesn't really cut it; we have to SetPixel every other one
manually because although PS_ALTERNATE exists it only works under
NT. Meanwhile, IDC_CURSTATIC was already used, for the cursor
_keys_. Duh.

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

23 years agoIntroduce alternative cursor shapes: underline, vertical line
simon [Wed, 17 Jan 2001 16:57:33 +0000 (16:57 +0000)]
Introduce alternative cursor shapes: underline, vertical line

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

23 years agoTrivial fix for when the two directions select different encryption
simon [Wed, 17 Jan 2001 16:57:15 +0000 (16:57 +0000)]
Trivial fix for when the two directions select different encryption
algorithms

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

23 years agoFurther work on writing the manual
simon [Wed, 17 Jan 2001 16:33:26 +0000 (16:33 +0000)]
Further work on writing the manual

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

23 years agoContinue writing documentation. Looks like a long job :-(
simon [Wed, 17 Jan 2001 12:46:50 +0000 (12:46 +0000)]
Continue writing documentation. Looks like a long job :-(

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

23 years agoInitial checkin of an outline for the PuTTY user manual.
simon [Wed, 17 Jan 2001 10:11:16 +0000 (10:11 +0000)]
Initial checkin of an outline for the PuTTY user manual.

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

23 years agoRemove rogue debug statement
simon [Thu, 11 Jan 2001 13:19:11 +0000 (13:19 +0000)]
Remove rogue debug statement

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

23 years agoIPv4 numeric addresses were broken thanks to IPv6 patch
simon [Tue, 9 Jan 2001 17:25:06 +0000 (17:25 +0000)]
IPv4 numeric addresses were broken thanks to IPv6 patch

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

23 years agoOops - accidentally undid rev 1.82 [r844]
simon [Tue, 9 Jan 2001 17:16:43 +0000 (17:16 +0000)]
Oops - accidentally undid rev 1.82 [r844]

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

23 years agoEnable explicit changing of the window title after session start
simon [Mon, 8 Jan 2001 16:28:21 +0000 (16:28 +0000)]
Enable explicit changing of the window title after session start

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

23 years agoDisable logging completely if the user selects Cancel when told the
simon [Mon, 8 Jan 2001 16:24:13 +0000 (16:24 +0000)]
Disable logging completely if the user selects Cancel when told the
file already exists

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

23 years agoEnsure ssh specials (EOF and PING) don't occur except in connection
simon [Mon, 8 Jan 2001 13:57:45 +0000 (13:57 +0000)]
Ensure ssh specials (EOF and PING) don't occur except in connection
states where they're meaningful. In case Plink misses an EOF by
attempting to send it before reaching SSH_STATE_SESSION, it is
buffered and sent later. PINGs can be sent during any part of the
initialisation phase _except_ before deciding whether to use
protocol 1 or 2.

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

23 years agoJeroen Massar's IPv6 patch. Disabled by default, for now.
simon [Sun, 7 Jan 2001 19:16:16 +0000 (19:16 +0000)]
Jeroen Massar's IPv6 patch. Disabled by default, for now.

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

23 years agoFix for spurious Space getting sent when alt_space and alt_only are
simon [Sun, 7 Jan 2001 19:15:59 +0000 (19:15 +0000)]
Fix for spurious Space getting sent when alt_space and alt_only are
both set and you bring up the Sysmenu with an alt_space and dispatch
it with an alt_only. (The SYSKEYDOWN for alt_only is never received,
but we get the SYSKEYUP which PostMessages the space since it
expects to be triggering the _creation_ of a sysmenu. Solution: set
alt_state to 0 when an alt_space triggers a sysmenu, so that the
final SYSKEYUP will be seen as spurious, which it is. Perhaps we
could do this better.)

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

23 years agoKestutis Kupciunas's Lithuanian-friendliness patch to TranslateKey
simon [Sun, 7 Jan 2001 18:28:01 +0000 (18:28 +0000)]
Kestutis Kupciunas's Lithuanian-friendliness patch to TranslateKey

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

23 years agoImproved session logging courtesy of Roman Pompejus
simon [Sun, 7 Jan 2001 18:24:59 +0000 (18:24 +0000)]
Improved session logging courtesy of Roman Pompejus

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

23 years agoSquelch some spurious resize events.
simon [Sun, 7 Jan 2001 17:18:24 +0000 (17:18 +0000)]
Squelch some spurious resize events.

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

23 years agoAdam D Ligas's segfault: one form of connection closure was failing
simon [Sun, 7 Jan 2001 17:18:12 +0000 (17:18 +0000)]
Adam D Ligas's segfault: one form of connection closure was failing
to set SSH_STATE_CLOSED, causing subsequent resize events to go foom.

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

23 years agoOops - that do-we-need-to-resize-window check failed to spot font changes
simon [Sun, 7 Jan 2001 16:38:35 +0000 (16:38 +0000)]
Oops - that do-we-need-to-resize-window check failed to spot font changes

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

23 years agoFix the System Caret so it really is invisible, and the right size
simon [Sun, 7 Jan 2001 16:35:44 +0000 (16:35 +0000)]
Fix the System Caret so it really is invisible, and the right size
too.

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

23 years ago`Change Settings' now behaves sensibly w.r.t. window size.
simon [Sun, 7 Jan 2001 16:27:48 +0000 (16:27 +0000)]
`Change Settings' now behaves sensibly w.r.t. window size.

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

23 years agoTurn a rogue malloc to smalloc
simon [Sun, 7 Jan 2001 15:27:19 +0000 (15:27 +0000)]
Turn a rogue malloc to smalloc

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

23 years agoApply `getservbyname' to the Port Number field in case it's
simon [Sun, 7 Jan 2001 15:12:20 +0000 (15:12 +0000)]
Apply `getservbyname' to the Port Number field in case it's
non-numeric. Patch due to Christian Biesinger.

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

23 years agoAltGr should now work again even when Compose key disabled
simon [Sun, 7 Jan 2001 14:30:00 +0000 (14:30 +0000)]
AltGr should now work again even when Compose key disabled

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

23 years agoMake the colour list failsafe. Patch due to Robert de Bath
simon [Sun, 7 Jan 2001 13:39:31 +0000 (13:39 +0000)]
Make the colour list failsafe. Patch due to Robert de Bath

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

23 years agoPatch from Christian Biesinger: pscp guesses your Windows username by default
simon [Sun, 7 Jan 2001 13:31:49 +0000 (13:31 +0000)]
Patch from Christian Biesinger: pscp guesses your Windows username by default

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

23 years agoApply improved WinSock error handling to the few situations it still
simon [Mon, 18 Dec 2000 09:20:26 +0000 (09:20 +0000)]
Apply improved WinSock error handling to the few situations it still
hadn't been applied to.

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

23 years agoAttempt to get repeated key exchange working in SSH2. Still under
simon [Mon, 18 Dec 2000 09:20:08 +0000 (09:20 +0000)]
Attempt to get repeated key exchange working in SSH2. Still under
test - might not be 100%. I think it _ought_ to work though.

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

23 years agoRemove unnecessary printfs from Minefield
simon [Tue, 12 Dec 2000 14:04:43 +0000 (14:04 +0000)]
Remove unnecessary printfs from Minefield

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

23 years agoFix an intermittent segfault that prevented the new Zlib compression
simon [Tue, 12 Dec 2000 11:07:59 +0000 (11:07 +0000)]
Fix an intermittent segfault that prevented the new Zlib compression
from being very useful. (Thanks to Minefield for catching it.)

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

23 years agoAdded Minefield: an alternative memory allocator along the lines of
simon [Tue, 12 Dec 2000 10:57:34 +0000 (10:57 +0000)]
Added Minefield: an alternative memory allocator along the lines of
Electric Fence. Enable by compiling with /DMINEFIELD.

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

23 years agoMake memory management uniform: _everything_ now goes through the
simon [Tue, 12 Dec 2000 10:33:13 +0000 (10:33 +0000)]
Make memory management uniform: _everything_ now goes through the
smalloc() macros and thence to the safemalloc() functions in misc.c.
This should allow me to plug in a debugging allocator and track
memory leaks and segfaults and things.

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

23 years agoImprove SSH2 host key abstraction into a generic `signing key'
simon [Sat, 2 Dec 2000 12:48:15 +0000 (12:48 +0000)]
Improve SSH2 host key abstraction into a generic `signing key'
abstraction, so as to be able to re-use the same abstraction for
user authentication keys and probably in the SSH2 agent (when that
happens) as well.

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

23 years agoFix bugtraq 1949: server could open an agent forwarding channel even
simon [Sat, 2 Dec 2000 11:43:25 +0000 (11:43 +0000)]
Fix bugtraq 1949: server could open an agent forwarding channel even
if agent forwarding had not been negotiated on, and more
particularly even if it had been deliberately disabled by the user.

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