SSH client (mirror)

Simon Tatham 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 rokov pred
charset 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
contrib 334d87251e New script contrib/plinkfs. 4 rokov pred
doc 1fd7baa734 Update version number for 0.76 release. 3 rokov pred
icons 2ec2b796ed Migrate all Python scripts to Python 3. 5 rokov pred
test 97137f5cfd PuTTYgen: explicitly use 'Kbyte' in Argon2 naming. 3 rokov pred
unix 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
windows 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 rokov pred
.gitignore 1b40d9f3ba Auxiliary application: 'psocks', a simple SOCKS server. 5 rokov pred
Buildscr 1fd7baa734 Update version number for 0.76 release. 3 rokov pred
Buildscr.cv 3481d16b0f Remove #ifdef COVERITY. 3 rokov pred
CHECKLST.txt d851df486f Fix build failure at -DNOT_X_WINDOWS. 4 rokov pred
LATEST.VER 1fd7baa734 Update version number for 0.76 release. 3 rokov pred
LICENCE 7c27cdc16e It's a new year. 4 rokov pred
README 4ec2791945 Remove Makefile.bor. 7 rokov pred
Recipe 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 rokov pred
agentf.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
aqsync.c 0c44fa85df Build outgoing SSH agent requests in a strbuf. 6 rokov pred
be_all.c 0f9e0d6e41 New GUI for protocol selection. 3 rokov pred
be_all_s.c 0f9e0d6e41 New GUI for protocol selection. 3 rokov pred
be_misc.c 8d186c3c93 Formatting change to braces around one case of a switch. 5 rokov pred
be_none.c 0f9e0d6e41 New GUI for protocol selection. 3 rokov pred
be_nos_s.c 0f9e0d6e41 New GUI for protocol selection. 3 rokov pred
be_nossh.c 0f9e0d6e41 New GUI for protocol selection. 3 rokov pred
be_ssh.c 0f9e0d6e41 New GUI for protocol selection. 3 rokov pred
callback.c 8d747d8029 Add lots of missing 'static' keywords. 5 rokov pred
cgtest.c ef5540c185 cmdgen: support configurable key fingerprint type. 4 rokov pred
clicons.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
cmdgen.c 27a04d96a3 cmdgen: add missing null pointer check in --dump mode. 3 rokov pred
cmdline.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
conf.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
config.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
configure.ac f3ee4dbe20 Remove -Werror from all the default cflags. 3 rokov pred
console.c 1b1a91fa3d Console host key prompts: add 'more info' action. 4 rokov pred
console.h 3c6ab5bbb7 Factor out some common code in {ux,win}cons.c. 4 rokov pred
cproxy.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
defs.h 736646b0c9 Fix a few warnings reported by Visual Studio. 3 rokov pred
dialog.c 1276c13e6a dialog system: add a side-by-side alignment feature. 3 rokov pred
dialog.h 1276c13e6a dialog system: add a side-by-side alignment feature. 3 rokov pred
ecc.c c9a8fa639e New query function ecc_montgomery_is_identity. 5 rokov pred
ecc.h c9a8fa639e New query function ecc_montgomery_is_identity. 5 rokov pred
errsock.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
fuzzterm.c 329bdb344c Make TermWin's palette_get_overrides() take a Terminal *. 3 rokov pred
import.c 2762a2025f Merge the 0.74 release branch back to master. 4 rokov pred
ldisc.c cd3e917fd0 Remove assertion that len != 0 in ldisc_send. 4 rokov pred
ldisc.h e0a76971cc New array-growing macros: sgrowarray and sgrowarrayn. 6 rokov pred
licence.pl 774d37a0dc Autogenerate licence text in doc subdir from LICENCE. 9 rokov pred
logging.c 76430f8237 Assorted benign warning fixes. 5 rokov pred
mainchan.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 rokov pred
marshal.c 50fce01958 Fix a gcc compile failure due to -Werror. 5 rokov pred
marshal.h 32d61d7c48 Add some more marshalling functions, for file parsing. 5 rokov pred
memory.c 88d5948ead Fix undefined behaviour in safegrowarray. 5 rokov pred
millerrabin.c 750f5222b2 Factor out Miller-Rabin checking into its own file. 5 rokov pred
minibidi.c 8d186c3c93 Formatting change to braces around one case of a switch. 5 rokov pred
misc.c 3461196197 Pass more information to interactive host key check. 4 rokov pred
misc.h 609502b04b Add utility function 'memxor'. 4 rokov pred
miscucs.c 7762d71226 New centralised helper function dup_mb_to_wc(). 9 rokov pred
mkauto.sh a947c49bec Move the Unix configure script up to the top level. 11 rokov pred
mkfiles.pl f3ee4dbe20 Remove -Werror from all the default cflags. 3 rokov pred
mksrcarc.sh 65d3afcaa1 Remove all trace of the Inno Setup installer. 6 rokov pred
mkunxarc.sh 4c49e29b19 Turn mkunxarc.sh back into an ordinary sh script. 10 rokov pred
mpint.c 736646b0c9 Fix a few warnings reported by Visual Studio. 3 rokov pred
mpint.h 20a9912c7c Add mp_copy_integer_into function. 5 rokov pred
mpint_i.h dec79cf152 Start a file of 'unsafe' mp_int functions. 5 rokov pred
mpunsafe.c dec79cf152 Start a file of 'unsafe' mp_int functions. 5 rokov pred
mpunsafe.h dec79cf152 Start a file of 'unsafe' mp_int functions. 5 rokov pred
network.h 630cac3aa2 Log when a network connection succeeds. 5 rokov pred
nocmdline.c 575ee4f8fc Make cmdline_tooltype a const int. 5 rokov pred
nocproxy.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
nogss.c d764872e9e Rewrite gprefs() in settings.c so that its input mapping includes 13 rokov pred
noprint.c 6bf3b49471 noprint.c: fix compile failure. 4 rokov pred
noproxy.c a058054253 Introduce noproxy.c. 4 rokov pred
norand.c 06531c3b61 Centralise 'no random numbers' stubs into norand.c. 5 rokov pred
noshare.c 40e648db46 Fix type error in noshare.c. 4 rokov pred
noterm.c 4db5c2899f Make calling term_nopaste() a cross-platform feature. 11 rokov pred
notiming.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
nullplug.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
pageant.c 7c42ca0280 pageant_get_keylist: add missing init of kl->broken. 3 rokov pred
pageant.h b8374f1bdf winpgnt: menu options to delete/reencrypt everything. 3 rokov pred
pgssapi.c a0b91e99b8 Fix a missing } in a GSSAPI-related comment. 6 rokov pred
pgssapi.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
pinger.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
pockle.c 1335e56d40 Fix false negative in Pockle discriminant check. 5 rokov pred
portfwd.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
pproxy.c 96ec2c2500 Get rid of lots of implicit pointer types. 6 rokov pred
primecandidate.c 115686527c PrimeCandidateSource: add one-shot mode. 5 rokov pred
proxy.c 83b07a5c67 Fix downright weird line breaking. 4 rokov pred
proxy.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
pscp.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
psftp.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
psftp.h d20d3b20fd Remove FLAG_VERBOSE. 5 rokov pred
psftpcommon.c 70fd577e40 Fall back to not sorting large dirs in pscp -ls or psftp 'ls'. 5 rokov pred
psocks.c ba599bf58c psocks: remove print_c_string(). 3 rokov pred
psocks.h 1b40d9f3ba Auxiliary application: 'psocks', a simple SOCKS server. 5 rokov pred
putty.h 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
puttymem.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
puttyps.h e30e6b0f1d Delete the old 'macosx' directory completely. 9 rokov pred
raw.c ad3c907a62 Remove NULL initialisers in BackendVtables. 4 rokov pred
release.pl fd41f5dac0 release.pl: fix misspelled option in comment. 3 rokov pred
resource.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
rlogin.c ad3c907a62 Remove NULL initialisers in BackendVtables. 4 rokov pred
scpserver.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sesschan.c e9e6c03c6e Uppity: add stunt for unauthorised agent forwarding attempts. 4 rokov pred
sessprep.c fdf7de4a1c sessprep: fix detection of unbracketed IPv6 literals. 6 rokov pred
settings.c 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 rokov pred
sftp.c edadfa7093 Impose an upper bound on incoming SFTP packet length. 3 rokov pred
sftp.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
sftpcommon.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
sftpserver.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sign.sh 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
smallprimes.c 9af72ca1e8 Move init_primes_array out into its own file. 5 rokov pred
ssh.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
ssh.h 97137f5cfd PuTTYgen: explicitly use 'Kbyte' in Argon2 naming. 3 rokov pred
ssh1bpp.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
ssh1censor.c 751a989091 Add and use BinarySource_*INIT_PL. 6 rokov pred
ssh1connection-client.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 rokov pred
ssh1connection-server.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
ssh1connection.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 rokov pred
ssh1connection.h b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 rokov pred
ssh1login-server.c 2762a2025f Merge the 0.74 release branch back to master. 4 rokov pred
ssh1login.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
ssh2bpp-bare.c 1243be890a Support receiving RFC 8308 SSH2_MSG_EXT_INFO. 4 rokov pred
ssh2bpp.c 1243be890a Support receiving RFC 8308 SSH2_MSG_EXT_INFO. 4 rokov pred
ssh2censor.c 751a989091 Add and use BinarySource_*INIT_PL. 6 rokov pred
ssh2connection-client.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 rokov pred
ssh2connection-server.c 75fccc5d58 Pass SshServerConfig through to sesschan.c. 5 rokov pred
ssh2connection.c a859955689 Fix premature exit if 'plink -shareexists' happens early. 4 rokov pred
ssh2connection.h a859955689 Fix premature exit if 'plink -shareexists' happens early. 4 rokov pred
ssh2kex-client.c 3461196197 Pass more information to interactive host key check. 4 rokov pred
ssh2kex-server.c e105908661 Support rsa-sha2-* host keys in Uppity. 4 rokov pred
ssh2transhk.c 67881a129c Add missing del234 in ssh_transient_hostkey_cache_add. 5 rokov pred
ssh2transport.c 46b23c581a ssh2kex-client.c: get rid of s->fingerprint. 4 rokov pred
ssh2transport.h 46b23c581a ssh2kex-client.c: get rid of s->fingerprint. 4 rokov pred
ssh2userauth-server.c 2762a2025f Merge the 0.74 release branch back to master. 4 rokov pred
ssh2userauth.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
sshaes.c 8f3a0ea69f Fix Arm crypto build failure on clang post-12. 3 rokov pred
ssharcf.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshargon2.c 52fa23c7fe Argon2 hprime: remove pointless bounds check. 3 rokov pred
sshauxcrypt.c c61158aa34 Add an IV argument to aes_{en,de}crypt_pubkey. 4 rokov pred
sshbcrypt.c 0d2d20aad0 Access all hashes and MACs through the standard API. 6 rokov pred
sshblake2.c 5c8f3bf924 Add an implementation of BLAKE2b. 4 rokov pred
sshblowf.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshblowf.h 229af2b5bf Turn SSH-2 ciphers into a classoid. 6 rokov pred
sshbpp.h 1243be890a Support receiving RFC 8308 SSH2_MSG_EXT_INFO. 4 rokov pred
sshccp.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshchan.h b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshcommon.c 04758cb3ec Allow pre-storing host key fingerprints of all types. 4 rokov pred
sshcr.h 76430f8237 Assorted benign warning fixes. 5 rokov pred
sshcrc.c 2e866e1fb7 Rewrite CRC implementation to be constant-time. 6 rokov pred
sshcrcda.c 8d747d8029 Add lots of missing 'static' keywords. 5 rokov pred
sshdes.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshdh.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
sshdss.c 2762a2025f Merge the 0.74 release branch back to master. 4 rokov pred
sshdssg.c 18be6aec58 PrimeCandidateSource: remember prime factors of n-1. 5 rokov pred
sshecc.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshecdsag.c 79d3c1783b New vtable API for keygen progress reporting. 5 rokov pred
sshgss.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
sshgssc.c 1547c9c1ec Make dupcat() into a variadic macro. 5 rokov pred
sshgssc.h d515e4f1a3 Support GSS key exchange, for Kerberos 5 only. 6 rokov pred
sshhmac.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshkeygen.h 844e766b03 RSA generation: option to generate strong primes. 5 rokov pred
sshmac.c 61dec9a07a sshmac.c: remove excessive return statement 6 rokov pred
sshmd5.c 456120cfac Rewrite MD5 implementation in my modern style. 4 rokov pred
sshnogss.c a1f3b7a358 Post-release destabilisation! Completely remove the struct type 13 rokov pred
sshppl.h 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 rokov pred
sshprime.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshprng.c 7003b43963 Stop using mp_int in sshprng.c. 4 rokov pred
sshpubk.c fd3f05d215 Fix tight loop on reading truncated key files. 3 rokov pred
sshrand.c 3daa36293e Remove dependency of sshrand.c on SHA-512. 4 rokov pred
sshrsa.c 995e2f7164 Add API for getting all of a key's fingerprints. 4 rokov pred
sshrsag.c 844e766b03 RSA generation: option to generate strong primes. 5 rokov pred
sshserver.c e9e6c03c6e Uppity: add stunt for unauthorised agent forwarding attempts. 4 rokov pred
sshserver.h e9e6c03c6e Uppity: add stunt for unauthorised agent forwarding attempts. 4 rokov pred
sshsh256.c 8f3a0ea69f Fix Arm crypto build failure on clang post-12. 3 rokov pred
sshsh512.c 31cd5ee19b Fix buffer overflow in NEON SHA-384 output. 4 rokov pred
sshsha.c 8f3a0ea69f Fix Arm crypto build failure on clang post-12. 3 rokov pred
sshsha3.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshshare.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshsignals.h 72eca76d20 New system for handling SSH signals. 6 rokov pred
sshttymodes.h dead35dd0f New system for handling SSH terminal modes. 6 rokov pred
sshutils.c 132d48b8f3 Remove redundant #includes from sshutils.c. 4 rokov pred
sshverstring.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred
sshzlib.c 736646b0c9 Fix a few warnings reported by Visual Studio. 3 rokov pred
storage.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
stripctrl.c 0716880f68 stripctrl: clean up precarious handling of 'width'. 5 rokov pred
supdup.c df2994a05a Make the backend_init error message dynamic. (NFC) 4 rokov pred
telnet.c df2994a05a Make the backend_init error message dynamic. (NFC) 4 rokov pred
terminal.c 746d87fc6f Fix palette escape sequences sometimes not working. 3 rokov pred
terminal.h 334688db81 Apply UPDATE_DELAY in arrears, not in advance. 4 rokov pred
testback.c 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 rokov pred
testcrypt.c 1da353e649 Introduce OpenSSH-compatible SHA256 key fingerprinting. 4 rokov pred
testcrypt.h 1da353e649 Introduce OpenSSH-compatible SHA256 key fingerprinting. 4 rokov pred
testsc.c 08d17140a0 Introduce PPK file format version 3. 4 rokov pred
testzlib.c 2f832bb21f Ensure test programs have a dputs(). 4 rokov pred
time.c 162398e55e Comment explaining location in top-level directory. 20 rokov pred
timing.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
tree234.c cbfba7a0e9 Greatly improve printf format-string checking. 5 rokov pred
tree234.h 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
utils.c 995e2f7164 Add API for getting all of a key's fingerprints. 4 rokov pred
version.c 787181bb12 Add some missing #includes. 5 rokov pred
version.h 650404f32c Server prep: pass "implementation name" to ssh_verstring_new. 6 rokov pred
wcwidth.c 20d1c47484 wcwidth: update wide[] array to Unicode 13.0.0. 4 rokov pred
wildcard.c 5d718ef64b Whitespace rationalisation of entire code base. 5 rokov pred
x11fwd.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 rokov pred

