1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
Go to file
Ben Harris 22cde3ee5b Separate out the code for creating and sending SSH version strings so that in
the SSH-2-only case, we can send it as soon as we connect rather than waiting
for the server's one.  Unfortunately, actually doing so will take a little
more effort -- there are subtleties to do with having a working log context
at the right moment that need to be sorted out.

[originally from svn r7645]
2007-07-19 23:53:02 +00:00
charset sbcsgen.pl was giving different results on different machines in the case 2006-04-26 23:01:06 +00:00
contrib Consistently use a single notation to refer to SSH protocol versions, as 2005-03-10 16:36:05 +00:00
doc Index "MAC" a bit more thoroughly. 2007-05-29 20:06:45 +00:00
icons `installer.ico' doesn't fit into 8.3, so gets truncated to INSTALLE.ICO in 2007-02-06 22:39:15 +00:00
mac Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
macosx Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +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 Implement Marcin Bulandra's suggestion of only automatically updating the 2007-07-01 15:47:31 +00:00
windows Implement Marcin Bulandra's suggestion of only automatically updating the 2007-07-01 15:47:31 +00:00
be_all_s.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
be_all.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
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
cmdgen.c get_random_data() can return NULL (for instance, if we can't open /dev/random 2007-03-13 14:43:14 +00:00
cmdline.c Process -t/-T later than -m, so that they can override -m's default behaviour 2007-02-28 23:31:49 +00:00
config.c Implement Marcin Bulandra's suggestion of only automatically updating the 2007-07-01 15:47:31 +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 Support for Windows PuTTY connecting straight to a local serial port 2006-08-28 10:35:12 +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 Some extra int64 functions. 2006-08-05 13:48:53 +00:00
int64.h Some extra int64 functions. 2006-08-05 13:48:53 +00:00
LATEST.VER Update version numbers for 0.60 release. 2007-04-29 11:28:54 +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 Introduced wrapper macros snew(), snewn() and sresize() for the 2003-03-29 16:14:26 +00:00
LICENCE It's a new year. 2007-01-01 21:19:14 +00:00
logging.c Fix `puttygen-unix-perms': f_open(), PuTTY's wrapper on fopen, now 2007-01-09 18:14:30 +00:00
minibidi.c Reinstate as much of the Windows font-linking behaviour as I can 2006-11-18 15:10:48 +00:00
misc.c Patch from Colin Watson intended to give a clean Unix compile with GCC 4. 2006-12-30 23:00:14 +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 Move generation of the "configure" script into its own script so that 2005-04-25 16:36:43 +00:00
mkfiles.pl This reordering of the Unix Makefiles (requested by Michael Shigorin) allows 2007-02-18 22:05:45 +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 Support for falling back through the list of addresses returned from 2005-01-16 14:29:34 +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 Sprinkle some header comments in various files in an attempt to explain what 2006-04-23 18:26:03 +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 The `socket' function in the backends is only ever checked to see if 2006-08-27 08:03:19 +00:00
psftp.c When we get an error writing to a local file, stop the download rather than 2007-04-10 21:46:44 +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 Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +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 Implement Marcin Bulandra's suggestion of only automatically updating the 2007-07-01 15:47:31 +00:00
README Miscellaneous updates. 2007-01-10 00:54:08 +00:00
Recipe Since r7496, Pageant needs sshsh256 to build (although it doesn't need 2007-05-01 13:14:23 +00:00
resource.h Initial checkin: beta 0.43 1999-01-08 13:02:13 +00:00
rlogin.c Implement Marcin Bulandra's suggestion of only automatically updating the 2007-07-01 15:47:31 +00:00
sercfg.c Avoid creating the Session/hostport control set in mid-session. 2007-04-22 14:39:01 +00:00
settings.c Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +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 Separate out the code for creating and sending SSH version strings so that in 2007-07-19 23:53:02 +00:00
ssh.h Add support for RFC 4432 RSA key exchange, the patch for which has been 2007-04-30 22:09:26 +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 Unlike the AES and Blowfish code, our implementations of the various DES 2005-04-30 14:30:07 +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 Sprinkle some header comments in various files in an attempt to explain what 2006-04-23 18:26:03 +00:00
sshdssg.c Arrgh, there's always one. Actually check in the extra file :-) 2001-09-22 21:00:53 +00:00
sshmd5.c Rename ssh_md5 and ssh_sha1 to ssh_hmac_md5 and ssh_hmac_sha1 respectively. 2005-08-31 19:11:19 +00:00
sshprime.c Fix a memory leak in key generation. 2006-02-27 23:55:07 +00:00
sshpubk.c Fix `puttygen-unix-perms': f_open(), PuTTY's wrapper on fopen, now 2007-01-09 18:14:30 +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 Fix a couple of signedness compiler warnings, presumably due to me 2007-06-30 18:18:20 +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 Log the hash used for DH kex (now there's a choice). 2006-03-12 15:39:19 +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 Rationalise access to, and content of, backends[] array. 2007-06-30 21:56:44 +00:00
terminal.c The direct link between the terminal and the back end via 2007-01-24 13:53:28 +00:00
terminal.h Er, ahem. Other half of r6788. :-/ 2006-08-15 22:48:01 +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 Get rid of all the MSVC warnings. 2007-01-09 18:24:07 +00:00

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 is possible to build with
   vanilla VC6, but you'll 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 and Makefile.cyg, 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 is for non-autoconfigured builds. This makefile
   expects you to change into the `unix' subdirectory, then run `make
   -f Makefile.gtk'.

 - For the graphical utilities, Gtk+-1.2 is required. Gtk+-2.0 is not
   yet 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.