u/mdw/putty
19 years agoImplement part of `ssh2-generality': introduce the ability to tell
simon [Wed, 13 Oct 2004 13:43:11 +0000 (13:43 +0000)]
Implement part of `ssh2-generality': introduce the ability to tell
PuTTY / Plink not to run a remote shell/command at all. Supported in
the GUI configuration and via the (OpenSSH-like) -N command-line
option.

No effort is currently made to arrange `nice' UI properties. If you
do this in GUI PuTTY, a full-size terminal window will still be
created, and will sit there with almost nothing in it throughout
your session. If you do it in Plink, Plink will not accept any kind
of request to terminate gracefully; you'll have to ^C or kill it.
Nonetheless, even this little will be useful to some people...

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

19 years agoFix segfaults in terminal resizing, introduced by re-engineering.
simon [Wed, 13 Oct 2004 13:35:29 +0000 (13:35 +0000)]
Fix segfaults in terminal resizing, introduced by re-engineering.

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

19 years agoI think we've been told before that you're not supposed to
simon [Wed, 13 Oct 2004 12:29:50 +0000 (12:29 +0000)]
I think we've been told before that you're not supposed to
CloseHandle() the thing returned from MonitorFromPoint. Certainly MS
Visual Studio's debugger complained about it just now. CloseHandle()
call removed.

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

19 years agoFix '/*' in comment.
jacob [Wed, 13 Oct 2004 12:10:30 +0000 (12:10 +0000)]
Fix '/*' in comment.

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

19 years agoRe-engineering of terminal emulator, phase 1.
simon [Wed, 13 Oct 2004 11:50:16 +0000 (11:50 +0000)]
Re-engineering of terminal emulator, phase 1.

The active terminal screen is no longer an array of `unsigned long'
encoding 16-bit Unicode plus 16 attribute bits. Now it's an array of
`termchar' structures, which currently have 32-bit Unicode and 32
attribute bits but which will probably expand further in future.

To prevent bloat of the memory footprint, I've introduced a mostly
RLE-like compression scheme for storing scrollback: each line is
compressed into a compact (but hard to modify) form when it moves
into the term->scrollback tree, and is temporarily decompressed when
the user wants to scroll back over it. My initial tests suggest that
this compression averages about 1/4 of the previous (32 bits per
character cell) data size in typical output, which means this is an
improvement even without counting the new ability to extend the
information stored in each character cell.

Another beneficial side effect is that the insane format in which
Unicode was passed to front ends through do_text() has now been
rendered sane.

Testing is incomplete; this _may_ still have instabilities. Windows
and Unix front ends both seem to work as far as I've looked, but I
haven't yet looked very hard. The Mac front end I've edited (it
seemed obvious how to change it) but I can't compile or test it.

As an immediate functional effect, the terminal emulator now
supports full 32-bit Unicode to whatever extent the host platform
allows it to. For example, if you output a 4-or-more-byte UTF-8
character in Unix pterm, it will not display it properly, but it
will correctly paste it back out in a UTF8_STRING selection. Windows
is more restricted, sadly.

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

19 years agofaq-alternate-localhost: You can now download the fix directly rather than
jacob [Fri, 8 Oct 2004 12:38:08 +0000 (12:38 +0000)]
faq-alternate-localhost: You can now download the fix directly rather than
having to go through MS support.

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

19 years agofaq-permission: xref licence
jacob [Thu, 7 Oct 2004 10:19:46 +0000 (10:19 +0000)]
faq-permission: xref licence

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

19 years agoX forwarding changes:
jacob [Wed, 6 Oct 2004 22:31:07 +0000 (22:31 +0000)]
X forwarding changes:
 - new function platform_get_x_display() to find a sensible local display.
   On Unix, the Gtk apps weren't taking account of --display when
   determining where to send forwarded X traffic.
 - explicitly document that leaving X display location blank in config tries
   to do something sensible (and that it's now blank by default)
 - don't override X11Display setting in plink, since that's more properly
   done later

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

19 years ago`ssh-log-pw-blank': known password fields are now omitted from SSH packet logs
jacob [Sat, 2 Oct 2004 00:33:27 +0000 (00:33 +0000)]
`ssh-log-pw-blank': known password fields are now omitted from SSH packet logs
by default (although they can be included). There's also an option to remove
session data, which is good both for privacy and for reducing the size of
logfiles.

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

19 years agoMention the negotiated SSH-2 MAC algorithm(s) in the Event Log.
jacob [Wed, 29 Sep 2004 23:57:03 +0000 (23:57 +0000)]
Mention the negotiated SSH-2 MAC algorithm(s) in the Event Log.
(It should be possible to at least see what MAC is in use without going to a
SSH packet log.)

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

19 years agoReport details in Event Log when receiving SSH2_MSG_CHANNEL_OPEN_FAILURE.
simon [Wed, 29 Sep 2004 12:38:45 +0000 (12:38 +0000)]
Report details in Event Log when receiving SSH2_MSG_CHANNEL_OPEN_FAILURE.

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

19 years agoLine (as opposed to block) cursors were being displayed when they shouldn't
jacob [Tue, 28 Sep 2004 20:42:39 +0000 (20:42 +0000)]
Line (as opposed to block) cursors were being displayed when they shouldn't
have been, including when they were blinked off. Fixes Debian bug #272877.

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

19 years ago"Incoming packet was garbled on decryption": I think this could in principle
jacob [Mon, 27 Sep 2004 00:23:19 +0000 (00:23 +0000)]
"Incoming packet was garbled on decryption": I think this could in principle
be due to corruption on the wire?

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

19 years agoTreat USER specially in event logging of Telnet ENVIRON option; it's
jacob [Wed, 22 Sep 2004 22:38:23 +0000 (22:38 +0000)]
Treat USER specially in event logging of Telnet ENVIRON option; it's
occasionally been a pain that the username wasn't visible in the Event Log.

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

19 years agoDocument telnet_keyboard more completely, cross-reference from "Special
jacob [Wed, 22 Sep 2004 22:15:25 +0000 (22:15 +0000)]
Document telnet_keyboard more completely, cross-reference from "Special
Commands" section, and tweak option description in code.

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

19 years agofaq-missing-slash: the missing-slash-in-PSFTP OpenSSH bug keeps coming up.
jacob [Wed, 22 Sep 2004 14:07:35 +0000 (14:07 +0000)]
faq-missing-slash: the missing-slash-in-PSFTP OpenSSH bug keeps coming up.

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

19 years agoAdd `OSU_1.5alpha4' to BUG_CHOKES_ON_SSH1_IGNORE; this is apparently enough to
jacob [Tue, 21 Sep 2004 21:04:28 +0000 (21:04 +0000)]
Add `OSU_1.5alpha4' to BUG_CHOKES_ON_SSH1_IGNORE; this is apparently enough to
enable login with this version. (I'd suspected as much -- see ssh.c CVS
log 1.299 [r3359] -- and Geoffrey Hughes has now confirmed this.)

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

19 years ago`ampersat-in-username': tweak `strchr' to `strrchr' where necessary to
jacob [Tue, 21 Sep 2004 16:49:51 +0000 (16:49 +0000)]
`ampersat-in-username': tweak `strchr' to `strrchr' where necessary to
consistently support usernames containing `@'.

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