README

This is the README for the source archive of PuTTY, a free Windows
and Unix Telnet and SSH client.

If you want to rebuild PuTTY from source, we provide a variety of
Makefiles and equivalents. (If you have fetched the source from
Git, you'll have to generate the Makefiles yourself -- see
below.)

There are various compile-time directives that you can use to
disable or modify certain features; it may be necessary to do this
in some environments. They are documented in `Recipe', and in
comments in many of the generated Makefiles.

For building on Windows:

- windows/Makefile.vc is for command-line builds on MS Visual C++
systems. Change into the `windows' subdirectory and type `nmake
-f Makefile.vc' to build all the PuTTY binaries.

As of 2017, we successfully compile PuTTY with both Visual Studio
7 (2003) and Visual Studio 14 (2015), so our guess is that it will
probably build with versions in between those as well.

(The binaries from Visual Studio 14 are only compatible with
Windows XP and up. Binaries from Visual Studio 7 ought to work
with anything from Windows 95 onward.)

- Inside the windows/MSVC subdirectory are MS Visual Studio project
files for doing GUI-based builds of the various PuTTY utilities.
These have been tested on Visual Studio 7 and 10.

You should be able to build each PuTTY utility by loading the
corresponding .dsp file in Visual Studio. For example,
MSVC/putty/putty.dsp builds PuTTY itself, MSVC/plink/plink.dsp
builds Plink, and so on.

