Permalink
Browse files

putty import

  • Loading branch information...
0 parents commit fcd53e10ea07da7576e0fbc9429a157e7910f227 @sztupy committed Oct 8, 2010
Showing with 146,307 additions and 0 deletions.
  1. +31 −0 BE_ALL.C
  2. +32 −0 BE_ALL_S.C
  3. +11 −0 BE_NONE.C
  4. +33 −0 BE_NOSSH.C
  5. +34 −0 BE_NOS_S.C
  6. +113 −0 BUILDSCR
  7. +154 −0 CHARSET/CHARSET.H
  8. +19 −0 CHARSET/ENUM.C
  9. +91 −0 CHARSET/FROMUCS.C
  10. +89 −0 CHARSET/INTERNAL.H
  11. +125 −0 CHARSET/LOCALENC.C
  12. +169 −0 CHARSET/MACENC.C
  13. +214 −0 CHARSET/MIMEENC.C
  14. +15 −0 CHARSET/README
  15. +53 −0 CHARSET/SBCS.C
  16. +1,117 −0 CHARSET/SBCS.DAT
  17. +4,018 −0 CHARSET/SBCSDAT.C
  18. +110 −0 CHARSET/SBCSGEN.PL
  19. +29 −0 CHARSET/SLOOKUP.C
  20. +89 −0 CHARSET/TOUCS.C
  21. +882 −0 CHARSET/UTF8.C
  22. +93 −0 CHARSET/XENC.C
  23. +1,576 −0 CMDGEN.C
  24. +565 −0 CMDLINE.C
  25. +2,379 −0 CONFIG.C
  26. +157 −0 CONTRIB/KH2REG.PY
  27. +190 −0 CPROXY.C
  28. +595 −0 DIALOG.C
  29. +708 −0 DIALOG.H
  30. +36 −0 DOC/BLURB.BUT
  31. +23 −0 DOC/CHM.BUT
  32. +7 −0 DOC/CHM.CSS
  33. +3,319 −0 DOC/CONFIG.BUT
  34. +356 −0 DOC/ERRORS.BUT
  35. +1,454 −0 DOC/FAQ.BUT
  36. +423 −0 DOC/FEEDBACK.BUT
  37. +155 −0 DOC/GS.BUT
  38. +851 −0 DOC/INDEX.BUT
  39. +88 −0 DOC/INTRO.BUT
  40. +29 −0 DOC/LICENCE.BUT
  41. +75 −0 DOC/MAKEFILE
  42. +207 −0 DOC/MAN-PG.BUT
  43. +185 −0 DOC/MAN-PL.BUT
  44. +116 −0 DOC/MAN-PSCP.BUT
  45. +101 −0 DOC/MAN-PSFT.BUT
  46. +189 −0 DOC/MAN-PTEL.BUT
  47. +676 −0 DOC/MAN-PTER.BUT
  48. +263 −0 DOC/MAN-PUTT.BUT
  49. +3 −0 DOC/MANCFG.BUT
  50. +3 −0 DOC/MANPAGES.BUT
  51. +273 −0 DOC/PAGEANT.BUT
  52. +141 −0 DOC/PGPKEYS.BUT
  53. +296 −0 DOC/PLINK.BUT
  54. +318 −0 DOC/PSCP.BUT
  55. +593 −0 DOC/PSFTP.BUT
  56. +442 −0 DOC/PUBKEY.BUT
  57. +4 −0 DOC/SITE.BUT
  58. +64 −0 DOC/SSHNAMES.BUT
  59. +389 −0 DOC/UDP.BUT
  60. +949 −0 DOC/USING.BUT
  61. +36 −0 DOC/VIDS.BUT
  62. +28 −0 ICONS/CICON.PL
  63. +270 −0 ICONS/ICON.PL
  64. +92 −0 ICONS/MAKEFILE
  65. +1,093 −0 ICONS/MKICON.PY
  66. +1,715 −0 IMPORT.C
  67. +175 −0 INT64.C
  68. +24 −0 INT64.H
  69. +336 −0 LDISC.C
  70. +22 −0 LDISC.H
  71. +100 −0 LDISCUCS.C
  72. +25 −0 LICENCE
  73. +430 −0 LOGGING.C
  74. +8 −0 MACOSX/INFO.PLI
  75. +795 −0 MACOSX/MAKEFILE
  76. +34 −0 MACOSX/OSX.H
  77. +107 −0 MACOSX/OSXCLASS.H
  78. +1,815 −0 MACOSX/OSXCTRLS.M
  79. +509 −0 MACOSX/OSXDLG.M
  80. +408 −0 MACOSX/OSXMAIN.M
  81. +308 −0 MACOSX/OSXSEL.M
  82. +1,227 −0 MACOSX/OSXWIN.M
  83. BIN MACOSX/PUTTY.ICN
  84. +83 −0 MACOSX/README.OSX
  85. +2,034 −0 MINIBIDI.C
  86. +655 −0 MISC.C
  87. +132 −0 MISC.H
  88. +47 −0 MKAUTO.SH
  89. +1,493 −0 MKFILES.PL
  90. +61 −0 MKUNXARC.SH
  91. +247 −0 NETWORK.H
  92. +36 −0 NOCPROXY.C
  93. +10 −0 NOGSS.C
  94. +38 −0 NOPRINT.C
  95. +21 −0 NOTIMING.C
  96. +105 −0 PGSSAPI.C
  97. +296 −0 PGSSAPI.H
  98. +71 −0 PINGER.C
  99. +556 −0 PORTFWD.C
  100. +17 −0 PPROXY.C
  101. +1,478 −0 PROXY.C
  102. +123 −0 PROXY.H
  103. +2,308 −0 PSCP.C
  104. +2,948 −0 PSFTP.C
  105. +178 −0 PSFTP.H
  106. +1,249 −0 PUTTY.H
  107. +42 −0 PUTTYMEM.H
  108. +22 −0 PUTTYPS.H
  109. +300 −0 RAW.C
  110. +115 −0 README
  111. +347 −0 RECIPE
  112. +15 −0 RESOURCE.H
  113. +373 −0 RLOGIN.C
  114. +199 −0 SERCFG.C
  115. +947 −0 SETTINGS.C
  116. +1,422 −0 SFTP.C
  117. +248 −0 SFTP.H
  118. +29 −0 SIGN.SH
  119. +9,885 −0 SSH.C
  120. +595 −0 SSH.H
  121. +1,234 −0 SSHAES.C
  122. +123 −0 SSHARCF.C
  123. +588 −0 SSHBLOWF.C
  124. +1,092 −0 SSHBN.C
  125. +230 −0 SSHCRC.C
  126. +172 −0 SSHCRCDA.C
  127. +1,031 −0 SSHDES.C
  128. +230 −0 SSHDH.C
  129. +643 −0 SSHDSS.C
  130. +143 −0 SSHDSSG.C
  131. +188 −0 SSHGSS.H
  132. +209 −0 SSHGSSC.C
  133. +23 −0 SSHGSSC.H
  134. +344 −0 SSHMD5.C
  135. +19 −0 SSHNOGSS.C
  136. +1,398 −0 SSHPRIME.C
  137. +1,217 −0 SSHPUBK.C
  138. +251 −0 SSHRAND.C
  139. +1,010 −0 SSHRSA.C
  140. +103 −0 SSHRSAG.C
  141. +269 −0 SSHSH256.C
  142. +358 −0 SSHSH512.C
  143. +411 −0 SSHSHA.C
  144. +1,382 −0 SSHZLIB.C
  145. +115 −0 STORAGE.H
  146. +1,091 −0 TELNET.C
  147. +6,614 −0 TERMINAL.C
  148. +280 −0 TERMINAL.H
  149. +180 −0 TESTBACK.C
  150. +22 −0 TESTDATA/COLOURS.TXT
  151. +6 −0 TESTDATA/LATTRS.TXT
  152. +3 −0 TESTDATA/SCOCOLS.TXT
  153. +23 −0 TESTDATA/UTF8.TXT
  154. +12 −0 TESTDATA/VT100.TXT
  155. +16 −0 TIME.C
  156. +243 −0 TIMING.C
  157. +1,479 −0 TREE234.C
  158. +160 −0 TREE234.H
  159. +107 −0 UNIX/CONFIGUR.AC
  160. +130 −0 UNIX/GTKCFG.C
  161. +752 −0 UNIX/GTKCOLS.C
  162. +62 −0 UNIX/GTKCOLS.H
  163. +3,782 −0 UNIX/GTKDLG.C
  164. +2,575 −0 UNIX/GTKFONT.C
  165. +67 −0 UNIX/GTKFONT.H
  166. +3,626 −0 UNIX/GTKWIN.C
  167. +879 −0 UNIX/MAKEFILE.GTK
  168. +862 −0 UNIX/MAKEFILE.IN
  169. +766 −0 UNIX/MAKEFILE.UX
  170. +186 −0 UNIX/UNIX.H
  171. +162 −0 UNIX/UXAGENTC.C
  172. +80 −0 UNIX/UXCFG.C
  173. +440 −0 UNIX/UXCONS.C
  174. +38 −0 UNIX/UXGEN.C
  175. +168 −0 UNIX/UXGSS.C
  176. +152 −0 UNIX/UXMISC.C
  177. +1,435 −0 UNIX/UXNET.C
  178. +147 −0 UNIX/UXNOISE.C
  179. +1,088 −0 UNIX/UXPLINK.C
  180. +58 −0 UNIX/UXPRINT.C
  181. +311 −0 UNIX/UXPROXY.C
  182. +57 −0 UNIX/UXPTERM.C
  183. +1,096 −0 UNIX/UXPTY.C
  184. +141 −0 UNIX/UXPUTTY.C
  185. +123 −0 UNIX/UXSEL.C
  186. +542 −0 UNIX/UXSER.C
  187. +615 −0 UNIX/UXSFTP.C
  188. +45 −0 UNIX/UXSIGNAL.C
  189. +685 −0 UNIX/UXSTORE.C
  190. +273 −0 UNIX/UXUCS.C
  191. +40 −0 UNIX/UX_X11.C
  192. +1,011 −0 UNIX/XKEYSYM.C
  193. +150 −0 UNIX/XPMPTCFG.C
  194. +143 −0 UNIX/XPMPTERM.C
  195. +150 −0 UNIX/XPMPUCFG.C
  196. +147 −0 UNIX/XPMPUTTY.C
  197. +42 −0 VERSION.C
  198. +303 −0 WCWIDTH.C
  199. +472 −0 WILDCARD.C
  200. +401 −0 WINDOWS/DEVCPP/PAGEANT/PAGEANT.DEV
  201. +801 −0 WINDOWS/DEVCPP/PLINK/PLINK.DEV
  202. +771 −0 WINDOWS/DEVCPP/PSCP/PSCP.DEV
  203. +771 −0 WINDOWS/DEVCPP/PSFTP/PSFTP.DEV
  204. +971 −0 WINDOWS/DEVCPP/PUTTY/PUTTY.DEV
  205. +501 −0 WINDOWS/DEVCPP/PUTTYGEN/PUTTYGEN.DEV
  206. +681 −0 WINDOWS/DEVCPP/PUTTYTEL/PUTTYTEL.DEV
  207. +792 −0 WINDOWS/MAKEFILE.BOR
  208. +993 −0 WINDOWS/MAKEFILE.CYG
  209. +859 −0 WINDOWS/MAKEFILE.LCC
  210. +1,075 −0 WINDOWS/MAKEFILE.VC
  211. +245 −0 WINDOWS/MSVC/PAGEANT/PAGEANT.DSP
  212. +414 −0 WINDOWS/MSVC/PLINK/PLINK.DSP
  213. +402 −0 WINDOWS/MSVC/PSCP/PSCP.DSP
  214. +402 −0 WINDOWS/MSVC/PSFTP/PSFTP.DSP
  215. +35 −0 WINDOWS/MSVC/PUTTY.DSW
  216. +482 −0 WINDOWS/MSVC/PUTTY/PUTTY.DSP
  217. +285 −0 WINDOWS/MSVC/PUTTYGEN/PUTTYGEN.DSP
  218. +357 −0 WINDOWS/MSVC/PUTTYTEL/PUTTYTEL.DSP
  219. BIN WINDOWS/PAGEANT.ICO
  220. +31 −0 WINDOWS/PAGEANT.MFT
  221. +95 −0 WINDOWS/PAGEANT.RC
  222. BIN WINDOWS/PAGEANTS.ICO
  223. +8 −0 WINDOWS/PLINK.RC
  224. BIN WINDOWS/PSCP.ICO
  225. +8 −0 WINDOWS/PSCP.RC
  226. +8 −0 WINDOWS/PSFTP.RC
  227. BIN WINDOWS/PUTTY.ICO
  228. +106 −0 WINDOWS/PUTTY.ISS
  229. +31 −0 WINDOWS/PUTTY.MFT
  230. +10 −0 WINDOWS/PUTTY.RC
  231. BIN WINDOWS/PUTTYCFG.ICO
  232. BIN WINDOWS/PUTTYGEN.ICO
  233. +31 −0 WINDOWS/PUTTYGEN.MFT
  234. +88 −0 WINDOWS/PUTTYGEN.RC
  235. BIN WINDOWS/PUTTYINS.ICO
  236. +11 −0 WINDOWS/PUTTYTEL.RC
  237. +50 −0 WINDOWS/RCSTUFF.H
  238. +40 −0 WINDOWS/README.TXT
  239. +194 −0 WINDOWS/SIZETIP.C
  240. +134 −0 WINDOWS/VERSION.RC2
  241. BIN WINDOWS/WEBSITE.URL
  242. +392 −0 WINDOWS/WINCFG.C
  243. +409 −0 WINDOWS/WINCONS.C
  244. +2,569 −0 WINDOWS/WINCTRLS.C
  245. +43 −0 WINDOWS/WINDEFS.C
  246. +924 −0 WINDOWS/WINDLG.C
  247. +5,430 −0 WINDOWS/WINDOW.C
  248. +478 −0 WINDOWS/WINGSS.C
  249. +596 −0 WINDOWS/WINHANDL.C
  250. +138 −0 WINDOWS/WINHELP.C
  251. +186 −0 WINDOWS/WINHELP.H
  252. +381 −0 WINDOWS/WINMISC.C
  253. +1,706 −0 WINDOWS/WINNET.C
  254. +128 −0 WINDOWS/WINNOISE.C
  255. +1,431 −0 WINDOWS/WINPGEN.C
  256. +2,180 −0 WINDOWS/WINPGNT.C
  257. +138 −0 WINDOWS/WINPGNTC.C
  258. +725 −0 WINDOWS/WINPLINK.C
  259. +185 −0 WINDOWS/WINPRINT.C
  260. +219 −0 WINDOWS/WINPROXY.C
  261. +460 −0 WINDOWS/WINSER.C
  262. +721 −0 WINDOWS/WINSFTP.C
  263. +653 −0 WINDOWS/WINSTORE.C
  264. +503 −0 WINDOWS/WINSTUFF.H
  265. +24 −0 WINDOWS/WINTIME.C
  266. +1,251 −0 WINDOWS/WINUCS.C
  267. +598 −0 WINDOWS/WINUTILS.C
  268. +18 −0 WINDOWS/WINX11.C
  269. +34 −0 WINDOWS/WIN_RES.H
  270. +92 −0 WINDOWS/WIN_RES.RC2
  271. +791 −0 X11FWD.C
