1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00
Go to file
Simon Tatham d764872e9e Rewrite gprefs() in settings.c so that its input mapping includes
information about where to put items that aren't mentioned in the
saved configuration. So far the only nontrivial use I've made of this
facility is to default to placing KEX_RSA just above KEX_WARN in the
absence of any other information, which should fix
'ssh2-rsa-kex-pref'.

While I'm here I've rewritten wprefs() on general principles to remove
the needless length limit, since I was touching it anyway. The length
limit is still in gprefs (but I've lengthened it just in case).

[originally from svn r9181]
2011-06-25 17:37:31 +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 The documentation was still claiming that we don't support x11-auth. 2011-04-08 15:52:02 +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 Centralise generation of the control sequences for arrow keys into a 2010-03-06 15:50:26 +00:00
testdata Make bignum.py self-contained, by importing versions of the two 2011-02-22 00:06:12 +00:00
unix Rewrite gprefs() in settings.c so that its input mapping includes 2011-06-25 17:37:31 +00:00
windows Rewrite gprefs() in settings.c so that its input mapping includes 2011-06-25 17:37: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 Remove references to the now-dead Mac OS 9 port. 2011-01-05 11:58:52 +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 Support for Windows 7 jump lists (right-click on a program's taskbar 2010-12-23 17:32:28 +00:00
config.c Tweak to r7635: when changing between protocols in the configuration dialog 2011-01-14 19:57:00 +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 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
LATEST.VER Update version numbers for 0.60 release. 2007-04-29 11:28:54 +00:00
ldisc.c Cast incoming characters to unsigned char to avoid accidental sign 2010-09-09 14:32:25 +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
LICENCE It's a new year. 2011-01-05 12:01:00 +00:00
logging.c Minor improvements to error reporting in logging. 2009-08-30 11:09:22 +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 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 an 'XLFLAGS' make variable to Makefile.vc, permitting user- 2010-12-20 13:04:34 +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
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 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 Workarounds for compiling with -D_FORTIFY_SOURCE=2 (as Ubuntu does), which 2009-08-07 00:19:04 +00:00
psftp.c Remove an unused variable (should shut up a warning from GCC 4.6). 2011-03-01 23:04:37 +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 Rewrite gprefs() in settings.c so that its input mapping includes 2011-06-25 17:37:31 +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 Been meaning to do this for years: introduce a configuration option 2008-06-01 11:16:32 +00:00
README Mention Makefile.ux. 2009-07-28 23:30:38 +00:00
Recipe Support for Windows 7 jump lists (right-click on a program's taskbar 2010-12-23 17:32:28 +00:00
resource.h Initial checkin: beta 0.43 1999-01-08 13:02:13 +00:00
rlogin.c Prompt for a remote username in rlogin connections, if one wasn't 2011-02-18 19:12:20 +00:00
sercfg.c Add a keyboard shortcut for the "serial" protocol to the GUI. 2009-11-13 13:24:32 +00:00
settings.c Rewrite gprefs() in settings.c so that its input mapping includes 2011-06-25 17:37:31 +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 When we fail to get a response from Pageant, we should log the fact. 2011-06-08 20:39:06 +00:00
ssh.h Implement zlib@openssh.com, using the rekey-after-userauth method suggested in 2011-03-04 22:34:47 +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 Rejig the bottom-level loops in internal_mul_* to use pointers instead 2011-02-22 19:09:27 +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 Cleanups of the GSSAPI support. On Windows, standard GSS libraries 2010-09-25 07:16:56 +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 Cleanups of the GSSAPI support. On Windows, standard GSS libraries 2010-09-25 07:16:56 +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 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 Fixes (mostly from Colin Watson, a couple redone by me) to make Unix 2011-05-07 10:57:19 +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 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 When doing custom bob builds from a given SVN revision, include the 2010-04-26 17:28:42 +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

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.