- windows/Makefile.mgw is for MinGW / Cygwin installations. Type
`make -f Makefile.mgw' while in the `windows' subdirectory to
build all the PuTTY binaries.

MinGW and friends can lag behind other toolchains in their support
for the Windows API. Compile-time levers are provided to exclude
some features; the defaults are set appropriately for the
'mingw-w64' cross-compiler provided with Ubuntu 14.04. If you are
using an older toolchain, you may need to exclude more features;
alternatively, you may find that upgrading to a recent version of
the 'w32api' package helps.

- windows/Makefile.lcc is for lcc-win32. Type `make -f
Makefile.lcc' while in the `windows' subdirectory. (You will
probably need to specify COMPAT=-DNO_MULTIMON.)

- Inside the windows/DEVCPP subdirectory are Dev-C++ project
files for doing GUI-based builds of the various PuTTY utilities.

The PuTTY team actively use Makefile.vc (with VC7/10) and Makefile.mgw
(with mingw32), so we'll probably notice problems with those
toolchains fairly quickly. Please report any problems with the other
toolchains mentioned above.

For building on Unix:

- unix/configure is for Unix and GTK. If you don't have GTK, you
should still be able to build the command-line utilities (PSCP,
PSFTP, Plink, PuTTYgen) using this script. To use it, change into
the `unix' subdirectory, run `./configure' and then `make'. Or you
can do the same in the top-level directory (we provide a little
wrapper that invokes configure one level down), which is more like
a normal Unix source archive but doesn't do so well at keeping the
per-platform stuff in each platform's subdirectory; it's up to you.