@@ -0,0 +1,31 @@
+/*
+ * Linking module for PuTTY proper: list the available backends
+ * including ssh.
+ */
+
+#include <stdio.h>
+#include "putty.h"
+
+/*
+ * This appname is not strictly in the right place, since Plink
+ * also uses this module. However, Plink doesn't currently use any
+ * of the dialog-box sorts of things that make use of appname, so
+ * it shouldn't do any harm here. I'm trying to avoid having to
+ * have tiny little source modules containing nothing but
+ * declarations of appname, for as long as I can...
+ */
+const char *const appname = "PuTTY";
+
+#ifdef TELNET_DEFAULT
+const int be_default_protocol = PROT_TELNET;
+#else
+const int be_default_protocol = PROT_SSH;
+#endif
+
+Backend *backends[] = {
+ &ssh_backend,
+ &telnet_backend,
+ &rlogin_backend,
+ &raw_backend,
+ NULL
+};
@@ -0,0 +1,32 @@
+/*
+ * Linking module for PuTTY proper: list the available backends
+ * including ssh, plus the serial backend.
+ */
+
+#include <stdio.h>
+#include "putty.h"
+
+/*
+ * This appname is not strictly in the right place, since Plink
+ * also uses this module. However, Plink doesn't currently use any
+ * of the dialog-box sorts of things that make use of appname, so
+ * it shouldn't do any harm here. I'm trying to avoid having to
+ * have tiny little source modules containing nothing but
+ * declarations of appname, for as long as I can...
+ */
+const char *const appname = "PuTTY";
+
+#ifdef TELNET_DEFAULT
+const int be_default_protocol = PROT_TELNET;
+#else
+const int be_default_protocol = PROT_SSH;
+#endif
+
+Backend *backends[] = {
+ &ssh_backend,
+ &telnet_backend,
+ &rlogin_backend,
+ &raw_backend,
+ &serial_backend,
+ NULL
+};
@@ -0,0 +1,11 @@
+/*
+ * Linking module for programs that do not support selection of backend
+ * (such as pscp or pterm).
+ */
+
+#include <stdio.h>
+#include "putty.h"
+
+Backend *backends[] = {
+ NULL
+};
@@ -0,0 +1,33 @@
+/*
+ * Linking module for PuTTYtel: list the available backends not
+ * including ssh.
+ */
+
+#include <stdio.h>
+#include "putty.h"
+
+const int be_default_protocol = PROT_TELNET;
+
+const char *const appname = "PuTTYtel";
+
+Backend *backends[] = {
+ &telnet_backend,
+ &rlogin_backend,
+ &raw_backend,
+ NULL
+};
+
+/*
+ * Stub implementations of functions not used in non-ssh versions.
+ */
+void random_save_seed(void)
+{
+}
+
+void random_destroy_seed(void)
+{
+}
+
+void noise_ultralight(unsigned long data)
+{
+}
@@ -0,0 +1,34 @@
+/*
+ * Linking module for PuTTYtel: list the available backends not
+ * including ssh.
+ */
+
+#include <stdio.h>
+#include "putty.h"
+
+const int be_default_protocol = PROT_TELNET;
+
+const char *const appname = "PuTTYtel";
+
+Backend *backends[] = {
+ &telnet_backend,
+ &rlogin_backend,
+ &raw_backend,
+ &serial_backend,
+ NULL
+};
+
+/*
+ * Stub implementations of functions not used in non-ssh versions.
+ */
+void random_save_seed(void)
+{
+}
+
+void random_destroy_seed(void)
+{
+}
+
+void noise_ultralight(unsigned long data)
+{
+}
@@ -0,0 +1,113 @@
+# -*- sh -*-
+# Build script to construct a full distribution directory of PuTTY.
+
+module putty
+
+# Set up the arguments for the main make command.
+set Makever -DSVN_REV=$(revision)
+ifneq "$(!numeric $(revision))" "yes" set Makever $(Makever) -DMODIFIED
+ifneq "$(RELEASE)" "" set Makever $(Makever) -DRELEASE=$(RELEASE)
+ifneq "$(date)" "" set Makever $(Makever) -DSNAPSHOT=$(date)
+set Makeargs VER="$(Makever)"
+ifneq "$(XFLAGS)" "" set Makeargs $(Makeargs) XFLAGS="$(XFLAGS)"
+ifneq "$(MAKEARGS)" "" set Makeargs $(Makeargs) $(MAKEARGS)
+
+# Set up the version string for the docs build.
+set Docmakeargs VERSION="PuTTY revision $(revision)"
+ifneq "$(RELEASE)" "" set Docmakeargs VERSION="PuTTY release $(RELEASE)"
+ifneq "$(date)" "" set Docmakeargs VERSION="PuTTY development snapshot $(date)"
+
+# Set up the version string for the Unix source archive.
+set Unxver r$(revision)
+ifneq "$(RELEASE)" "" set Unxver $(RELEASE)
+ifneq "$(date)" "" set Unxver $(date)
+
+# Set up the various version strings for the installer.
+set Iversion r$(revision)
+set Iname PuTTY revision $(revision)
+set Ivertext Revision $(revision)
+set Irev $(revision)
+set Ifilename putty-$(Iversion)-installer.exe
+ifneq "$(RELEASE)" "" set Iversion $(RELEASE)
+ifneq "$(RELEASE)" "" set Iname PuTTY version $(RELEASE)
+ifneq "$(RELEASE)" "" set Ivertext Release $(RELEASE)
+ifneq "$(RELEASE)" "" set Irev 0
+ifneq "$(RELEASE)" "" set Ifilename putty-$(RELEASE)-installer.exe
+ifneq "$(date)" "" set Iversion $(date):r$(revision)
+ifneq "$(date)" "" set Iname PuTTY development snapshot $(date):r$(revision)
+ifneq "$(date)" "" set Ivertext Development snapshot $(date):r$(revision)
+ifneq "$(date)" "" set Ifilename putty-$(date)-installer.exe
+
+# Set up the version string for the installer.
+set Iversion r$(revision)
+ifneq "$(RELEASE)" "" set Iversion $(RELEASE)
+ifneq "$(date)" "" set Iversion $(date):r$(revision)
+
+in putty do ./mksrcarc.sh
+in putty do ./mkunxarc.sh $(Unxver)
+in putty do perl mkfiles.pl
+in putty/doc do make $(Docmakeargs) putty.hlp
+in putty/doc do make $(Docmakeargs) chm
+
+# Munge the installer script locally so that it reports the version
+# we're really building.
+in putty/windows do perl -i~ -pe 'BEGIN{$$a=shift@ARGV;}s/^(AppVerName=).*$$/$$1$$a/' '$(Iname)' putty.iss
+in putty/windows do perl -i~ -pe 'BEGIN{$$a=shift@ARGV;}s/^(VersionInfoTextVersion=).*$$/$$1$$a/' '$(Ivertext)' putty.iss
+in putty/windows do perl -i~ -pe 'BEGIN{$$a=shift@ARGV;}s/^(AppVersion=).*$$/$$1$$a/' '$(Iversion)' putty.iss
+in putty/windows do perl -i~ -pe 'BEGIN{$$a=shift@ARGV;$$a=~s/M//;}s/^(VersionInfoVersion=\d+\.\d+\.)\d+(\.\d+)\r?$$/$$1$$a$$2/' '$(Irev)' putty.iss
+
+# Windowsify LICENCE, since it's going in the Windows installer.
+in putty do perl -i~ -pe 'y/\015//d;s/$$/\015/' LICENCE
+
+delegate windows
+ # FIXME: Cygwin alternative?
+ in putty/windows do cmd /c vcvars32 \& nmake -f Makefile.vc $(Makeargs)
+ # Ignore exit code from hhc, in favour of seeing whether the .chm
+ # file was created. (Yuck; but hhc appears to return non-zero
+ # exit codes on whim.)
+ in putty/doc do hhc putty.hhp; test -f putty.chm
+ in putty/windows do iscc putty.iss
+ return putty/windows/*.exe
+ return putty/windows/*.map
+ return putty/doc/putty.chm
+ return putty/windows/Output/setup.exe
+enddelegate
+in putty/doc do make mostlyclean
+in putty/doc do make $(Docmakeargs)
+in putty/windows do zip -k -j putty.zip `ls *.exe | grep -v puttytel` ../doc/putty.chm ../doc/putty.hlp ../doc/putty.cnt
+in putty/doc do zip puttydoc.zip *.html
+
+# Deliver the actual PuTTY release directory into a subdir `putty'.
+deliver putty/windows/*.exe putty/x86/$@
+deliver putty/windows/putty.zip putty/x86/$@
+deliver putty/windows/Output/setup.exe putty/x86/$(Ifilename)
+deliver putty/doc/puttydoc.zip putty/$@
+deliver putty/doc/putty.chm putty/$@
+deliver putty/doc/putty.hlp putty/$@
+deliver putty/doc/putty.cnt putty/$@
+deliver putty/doc/puttydoc.txt putty/$@
+deliver putty/doc/*.html putty/htmldoc/$@
+deliver putty/putty-src.zip putty/$@
+deliver putty/*.tar.gz putty/$@
+
+# Deliver the map files alongside the `proper' release deliverables.
+deliver putty/windows/*.map maps-x86/$@
+
+# Deliver sign.sh, so that whoever has just built PuTTY (the
+# snapshot scripts or me, depending) can conveniently sign it with
+# whatever key they want.
+deliver putty/sign.sh $@
+
+# Building the md5sums file is most easily done in the destination
+# directory.
+in-dest putty do md5sum `\find * -type f -print` > md5sums
+
+# And construct .htaccess files. One in the top-level directory,
+# setting the MIME types for Windows help files and providing an
+# appropriate link to the source archive:
+in-dest putty do echo "AddType application/octet-stream .chm" >> .htaccess
+in-dest putty do echo "AddType application/octet-stream .hlp" >> .htaccess
+in-dest putty do echo "AddType application/octet-stream .cnt" >> .htaccess
+in-dest putty do set -- putty*.tar.gz; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty.tar.gz$$k\$$ '$$1'"$$1$$k" >> .htaccess; done
+# And one in the x86 directory, providing a link for the installer.
+in-dest putty/x86 do set -- putty*installer.exe; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty-installer.exe$$k\$$ '$$1'"$$1$$k" >> .htaccess; done
Oops, something went wrong. Retry.

0 comments on commit fcd53e1

Please sign in to comment.