19 years agoReformat special commands to use \b instead of \dt / \dd.
jacob [Mon, 20 Sep 2004 22:10:09 +0000 (22:10 +0000)]
Reformat special commands to use \b instead of \dt / \dd.

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

19 years agoExplicitly list all the special commands supported by PuTTY.
jacob [Mon, 20 Sep 2004 22:06:29 +0000 (22:06 +0000)]
Explicitly list all the special commands supported by PuTTY.

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

19 years agoAdd accelerator for "Special Command" sub-menu.
jacob [Mon, 20 Sep 2004 21:42:27 +0000 (21:42 +0000)]
Add accelerator for "Special Command" sub-menu.

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

19 years agoFirst gentle encouragement to direct mirroring efforts to regions where we
jacob [Sun, 19 Sep 2004 23:49:46 +0000 (23:49 +0000)]
First gentle encouragement to direct mirroring efforts to regions where we
don't already _have_ lots of mirrors.

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

19 years agoMake it a bit easier to find our explanation of `raw' mode.
jacob [Fri, 17 Sep 2004 14:26:39 +0000 (14:26 +0000)]
Make it a bit easier to find our explanation of `raw' mode.

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

19 years agoTweak language re "Remote ports [accept connections from other hosts]"
jacob [Thu, 16 Sep 2004 15:44:58 +0000 (15:44 +0000)]
Tweak language re "Remote ports [accept connections from other hosts]"

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