- unix/Makefile.gtk and unix/Makefile.ux are for non-autoconfigured
builds. These makefiles expect you to change into the `unix'
subdirectory, then run `make -f Makefile.gtk' or `make -f
Makefile.ux' respectively. Makefile.gtk builds all the programs but
relies on Gtk, whereas Makefile.ux builds only the command-line
utilities and has no Gtk dependence.

- For the graphical utilities, any of Gtk+-1.2, Gtk+-2.0, and Gtk+-3.0
should be supported. If you have more than one installed, you can
manually specify which one you want by giving the option
'--with-gtk=N' to the configure script where N is 1, 2, or 3.
(The default is the newest available, of course.) In the absence
of any Gtk version, the configure script will automatically
construct a Makefile which builds only the command-line utilities;
you can manually create this condition by giving configure the
option '--without-gtk'.

- pterm would like to be setuid or setgid, as appropriate, to permit
it to write records of user logins to /var/run/utmp and
/var/log/wtmp. (Of course it will not use this privilege for
anything else, and in particular it will drop all privileges before
starting up complex subsystems like GTK.) By default the makefile
will not attempt to add privileges to the pterm executable at 'make
install' time, but you can ask it to do so by running configure
with the option '--enable-setuid=USER' or '--enable-setgid=GROUP'.

