mirror of git://git.tartarus.org/simon/putty.git, used for client testing
Перейти к файлу
Simon Tatham 5c00b581c8 Propagate file permissions in both directions in Unix pscp and psftp.
I think I have to consider this to be a separate but related change to
the wishlist item 'pscp-filemodes'; that was written before the Unix
port existed, and referred to the ability to configure the permissions
used for files copied from Windows to Unix - which is still not done.

[originally from svn r9260]
2011-08-11 17:59:30 +00:00
charset Propagate my ctype fixes (r8404) from libcharset. 2009-01-11 14:20:34 +00:00
contrib Add a directory 'contrib/cygtermd', containing the source code for my 2011-07-10 14:22:32 +00:00
doc Bump version number prior to tagging 0.61 release. 2011-07-12 18:26:18 +00:00
icons Stop using physical tabs in Python. (I was goaded into doing this by 2009-02-28 23:04:58 +00:00
macosx Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
testdata Make bignum.py self-contained, by importing versions of the two 2011-02-22 00:06:12 +00:00
unix Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
windows Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
Buildscr Generate some checksum files with more up-to-date hash functions than 2011-07-10 11:45:52 +00:00
CHECKLST.txt Readjust checklist, because actually the section on updating the 2011-07-12 19:59:15 +00:00
LATEST.VER Bump version number prior to tagging 0.61 release. 2011-07-12 18:26:18 +00:00
LICENCE It's a new year. 2011-01-05 12:01:00 +00:00
README Add a wrapper script called 'configure' at the top level, which runs 2011-07-23 11:40:26 +00:00
Recipe Fix bug in which the SSH-only tools (pscp, psftp) did not honour a 2011-07-27 18:43:16 +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 Fix bug in which the SSH-only tools (pscp, psftp) did not honour a 2011-07-27 18:43:16 +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
be_ssh.c Fix bug in which the SSH-only tools (pscp, psftp) did not honour a 2011-07-27 18:43:16 +00:00
cmdgen.c Fixes (mostly from Colin Watson, a couple redone by me) to make Unix 2011-05-07 10:57:19 +00:00
cmdline.c Missing free. 2011-07-15 18:21:30 +00:00
conf.c conf_copy_into must empty the entire target conf before filling it 2011-07-15 18:18:28 +00:00
config.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
configure Make the top-level configure wrapper executable. (I thought I'd done 2011-07-23 12:10:14 +00:00
cproxy.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
dialog.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
dialog.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
import.c Add comments on OpenSSH AES-encrypted key support, including one 2010-04-12 11:02:06 +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 Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
ldisc.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
ldiscucs.c Fix the _rest_ of the Windows compile warnings. (ahem) 2011-07-12 18:13:33 +00:00
logging.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
minibidi.c Fixes (mostly from Colin Watson, a couple redone by me) to make Unix 2011-05-07 10:57:19 +00:00
misc.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +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 Switch to using automake for the Unix autoconfigured build. 2011-07-23 11:33:29 +00:00
mkfiles.pl Add a convenience option to mkfiles.pl for Unix users. If you run 2011-07-23 11:58:37 +00:00
mksrcarc.sh Fiddle with source archive for new OS X files. 2005-03-11 09:07:37 +00:00
mkunxarc.sh Switch to using automake for the Unix autoconfigured build. 2011-07-23 11:33:29 +00:00
network.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
nocproxy.c Malcolm Smith's patch to support CHAP (digest-based) authentication 2004-08-30 13:11:17 +00:00
nogss.c Rewrite gprefs() in settings.c so that its input mapping includes 2011-06-25 17:37:31 +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
pgssapi.c Patch from Alejandro Sedeno, somewhat modified by me, which 2010-05-19 18:22:17 +00:00
pgssapi.h Patch from Alejandro Sedeno, somewhat modified by me, which 2010-05-19 18:22:17 +00:00
pinger.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
portfwd.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
pproxy.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
proxy.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
proxy.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
pscp.c Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
psftp.c Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
psftp.h Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
putty.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
puttymem.h Missing argument in MALLOC_LOG version of snrealloc() macro. 2005-07-06 18:26:41 +00:00
puttyps.h Oops: r9004 should have removed various pieces from the Makefile and 2010-09-25 08:37:30 +00:00
raw.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
resource.h Initial checkin: beta 0.43 1999-01-08 13:02:13 +00:00
rlogin.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
sercfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
settings.c Don't delete everything under a string-subkeyed primary key by using a 2011-07-15 18:30:47 +00:00
sftp.c Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
sftp.h Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
sign.sh Generate some checksum files with more up-to-date hash functions than 2011-07-10 11:45:52 +00:00
ssh.c Minor amendment to r9226: don't log GSSAPI failure in the Event Log 2011-07-18 18:09:36 +00:00
ssh.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
sshaes.c Support importing of new-style OpenSSH private keys (encrypted by 2010-04-12 10:55:31 +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 Fix Windows compile warnings by adding explicit casts. 2011-07-12 18:09:46 +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 Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
sshgssc.c Patch from Alejandro Sedeno, somewhat modified by me, which 2010-05-19 18:22:17 +00:00
sshgssc.h Patch from Alejandro Sedeno, somewhat modified by me, which 2010-05-19 18:22:17 +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
sshnogss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +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 Plug a few minor memory leaks, based on a patch by Sirp Potijk. 2010-01-17 16:20:45 +00:00
sshrsa.c Implement the Chinese Remainder Theorem optimisation for speeding up 2011-02-18 08:25:39 +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 Patch from Tim Kosse to fix 64-bit-cleanness in SHA-512. 2009-11-10 19:14:15 +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 Implement zlib@openssh.com, using the rekey-after-userauth method suggested in 2011-03-04 22:34:47 +00:00
storage.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
telnet.c Trivial fix for assertion failure introduced by the config revamp. 2011-07-19 17:06:43 +00:00
terminal.c Fix display of VT100 vertically-offset horizontal line characters 2011-07-16 11:13:00 +00:00
terminal.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
testback.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
time.c Comment explaining location in top-level directory. 2005-02-07 15:23:45 +00:00
timing.c Revert r8847, which was bilge; I can't magically change the order of a tree 2010-01-17 23:53:29 +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 Switch to using automake for the Unix autoconfigured build. 2011-07-23 11:33:29 +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 Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +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'. 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.

   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. If you have both installed, you can manually specify
   which one you want by giving the option '--with-gtk=1' or
   '--with-gtk=2' to the configure script. (2 is the default, of
   course.) In the absence of either, 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
   Subversion then you will need to have built these using Halibut
   first - see below.

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