19 years ago`dwalin' spotted a NULL dereference in the new makekey() error
simon [Sun, 12 Sep 2004 22:02:06 +0000 (22:02 +0000)]
`dwalin' spotted a NULL dereference in the new makekey() error
handling. Oops.

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

19 years agoMention requirement for Gtk+-1.2.
jacob [Thu, 9 Sep 2004 18:00:05 +0000 (18:00 +0000)]
Mention requirement for Gtk+-1.2.
Other minor cleanups.

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

19 years agoMake it clearer that the XP SP2 hotfix is described in the KB article.
jacob [Thu, 9 Sep 2004 10:37:17 +0000 (10:37 +0000)]
Make it clearer that the XP SP2 hotfix is described in the KB article.

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

19 years agoImproved diagnostics in port-forwarding: we now log any error returned by
jacob [Fri, 3 Sep 2004 13:46:39 +0000 (13:46 +0000)]
Improved diagnostics in port-forwarding: we now log any error returned by
pfd_addforward() rather than just ignoring it.

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

19 years agoIn SSH-2, list each compression algorithm only once. (No particular reason
jacob [Fri, 3 Sep 2004 12:28:19 +0000 (12:28 +0000)]
In SSH-2, list each compression algorithm only once. (No particular reason
for this change, just tidiness.)

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

19 years agoBleh, grammar.
jacob [Wed, 1 Sep 2004 10:19:22 +0000 (10:19 +0000)]
Bleh, grammar.

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

19 years agoDocumentation existence of SOCKS5 CHAP authentication.
jacob [Wed, 1 Sep 2004 10:12:41 +0000 (10:12 +0000)]
Documentation existence of SOCKS5 CHAP authentication.

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

19 years agoBen Hutchings points out that the initial states of the key-type
simon [Tue, 31 Aug 2004 18:26:54 +0000 (18:26 +0000)]
Ben Hutchings points out that the initial states of the key-type
radio buttons and menu items are inconsistent.

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

19 years agoCredit Malcolm Smith in the copyrights.
simon [Mon, 30 Aug 2004 13:23:23 +0000 (13:23 +0000)]
Credit Malcolm Smith in the copyrights.

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

19 years agoMalcolm Smith's patch to support CHAP (digest-based) authentication
simon [Mon, 30 Aug 2004 13:11:17 +0000 (13:11 +0000)]
Malcolm Smith's patch to support CHAP (digest-based) authentication
when talking to SOCKS 5 proxies. Configures itself transparently (if
the proxy offers CHAP it will use it, otherwise it falls back to
ordinary cleartext passwords).

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

19 years agoMore sensible error handling when we receive an SSH1 public key
simon [Sat, 28 Aug 2004 16:51:26 +0000 (16:51 +0000)]
More sensible error handling when we receive an SSH1 public key
modulus of zero (!!), and also a robustness fix in ssh1_rdpkt which
I happened to notice while debugging that.

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

19 years agofaq-alternate-localhost language tweak
jacob [Fri, 27 Aug 2004 13:33:25 +0000 (13:33 +0000)]
faq-alternate-localhost language tweak

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

19 years agoHandle WM_SYSCOLORCHANGE if using system colours. (Resets the whole palette,
jacob [Fri, 27 Aug 2004 12:24:08 +0000 (12:24 +0000)]
Handle WM_SYSCOLORCHANGE if using system colours. (Resets the whole palette,
whereas ideally it would restrict itself to the affected colour slots.)

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

19 years agoAdd comments indicating why these manifest files are present at all.
jacob [Wed, 25 Aug 2004 09:20:41 +0000 (09:20 +0000)]
Add comments indicating why these manifest files are present at all.

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

19 years agoPatch to use enum constants for cfg.funky_type instead of numeric
jacob [Fri, 20 Aug 2004 14:04:13 +0000 (14:04 +0000)]
Patch to use enum constants for cfg.funky_type instead of numeric
literals, from "Anthony" <410C2A86.2010003@mail2004.ajrh.net>.

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

19 years agoalternate-localhost: add "apparently" since none of this is first-hand
jacob [Fri, 20 Aug 2004 09:09:01 +0000 (09:09 +0000)]
alternate-localhost: add "apparently" since none of this is first-hand

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

19 years agoalternate-localhost WinXP SP2: apparently SP2 fixes the problem with
jacob [Fri, 20 Aug 2004 08:32:30 +0000 (08:32 +0000)]
alternate-localhost WinXP SP2: apparently SP2 fixes the problem with
Terminal Services that meant you needed to use alternate-localhost in
the first place!

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

19 years agoFix an annoying inconsistency that's been bugging me for years: "plink host"
jacob [Thu, 19 Aug 2004 15:05:31 +0000 (15:05 +0000)]
Fix an annoying inconsistency that's been bugging me for years: "plink host"
and "plink user@host" differed in that the former attempted to load session
`host' while the latter didn't. Now both forms attempt to load a session.
Someone will probably complain, but hey.

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

19 years agoRemove claim in usage text that Plink defaults to SSH, since it's not true
jacob [Thu, 19 Aug 2004 13:15:02 +0000 (13:15 +0000)]
Remove claim in usage text that Plink defaults to SSH, since it's not true
in a number of situations.

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

19 years agoAdd the WinXPSP2 alternate-localhost problem to the FAQ.
jacob [Thu, 19 Aug 2004 12:58:14 +0000 (12:58 +0000)]
Add the WinXPSP2 alternate-localhost problem to the FAQ.

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

19 years agoMention the mirroring guidelines on the web.
jacob [Wed, 18 Aug 2004 10:24:40 +0000 (10:24 +0000)]
Mention the mirroring guidelines on the web.

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

19 years agoSomeone complained that their keyboard-interactive password prompt was being
jacob [Tue, 17 Aug 2004 14:08:05 +0000 (14:08 +0000)]
Someone complained that their keyboard-interactive password prompt was being
truncated - it was from OpenSSH on HP/UX and had all sorts of stuff in it
("last successful login" etc).

Bodged it by bumping up the space allocated in the fixed array for a password
prompt. Also added an indication that the prompt is being truncated, as
required by draft-ietf-secsh-auth-kbdinteract-06.

(NB that before this checkin, there was a more-or-less harmless buffer overread
where if we ever received a keyboard-interactive prompt with echo=1, we'd
probably spew goo on the terminal; fixed now.)

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

19 years agoUpdate comment on dupprintf().
simon [Mon, 16 Aug 2004 14:43:29 +0000 (14:43 +0000)]
Update comment on dupprintf().

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

19 years agoPatch from Kurt Roeckx: apparently on Debian amd64, the ut_time member of
jacob [Mon, 16 Aug 2004 09:38:12 +0000 (09:38 +0000)]
Patch from Kurt Roeckx: apparently on Debian amd64, the ut_time member of
struct utmp is not equivalent to time_t (it's 32-bit). From Debian bug#265910.

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

19 years agoNote behaviour of `cd' with no arguments.
jacob [Sun, 15 Aug 2004 17:21:46 +0000 (17:21 +0000)]
Note behaviour of `cd' with no arguments.

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

19 years agoImplement `Restart Session', in both Unix and Windows PuTTY. Largely
simon [Sat, 14 Aug 2004 13:04:18 +0000 (13:04 +0000)]
Implement `Restart Session', in both Unix and Windows PuTTY. Largely
because Owen questioned whether it was really easy enough to be
labelled `fun' in the bug database :-)

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

19 years agossh_free() should not call log_free(); it's for the front end to
simon [Sat, 14 Aug 2004 12:24:02 +0000 (12:24 +0000)]
ssh_free() should not call log_free(); it's for the front end to
decide whether the logctx is finished with or not.

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

19 years agoExtra logging in SSH-2 port-forwarding. Most obviously, the opening of a
jacob [Fri, 13 Aug 2004 01:08:34 +0000 (01:08 +0000)]
Extra logging in SSH-2 port-forwarding. Most obviously, the opening of a
forwarded X11 connection is now logged as well as the closing; but we also
log the peer IP/port in case it's interesting, and log the reason for
refusing to honour a channel open.

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

19 years agoadd xref at the bottom of X11 section to options in config.but
jacob [Thu, 12 Aug 2004 20:55:58 +0000 (20:55 +0000)]
add xref at the bottom of X11 section to options in config.but

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

19 years agoFlush the logfile reasonably frequently in `printable output only' and
jacob [Thu, 12 Aug 2004 01:02:01 +0000 (01:02 +0000)]
Flush the logfile reasonably frequently in `printable output only' and
`all session data' modes, without completely mauling the performance, by
fflush()ing once per term_out(). If anyone complains I suppose we can
make this optional.

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

19 years agoMy new rsync mirror setup might need attention when we do a new
simon [Wed, 11 Aug 2004 09:04:47 +0000 (09:04 +0000)]
My new rsync mirror setup might need attention when we do a new
release. Add to checklist.

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

19 years agoRemove the email address from the footer of the HTML manual, and
simon [Tue, 10 Aug 2004 17:12:31 +0000 (17:12 +0000)]
Remove the email address from the footer of the HTML manual, and
replace it with a link to the Feedback page, as we have long since
done everywhere else on the PuTTY website.

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

19 years agoUpdate link to s2putty.
jacob [Tue, 10 Aug 2004 16:50:30 +0000 (16:50 +0000)]
Update link to s2putty.

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

19 years agoOops - merge version number bump from branch-0-55 (such was the plan).
jacob [Mon, 9 Aug 2004 17:04:50 +0000 (17:04 +0000)]
Oops - merge version number bump from branch-0-55 (such was the plan).

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

19 years agoApparently sending the tar output to stdout rather than a file causes tar to
jacob [Mon, 9 Aug 2004 17:01:25 +0000 (17:01 +0000)]
Apparently sending the tar output to stdout rather than a file causes tar to
pad with trailing NULs, which slightly upsets old versions of gzip (1.2.4,
not 1.3.x), which upsets some of our correspondents.
Use -f to send it to a file instead. (It's not transparently clear what
happens when you mix -f and -C; I've tested this with ixion's tar, 1.13.25.)

Also add option -o to generate POSIX tar files, as for halibut/Makefile;
apparently this shuts up a `trailing garbage' error from WinZip.

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

19 years agoFix for `mazovia': add Mazovia translation table based on info from
jacob [Thu, 5 Aug 2004 14:10:24 +0000 (14:10 +0000)]
Fix for `mazovia': add Mazovia translation table based on info from
Slawomir Oczkowski and "Diron".

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

19 years agoWhen using remote forwarding with SSH-1, you'd get bogus 'SSH1 cannot
jacob [Tue, 3 Aug 2004 23:43:07 +0000 (23:43 +0000)]
When using remote forwarding with SSH-1, you'd get bogus 'SSH1 cannot
handle source address spec ":10023"; ignoring' type errors in the
Event Log. The forwarding would go ahead as normal so this is
cosmetic. Fixed.

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

19 years agoMerge minor usage message tweaks (but not version number changes) from
jacob [Tue, 3 Aug 2004 13:23:48 +0000 (13:23 +0000)]
Merge minor usage message tweaks (but not version number changes) from
branch-0-55.

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

19 years agoMerged SSH1 robustness changes from 0.55 release branch on to trunk.
simon [Sun, 1 Aug 2004 12:07:11 +0000 (12:07 +0000)]
Merged SSH1 robustness changes from 0.55 release branch on to trunk.

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

19 years agoTweak to make it more obvious that the System menu is only available from
jacob [Fri, 30 Jul 2004 09:38:37 +0000 (09:38 +0000)]
Tweak to make it more obvious that the System menu is only available from
the _terminal_ window -- should be obvious from context but the nearest
context is some distance away.

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

19 years agoImprove robustness in modpow().
simon [Thu, 29 Jul 2004 15:44:35 +0000 (15:44 +0000)]
Improve robustness in modpow().

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

19 years ago"Where does PuTTY store its data?" -- mention where Unix PuTTY stores its
jacob [Thu, 29 Jul 2004 10:23:48 +0000 (10:23 +0000)]
"Where does PuTTY store its data?" -- mention where Unix PuTTY stores its
data

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

19 years agoTalk about Halibut; mention Unix `install' target; mention lack of Makefiles
jacob [Thu, 29 Jul 2004 10:09:25 +0000 (10:09 +0000)]
Talk about Halibut; mention Unix `install' target; mention lack of Makefiles
if you check out directly from CVS as it's come up once or twice.

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

19 years agoAnother wart in the command-line processing: if the user just specifies
jacob [Wed, 28 Jul 2004 11:04:22 +0000 (11:04 +0000)]
Another wart in the command-line processing: if the user just specifies
`-load sessname', and that mentions a hostname, that should be sufficient
to start a connection.

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

19 years agoFix double-free in X selection code.
simon [Tue, 27 Jul 2004 15:20:37 +0000 (15:20 +0000)]
Fix double-free in X selection code.

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

19 years agoAttempt to make Windows pointer hiding more robust by ignoring MOUSEMOVE and
jacob [Sun, 25 Jul 2004 19:52:07 +0000 (19:52 +0000)]
Attempt to make Windows pointer hiding more robust by ignoring MOUSEMOVE and
NCMOUSEMOVE messages where nothing actually changes. It seems Windows likes
to send such messages occasionally when other stuff is going on (e.g., in
other windows).
(Also spotted by Franco Barber <20040122055232.GA8168@febsun.cmhnet.org>.)

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

19 years agoPSFTP was ignoring `-1' and `-2' and always using SSH-2 with fallback to
jacob [Sun, 25 Jul 2004 16:10:48 +0000 (16:10 +0000)]
PSFTP was ignoring `-1' and `-2' and always using SSH-2 with fallback to
SSH-1. It also ignored any settings forbidding fallback to SSH-1.

Ignoring `-1' and `-2' is hardly the end of the world, as it'd be difficult
to think of a realistic situation where fallback didn't do the right thing
and PSFTP was still useful. However, ignoring a user's `SSH-2 only' setting
was a bit rude.

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

19 years agoFix for `psftp-pscp-ignore-load': Default Settings is now loaded
jacob [Sun, 25 Jul 2004 14:00:26 +0000 (14:00 +0000)]
Fix for `psftp-pscp-ignore-load': Default Settings is now loaded
before "-load" is processed so that it doesn't clobber it.

I've also changed the semantics of "-load" slightly for PSCP, PSFTP,
and Plink: if it's specified at all, it overrides (disables) the
implicit loading of session details based on a supplied hostname
elsewhere (on the grounds that the user is more likely to want the
"-load" session than the implicit session). (PuTTY itself doesn't do
implicit loading at all, so I haven't changed it.)

This means that all the PuTTY tools' behaviour is now consistent iff
"-load" is specified (otherwise, some tools have implicit-session, and
others don't).

However, I've not documented this behaviour, as there's a good chance
it will be swept away if and when we get round to sorting out how we
deal with settings from multiple sources. It's intended as a "do
something sensible" change.

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

19 years agoText around -load option "(although Plink still requires an explicitly
jacob [Sun, 25 Jul 2004 12:12:53 +0000 (12:12 +0000)]
Text around -load option "(although Plink still requires an explicitly
specified host name)" didn't appear to actually be true any more (see
`cmdline-host-override'). Removed

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

19 years agoComment explaining `need_save' argument to cmdline_process_param().
jacob [Sat, 24 Jul 2004 19:25:49 +0000 (19:25 +0000)]
Comment explaining `need_save' argument to cmdline_process_param().

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

19 years agoIn faq-bce, mention that the non-immediate effect of changing BCE only applies
jacob [Sat, 24 Jul 2004 12:37:42 +0000 (12:37 +0000)]
In faq-bce, mention that the non-immediate effect of changing BCE only applies
to versions prior to 0.54.

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

19 years agoAdd a section on the errors you see when you attempt to load a key of the
jacob [Thu, 22 Jul 2004 12:38:37 +0000 (12:38 +0000)]
Add a section on the errors you see when you attempt to load a key of the
wrong type.

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

19 years agoMention bps units of terminal speeds (FWLIW).
jacob [Thu, 22 Jul 2004 11:18:08 +0000 (11:18 +0000)]
Mention bps units of terminal speeds (FWLIW).

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

19 years agoWe shouldn't reference off the end of the display line when checking
simon [Tue, 20 Jul 2004 20:13:25 +0000 (20:13 +0000)]
We shouldn't reference off the end of the display line when checking
for UCSWIDE. Thanks Jacob, for catching this with valgrind.

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

19 years agoLimitations of -m option.
jacob [Tue, 20 Jul 2004 15:34:39 +0000 (15:34 +0000)]
Limitations of -m option.

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

19 years agoMention the dangers of the "-pw" option.
jacob [Tue, 20 Jul 2004 15:30:51 +0000 (15:30 +0000)]
Mention the dangers of the "-pw" option.

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

19 years agogrammer
jacob [Sun, 27 Jun 2004 11:04:39 +0000 (11:04 +0000)]
grammer

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

19 years agoAdd a configuration option for TCP keepalives (SO_KEEPALIVE), default off.
jacob [Sun, 20 Jun 2004 17:07:38 +0000 (17:07 +0000)]
Add a configuration option for TCP keepalives (SO_KEEPALIVE), default off.
No very good reason, but I've occasionally wanted to frob it to see if it
makes any difference to problems I'm having, and it was easy.

Tested that it does actually cause keepalives on Windows (with tcpdump);
should also work on Unix. Not implemented on Mac (does nothing), but then
neither is TCP_NODELAY.

Quite a big checkin, much of which is adding `keepalive' alongside `nodelay'
in network function calls.

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

19 years agohide scrollbar - you can use more than just Shift+PgUp/Dn to scroll now.
jacob [Tue, 15 Jun 2004 11:31:30 +0000 (11:31 +0000)]
hide scrollbar - you can use more than just Shift+PgUp/Dn to scroll now.

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

19 years agoMention "beep using the PC speaker" on general principles (although there isn't
jacob [Tue, 15 Jun 2004 11:11:19 +0000 (11:11 +0000)]
Mention "beep using the PC speaker" on general principles (although there isn't
much to say about it).

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

19 years agoIt's probably worth mentioning that SSH stands for `secure shell'.
jacob [Tue, 15 Jun 2004 11:00:28 +0000 (11:00 +0000)]
It's probably worth mentioning that SSH stands for `secure shell'.

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

19 years agoAdd index.but to build.
jacob [Tue, 15 Jun 2004 10:38:04 +0000 (10:38 +0000)]
Add index.but to build.

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

19 years agoFix Halibut warnings about merging distinct-case index terms.
jacob [Tue, 15 Jun 2004 10:17:03 +0000 (10:17 +0000)]
Fix Halibut warnings about merging distinct-case index terms.

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

19 years ago`Authenticating with key' message when using a local key file in
simon [Tue, 15 Jun 2004 09:50:05 +0000 (09:50 +0000)]
`Authenticating with key' message when using a local key file in
SSH2 was not contained within a test for FLAG_VERBOSE. Thanks to
Paul Gotch for pointing this out.

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

19 years agoExplain that the configurable window title is only an initial setting.
jacob [Thu, 10 Jun 2004 10:01:11 +0000 (10:01 +0000)]
Explain that the configurable window title is only an initial setting.

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

19 years agoSpotted by Dimitry Andric: `ssh-termspeed' implementation was not taking
jacob [Thu, 3 Jun 2004 10:36:27 +0000 (10:36 +0000)]
Spotted by Dimitry Andric: `ssh-termspeed' implementation was not taking
account of coroutines and used local variables over a crFoo. I believe the
impact was cosmetic, affecting the speeds reported in the Event Log only.

I've put the variables `ispeed' and `ospeed' in the main ssh_tag structure,
even though they're only live for a short duration; I did this rather than
create a new state struct for ssh1_protocol() (since ssh_tag already has
short-duration junk like portfwd_strptr).

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

19 years agoRJK's patch to enable PuTTY's X forwarding to connect to local X
simon [Mon, 31 May 2004 14:01:52 +0000 (14:01 +0000)]
RJK's patch to enable PuTTY's X forwarding to connect to local X
servers using Unix sockets (on Unix only, obviously!).

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

19 years agoIn the entry about twiddling Windows TCP timeouts, mention that it's OK to
jacob [Wed, 26 May 2004 09:19:48 +0000 (09:19 +0000)]
In the entry about twiddling Windows TCP timeouts, mention that it's OK to
create the registry values, and link back to the original MS KB articles.

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

19 years agoTypos in Borland Makefile pointed out by Arnaud Desitter
jacob [Mon, 24 May 2004 17:12:42 +0000 (17:12 +0000)]
Typos in Borland Makefile pointed out by Arnaud Desitter

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

19 years agoArnaud Desitter points out a silly mistake in retrieve_cutbuffer()
simon [Mon, 24 May 2004 11:30:15 +0000 (11:30 +0000)]
Arnaud Desitter points out a silly mistake in retrieve_cutbuffer()
(don't test for `int *nbytes' being <= 0, test for the integer it
points to being <= 0!).

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

19 years agoThere do in fact appear to be help topics for the Arabic and bidi options, so
jacob [Mon, 24 May 2004 09:55:51 +0000 (09:55 +0000)]
There do in fact appear to be help topics for the Arabic and bidi options, so
use them. Also use an accelerator that actually exists for bidi.

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

19 years agoFix indentation after Richard B's patch in rev 1.137 [r3409].
simon [Sat, 22 May 2004 14:21:27 +0000 (14:21 +0000)]
Fix indentation after Richard B's patch in rev 1.137 [r3409].

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

19 years agoHalibut now warns about code paragraph lines which are too long to
simon [Sat, 22 May 2004 11:09:31 +0000 (11:09 +0000)]
Halibut now warns about code paragraph lines which are too long to
fit in the text output format. If only to stop myself getting
pestered with cron stderr messages every night, here are some
changes that remove over-long code lines from the PuTTY manual.

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

19 years agoFix Halibut syntax errors in the new shaping/bidi doc sections.
simon [Sat, 22 May 2004 11:04:35 +0000 (11:04 +0000)]
Fix Halibut syntax errors in the new shaping/bidi doc sections.

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

19 years agoAt last! After much delay, much faffing back and forth, and much
simon [Sat, 22 May 2004 10:36:50 +0000 (10:36 +0000)]
At last! After much delay, much faffing back and forth, and much
enhancement and fiddling, I have now massaged Arabeyes' first patch
into a form I'm happy to check in. Phew.

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

19 years agoI added more detail to the `Authentication failed at PuTTY X11
simon [Thu, 20 May 2004 12:48:19 +0000 (12:48 +0000)]
I added more detail to the `Authentication failed at PuTTY X11
proxy' error message some time ago, but forgot to change the wording
in the error messages chapter.

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