mirror of git://git.tartarus.org/simon/putty.git, used for client testing
Перейти к файлу
Jacob Nevins 16eeab4066 Avoid "dereferencing pointer 'sa' does break strict-aliasing rules" warnings
from recent versions of GCC.

[originally from svn r8612]
2009-08-06 22:12:05 +00:00
charset Propagate my ctype fixes (r8404) from libcharset. 2009-01-11 14:20:34 +00:00
contrib Ansgar Wiechers points out that known_hosts (at least OpenSSH's) has grown a 2009-04-26 23:44:28 +00:00
doc Typo: replace a \i with a \I. 2009-07-12 12:02:58 +00:00
icons Stop using physical tabs in Python. (I was goaded into doing this by 2009-02-28 23:04:58 +00:00
mac It's a new year (and there have even been checkins). 2009-01-05 23:49:19 +00:00
macosx r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a 2009-01-04 23:36:24 +00:00
testdata Add an option to use wcwidth_cjk() instead of wcwidth(), as several people 2005-03-22 23:20:23 +00:00
unix Avoid "dereferencing pointer 'sa' does break strict-aliasing rules" warnings 2009-08-06 22:12:05 +00:00
windows Support in the cross-platform code for translating to and from 2009-03-24 22:24:31 +00:00
Buildscr Capitalisation error. 2007-04-22 08:56:31 +00:00
CHECKLST.txt I've changed my mind about the PuTTY build script. It now delivers 2007-02-08 18:53:11 +00:00
LATEST.VER Update version numbers for 0.60 release. 2007-04-29 11:28:54 +00:00
LICENCE It's a new year (and there have even been checkins). 2009-01-05 23:49:19 +00:00
README Mention Makefile.ux. 2009-07-28 23:30:38 +00:00
Recipe Add a 'unix' Makefile type, for building the non-GUI parts of the 2009-05-11 18:48:43 +00:00
be_all.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
be_all_s.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
be_none.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
be_nos_s.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
be_nossh.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
cmdgen.c Arguments to ctype functions are required to be either EOF or representable 2009-01-11 14:26:27 +00:00
cmdline.c Been meaning to do this for years: introduce a configuration option 2008-06-01 11:16:32 +00:00
config.c Clearing and refilling the code-pages list box can cause a 2009-06-10 17:42:15 +00:00
cproxy.c Fix/bludgeon Mac compile wrinkles. 2005-01-20 16:42:25 +00:00
dialog.c Patch from Rene Post: ctrl_{drag,drop}list both now initialise the 2003-05-12 13:41:41 +00:00
dialog.h Update all the list box code in gtkdlg.c to use the new-style GTK2 2008-04-02 14:48:06 +00:00
import.c Fix `puttygen-unix-perms': f_open(), PuTTY's wrapper on fopen, now 2007-01-09 18:14:30 +00:00
int64.c Further correction: on reflection, after examining all the call 2008-09-16 22:56:08 +00:00
int64.h Some extra int64 functions. 2006-08-05 13:48:53 +00:00
ldisc.c At last! After much delay, much faffing back and forth, and much 2004-05-22 10:36:50 +00:00
ldisc.h Add a Config * argument to ldisc_create(), and use it in place of the global 2002-11-23 20:02:38 +00:00
ldiscucs.c Support in the cross-platform code for translating to and from 2009-03-24 22:24:31 +00:00
logging.c Stop attempting to make session logs private on Unix. This was introduced in 2009-02-23 22:40:09 +00:00
minibidi.c Patch from Aidan Kehoe to extend the Arabic shaping code to Urdu and 2008-06-29 09:14:26 +00:00
misc.c Bah, I've bumped into this often enough. Change one unsatisfactory cast for 2009-01-04 22:24:08 +00:00
misc.h Sprinkle some header comments in various files in an attempt to explain what 2006-04-23 18:26:03 +00:00
mkauto.sh Merge from trunk up to r8020. 2008-05-28 19:28:17 +00:00
mkfiles.pl Add a 'unix' Makefile type, for building the non-GUI parts of the 2009-05-11 18:48:43 +00:00
mksrcarc.sh Fiddle with source archive for new OS X files. 2005-03-11 09:07:37 +00:00
mkunxarc.sh Fixes for snapshot building using bob. All of releases, snapshots 2007-02-05 12:49:24 +00:00
network.h Since r8305, Unix PuTTY has always "upgraded" an X11 display like "localhost:0" 2009-02-24 01:01:23 +00:00
nocproxy.c Malcolm Smith's patch to support CHAP (digest-based) authentication 2004-08-30 13:11:17 +00:00
noprint.c A few small changes to make the PuTTY source base more usable as a 2005-12-09 20:04:19 +00:00
notiming.c A few small changes to make the PuTTY source base more usable as a 2005-12-09 20:04:19 +00:00
pinger.c New timing infrastructure. There's a new function schedule_timer() 2004-11-27 13:20:21 +00:00
portfwd.c When starting a SOCKS connection in dynamic forwarding, freeze the 2009-04-23 17:33:42 +00:00
pproxy.c Add a configuration option for TCP keepalives (SO_KEEPALIVE), default off. 2004-06-20 17:07:38 +00:00
proxy.c Fix several bugs that stopped %proxyport from doing anything useful. 2007-01-21 23:34:51 +00:00
proxy.h Malcolm Smith's patch to support CHAP (digest-based) authentication 2004-08-30 13:11:17 +00:00
pscp.c When giving authorisation errors from the proxy code in x11fwd.c, 2009-04-23 17:39:36 +00:00
psftp.c When giving authorisation errors from the proxy code in x11fwd.c, 2009-04-23 17:39:36 +00:00
psftp.h Large file support for psftp and pscp on both Windows and Unix. On Unix 2006-08-12 15:20:19 +00:00
putty.h New option to allow use of the local OS username for login to the remote side 2008-11-24 17:51:42 +00:00
puttymem.h Missing argument in MALLOC_LOG version of snrealloc() macro. 2005-07-06 18:26:41 +00:00
puttyps.h Sprinkle some header comments in various files in an attempt to explain what 2006-04-23 18:26:03 +00:00
raw.c Been meaning to do this for years: introduce a configuration option 2008-06-01 11:16:32 +00:00
resource.h Initial checkin: beta 0.43 1999-01-08 13:02:13 +00:00
rlogin.c New option to allow use of the local OS username for login to the remote side 2008-11-24 17:51:42 +00:00
sercfg.c Avoid creating the Session/hostport control set in mid-session. 2007-04-22 14:39:01 +00:00
settings.c r5080 didn't go far enough -- since 0.58, anyone on Unix who didn't previously 2009-01-05 19:39:27 +00:00
sftp.c Get rid of all the MSVC warnings. 2007-01-09 18:24:07 +00:00
sftp.h Joe Yates's memory leak patches. 2003-12-19 12:44:46 +00:00
sign.sh Script to generate signatures on the various PuTTY build outputs. 2007-02-05 13:53:48 +00:00
ssh.c Richard Clark points out a missing check for ssh->mainchan being NULL. 2009-04-24 18:45:22 +00:00
ssh.h Mitigation for VU#958563: When using a CBC-mode server-to-client cipher 2008-11-26 12:49:25 +00:00
sshaes.c Now that we've got at least some SDCTR modes working (and aes256-ctr is our 2005-04-23 16:22:51 +00:00
ssharcf.c Get rid of all the MSVC warnings. 2007-01-09 18:24:07 +00:00
sshblowf.c Enable blowfish-ctr by default. It's been tested and found working. 2005-04-28 08:56:03 +00:00
sshbn.c Get rid of all the MSVC warnings. 2007-01-09 18:24:07 +00:00
sshcrc.c Rename crc32() to crc32_compute(), to avoid clashing catastrophically 2003-05-13 18:23:43 +00:00
sshcrcda.c Unify GET_32BIT()/PUT_32BIT() et al from numerous source files into misc.h. 2005-04-12 20:04:56 +00:00
sshdes.c Replace mentions of SSH-2 I-Ds with references to the corresponding RFCs. 2007-10-03 21:21:18 +00:00
sshdh.c Add support for RFC 4432 RSA key exchange, the patch for which has been 2007-04-30 22:09:26 +00:00
sshdss.c Replace mentions of SSH-2 I-Ds with references to the corresponding RFCs. 2007-10-03 21:21:18 +00:00
sshdssg.c Arrgh, there's always one. Actually check in the extra file :-) 2001-09-22 21:00:53 +00:00
sshgss.h Change the Unix version of Ssh_gss_name to be a gss_name_t rather than 2008-12-01 21:18:29 +00:00
sshmd5.c Mitigation for VU#958563: When using a CBC-mode server-to-client cipher 2008-11-26 12:49:25 +00:00
sshprime.c Fix a memory leak in key generation. 2006-02-27 23:55:07 +00:00
sshpubk.c Make key file import robust against a PPK file that has somehow lost its 2008-11-23 20:11:12 +00:00
sshrand.c Owen's just pointed out that random_stir() is capable of recursion. 2005-01-22 14:51:29 +00:00
sshrsa.c Ahem. Make sure I NULL out any unused pointer field that I later 2008-10-08 18:09:56 +00:00
sshrsag.c Add support for DSA authentication in SSH2, following clever ideas 2001-09-22 20:52:21 +00:00
sshsh256.c Log the hash used for DH kex (now there's a choice). 2006-03-12 15:39:19 +00:00
sshsh512.c SHA512_Core_Init() and SHA512_Block() are unused outside this file. Make 2003-01-05 23:34:00 +00:00
sshsha.c Mitigation for VU#958563: When using a CBC-mode server-to-client cipher 2008-11-26 12:49:25 +00:00
sshzlib.c Patch from Colin Watson intended to give a clean Unix compile with GCC 4. 2006-12-30 23:00:14 +00:00
storage.h Various error-handling fixes, mostly in Unix PuTTY but one (failure 2003-04-01 18:10:25 +00:00
telnet.c New option to allow use of the local OS username for login to the remote side 2008-11-24 17:51:42 +00:00
terminal.c Support in the cross-platform code for translating to and from 2009-03-24 22:24:31 +00:00
terminal.h Cosmetic: clarify that term->xterm_mouse is not boolean, etc. 2008-12-20 18:52:09 +00:00
testback.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
time.c Comment explaining location in top-level directory. 2005-02-07 15:23:45 +00:00
timing.c Render timing.c robust in the face of strangeness. The strangenesses 2005-03-28 17:48:24 +00:00
tree234.c Patch from Colin Watson intended to give a clean Unix compile with GCC 4. 2006-12-30 23:00:14 +00:00
tree234.h Run entire source base through GNU indent to tidy up the varying 2001-05-06 14:35:20 +00:00
version.c Version management updates for the new bob build script. There's now 2007-02-04 12:30:39 +00:00
wcwidth.c `wcwidth-upgrade': upgrade to latest wcwidth.c from Markus Kuhn 2005-03-23 20:04:08 +00:00
wildcard.c Add notes on our globs' incompatibilities with POSIX 2004-04-27 12:52:34 +00:00
x11fwd.c When giving authorisation errors from the proxy code in x11fwd.c, 2009-04-23 17:39:36 +00:00

README

This is the README for the source archive of PuTTY, a free Win32
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
Subversion, 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.

   Last time we checked, PuTTY built with vanilla VC7, or VC6 with
   an up-to-date Platform SDK. (It might still be possible to build
   with vanilla VC6, but you'll certainly have to remove some
   functionality with directives such as NO_IPV6.)

   (We've also had reports of success building with the
   OpenWatcom compiler -- www.openwatcom.org -- using Makefile.vc
   with `wmake -ms -f makefile.vc' and NO_MULTIMON, although we
   haven't tried this ourselves. Version 1.3 is reported to work.)

 - 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 6.

   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.bor is for the Borland C compiler. Type `make -f
   Makefile.bor' while in the `windows' subdirectory to build all
   the PuTTY binaries.

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

   You'll probably need quite a recent version of the w32api package.
   Note that by default the multiple monitor and HTML Help support are
   excluded from the Cygwin build, since at the time of writing Cygwin
   doesn't include the necessary headers.

 - 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) and Makefile.cyg
(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'.

   Note that Unix PuTTY has mostly only been tested on Linux so far;
   portability problems such as BSD-style ptys or different header file
   requirements are expected.

 - 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, Gtk+-1.2 and Gtk+-2.0 should both be
   supported.

 - Both Unix Makefiles have an `install' target. Note that by default
   it tries to install `man' pages, which you may need to have built
   using Halibut first -- see below.

All of the Makefiles are generated automatically from the file
`Recipe' by the Perl script `mkfiles.pl'. Additions and corrections
to Recipe and the mkfiles.pl are much more useful than additions and
corrections to the alternative Makefiles themselves.

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 Subversion rather
than using one of our source snapshots, you'll need to run this
yourself.

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 <http://www.chiark.greenend.org.uk/~sgtatham/halibut/>.

The PuTTY home web site is

    http://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.