- The Unix Makefiles have an `install' target. Note that by default
it tries to install `man' pages; if you have fetched the source via
Git then you will need to have built these using Halibut
first - see below.

- It's also possible to build the Windows version of PuTTY to run
on Unix by using Winelib. To do this, change to the `windows'
directory and run `make -f Makefile.mgw CC=winegcc RC=wrc'.

All of the Makefiles are generated automatically from the file
`Recipe' by the Perl script `mkfiles.pl' (except for the Unix one,
which is generated by the `configure' script; mkfiles.pl only
generates the input to automake). Additions and corrections to Recipe,
mkfiles.pl and/or configure.ac are much more useful than additions and
corrections to the actual Makefiles, Makefile.am or Makefile.in.

The Unix `configure' script and its various requirements are generated
by the shell script `mkauto.sh', which requires GNU Autoconf, GNU
Automake, and Gtk; if you've got the source from Git rather
than using one of our source snapshots, you'll need to run this
yourself. The input file to Automake is generated by mkfiles.pl along
with all the rest of the makefiles, so you will need to run mkfiles.pl
and then mkauto.sh.

Documentation (in various formats including Windows Help and Unix
`man' pages) is built from the Halibut (`.but') files in the `doc'
subdirectory using `doc/Makefile'. If you aren't using one of our
source snapshots, you'll need to do this yourself. Halibut can be
found at .

The PuTTY home web site is

https://www.chiark.greenend.org.uk/~sgtatham/putty/

If you want to send bug reports or feature requests, please read the
Feedback section of the web site before doing so. Sending one-line
reports saying `it doesn't work' will waste your time as much as
ours.

See the file LICENCE for the licence conditions.